/external/chromium_org/ash/ |
switchable_windows.cc | 8 #include "ui/aura/window.h" 19 bool IsSwitchableContainer(const aura::Window* window) { 20 if (!window) 23 if (window->id() == kSwitchableWindowContainerIds[i])
|
/external/chromium_org/chrome/browser/ui/views/apps/ |
shaped_app_window_targeter.cc | 11 aura::Window* window, 13 : wm::MaskedWindowTargeter(window), app_window_(app_window) {} 18 bool ShapedAppWindowTargeter::GetHitTestMask(aura::Window* window,
|
/external/chromium_org/chrome/browser/ui/views/ |
auto_keep_alive.cc | 9 #include "ui/aura/window.h" 12 AutoKeepAlive::AutoKeepAlive(gfx::NativeWindow window) 16 // count. If there is a |window|, use its root window's kDesktopRootWindow 18 if (window) { 19 gfx::NativeWindow native_window = window->GetRootWindow();
|
/external/chromium_org/chrome/installer/setup/eula/ |
oem.js | 2 var inner_frame = window.dialogArguments; 10 window.returnValue = 6; 12 window.returnValue = 1; 14 window.close(); 25 window.onresize = resize; 26 window.onload = resize
|
/external/chromium_org/content/common/ |
webplugin_geometry.cc | 10 : window(gfx::kNullPluginWindow), 19 return window == rhs.window &&
|
/external/chromium_org/content/test/plugin/ |
plugin_javascript_open_popup.h | 14 // instantiated in a popup window. The plugin instance needs to 15 // have a valid parent window. 22 virtual NPError SetWindow(NPWindow* window) OVERRIDE; 29 // popup window. It verifies that the plugin instance has a valid parent. 35 virtual NPError SetWindow(NPWindow* window) OVERRIDE; 38 // Do a platform-specific validation of the passed-in |window|. 39 // E.g. on Windows, verifies window->window is a reasonable HWND. 41 bool CheckWindow(NPWindow* window);
|
/external/chromium_org/ui/aura/client/ |
visibility_client.h | 11 class Window; 15 // layers as Window visibility changes. 18 // Called when |window|'s visibility is changing to |visible|. The implementor 21 virtual void UpdateLayerVisibility(Window* window, bool visible) = 0; 27 // Sets the VisibilityClient on the Window. 28 AURA_EXPORT void SetVisibilityClient(Window* window, VisibilityClient* client); 30 // Gets the VisibilityClient for the window. This will crawl up |window|' [all...] |
/external/chromium_org/ui/wm/core/ |
window_animations.cc | 19 #include "ui/aura/window.h" 53 // 2) Detaches the window's layers for hiding animation and deletes 55 // ensure that the animation continues in the event of the window being 57 // window gets restacked below other windows when focus or activation 62 explicit HidingWindowAnimationObserverBase(aura::Window* window) 63 : window_(window) { 72 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { 73 DCHECK_EQ(window, window_) [all...] |
shadow_controller.cc | 15 #include "ui/aura/window.h" 29 ShadowType GetShadowTypeFromWindow(aura::Window* window) { 30 switch (window->type()) { 42 bool ShouldUseSmallShadowForWindow(aura::Window* window) { 43 switch (window->type()) { 53 bool IsShadowAlwaysActive(aura::Window* window) { 54 return GetShadowType(window) == SHADOW_TYPE_RECTANGULAR_ALWAYS_ACTIVE [all...] |
focus_controller.cc | 22 // When a modal window is activated, we bring its entire transient parent chain 25 void StackTransientParentsBelowModalWindow(aura::Window* window) { 26 if (window->GetProperty(aura::client::kModalKey) != ui::MODAL_TYPE_WINDOW) 29 aura::Window* transient_parent = wm::GetTransientParent(window); 67 void FocusController::ActivateWindow(aura::Window* window) { 68 FocusWindow(window); 71 void FocusController::DeactivateWindow(aura::Window* window) [all...] |
easy_resize_window_targeter.cc | 7 #include "ui/aura/window.h" 15 aura::Window* container, 29 aura::Window* window = static_cast<aura::Window*>(target); local 30 if (ShouldUseExtendedBounds(window)) { 31 // Note that |event|'s location is in |window|'s parent's coordinate system, 32 // so convert it to |window|'s coordinate system first. 34 if (window->parent()) 35 aura::Window::ConvertPointToTarget(window->parent(), window, &point) [all...] |
window_animations.h | 14 class Window; 30 // A variety of canned animations for window transitions. 33 // decide based on window 35 WINDOW_VISIBILITY_ANIMATION_TYPE_DROP, // Window shrinks in. 38 WINDOW_VISIBILITY_ANIMATION_TYPE_ROTATE, // Window rotates in. 47 WINDOW_ANIMATION_TYPE_BOUNCE = 0, // Window scales up and down. 50 // Type of visibility change transition that a window should animate. 61 WM_EXPORT void SetWindowVisibilityAnimationType(aura::Window* window, int type); 62 WM_EXPORT int GetWindowVisibilityAnimationType(aura::Window* window) [all...] |
/external/chromium_org/ash/wm/ |
stacking_controller.cc | 15 #include "ui/aura/window.h" 23 // Find a root window that matches the |bounds|. If the virtual screen 24 // coordinates is enabled and the bounds is specified, the root window 25 // that matches the window's bound will be used. Otherwise, it'll 26 // return the active root window. 27 aura::Window* FindContainerRoot(const gfx::Rect& bounds) { 33 aura::Window* GetContainerById(aura::Window* root, int id) { 37 bool IsSystemModal(aura::Window* window) { [all...] |
ash_focus_rules.cc | 10 #include "ui/aura/window.h" 36 bool BelongsToContainerWithEqualOrGreaterId(const aura::Window* window, 38 for (; window; window = window->parent()) { 39 if (window->id() >= container_id) 59 bool AshFocusRules::SupportsChildActivation(aura::Window* window) const { 60 if (window->id() == kShellWindowId_DefaultContainer 123 aura::Window* window = NULL; local 139 aura::Window* window = NULL; local [all...] |
event_client_impl.cc | 10 #include "ui/aura/window.h" 22 const aura::Window* window) const { 23 const aura::Window* root_window = window ? window->GetRootWindow() : NULL; 29 const aura::Window* lock_screen_containers = Shell::GetContainer( 32 const aura::Window* lock_background_containers = Shell::GetContainer( 35 const aura::Window* lock_screen_related_containers = Shell::GetContainer( 38 bool can_process_events = (window->Contains(lock_screen_containers) & [all...] |
resize_shadow_controller.h | 17 class Window; 30 // Shows the appropriate shadow for a given |window| and |hit_test| location. 31 void ShowShadow(aura::Window* window, int hit_test); 33 // Hides the shadow for a |window|, if it has one. 34 void HideShadow(aura::Window* window); 36 ResizeShadow* GetShadowForWindowForTest(aura::Window* window); 40 aura::Window* window [all...] |
/external/chromium_org/ui/views/widget/desktop_aura/ |
desktop_screen_position_client.cc | 17 gfx::Point GetOrigin(const aura::Window* root_window) { 19 aura::Window* window = const_cast<aura::Window*>(root_window); local 20 float scale = gfx::Screen::GetScreenFor(window)-> 21 GetDisplayNearestWindow(window).device_scale_factor(); 25 // Returns true if bounds passed to window are treated as though they are in 27 bool PositionWindowInScreenCoordinates(aura::Window* window) { 28 if (window->type() == ui::wm::WINDOW_TYPE_POPUP [all...] |
desktop_focus_rules.h | 14 explicit DesktopFocusRules(aura::Window* content_window); 19 virtual bool CanActivateWindow(aura::Window* window) const OVERRIDE; 20 virtual bool SupportsChildActivation(aura::Window* window) const OVERRIDE; 22 aura::Window* window) const OVERRIDE; 23 virtual aura::Window* GetToplevelWindow(aura::Window* window) const OVERRIDE [all...] |
/external/chromium_org/athena/wm/ |
title_drag_controller.cc | 8 #include "ui/aura/window.h" 19 // The minimum amount to drag to confirm a window switch at the end of the 22 // The minimum velocity to confirm a window switch for a fling (only applicable 31 TitleDragController::TitleDragController(aura::Window* container, 45 void TitleDragController::EndTransition(aura::Window* window, bool complete) { 46 ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); 52 window, 55 transform.Translate(0, complete ? window->bounds().height() : 0); 56 window->SetTransform(transform) 102 aura::Window* window = static_cast<aura::Window*>(gesture->target()); local [all...] |
window_list_provider_impl.cc | 10 #include "ui/aura/window.h" 14 WindowListProviderImpl::WindowListProviderImpl(aura::Window* container) 20 std::bind2nd(std::mem_fun(&aura::Window::AddObserver), 25 // Remove all remaining window observers. 26 for (aura::Window::Windows::const_iterator iter = window_list_.begin(); 37 const aura::Window::Windows& container_children = container_->children(); 38 for (aura::Window::Windows::const_iterator iter = container_children.begin(); 55 const aura::Window::Windows& WindowListProviderImpl::GetWindowList() const { 59 bool WindowListProviderImpl::IsWindowInList(aura::Window* window) const [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_fullscreen_apitest.cc | 24 browser()->window()->EnterFullscreen( 26 bool is_fullscreen = browser()->window()->IsFullscreen(); 28 ASSERT_EQ(is_fullscreen, browser()->window()->IsFullscreen()); 34 browser()->window()->EnterFullscreen( 37 ASSERT_FALSE(browser()->window()->IsFullscreen());
|
/external/chromium_org/chrome/browser/ui/ash/multi_user/ |
multi_user_window_manager_chromeos.cc | 37 #include "ui/aura/window.h" 48 // The animation time in milliseconds for a single window which is fading 56 // The animation time in ms for a window which get teleported to another screen. 81 // TODO(skuhne): "Open link in new window" will come here after the menu got 87 // anymore) and the root window should therefore still have the event which 90 aura::Window::Windows root_window_list = ash::Shell::GetAllRootWindows(); 91 for (aura::Window::Windows::iterator it = root_window_list.begin(); 100 // Records the type of window which was transferred to another desktop. 101 void RecordUMAForTransferredWindowType(aura::Window* window) { 198 aura::Window* window = app_window->GetNativeWindow(); variable 199 DCHECK(window); variable 241 WindowToEntryMap::iterator window = window_to_entry_.begin(); local [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
window_finder_ash.cc | 9 #include "ui/aura/window.h" 14 aura::Window* GetLocalProcessWindowAtPointImpl( 17 aura::Window* window) { 18 if (ignore.find(window) != ignore.end()) 21 if (!window->IsVisible()) 24 if (window->id() == ash::kShellWindowId_PhantomWindow || 25 window->id() == ash::kShellWindowId_OverlayContainer || 26 window->id() == ash::kShellWindowId_MouseCursorContainer) 29 if (window->layer()->type() == ui::LAYER_TEXTURED [all...] |
/external/chromium_org/chrome/browser/devtools/ |
devtools_window_testing.cc | 25 DevToolsWindowTesting::DevToolsWindowTesting(DevToolsWindow* window) 26 : devtools_window_(window) { 27 DCHECK(window); 28 window->close_callback_ = 29 base::Bind(&DevToolsWindowTesting::WindowClosed, window); 46 DevToolsWindowTesting* DevToolsWindowTesting::Get(DevToolsWindow* window) { 47 DevToolsWindowTesting* testing = DevToolsWindowTesting::Find(window); 49 testing = new DevToolsWindowTesting(window); 54 DevToolsWindowTesting* DevToolsWindowTesting::Find(DevToolsWindow* window) { 61 if ((*it)->devtools_window_ == window) 109 DevToolsWindow* window = DevToolsWindow::ToggleDevToolsWindow( local 126 DevToolsWindow* window = DevToolsWindow::OpenDevToolsWindowForWorker( local [all...] |
devtools_window_testing.h | 33 // Closes the window like it was user-initiated. 34 static void CloseDevToolsWindow(DevToolsWindow* window); 35 // Blocks until window is closed. 36 static void CloseDevToolsWindowSync(DevToolsWindow* window); 38 static DevToolsWindowTesting* Get(DevToolsWindow* window); 49 explicit DevToolsWindowTesting(DevToolsWindow* window); 50 static void WaitForDevToolsWindowLoad(DevToolsWindow* window); 51 static void WindowClosed(DevToolsWindow* window); 52 static DevToolsWindowTesting* Find(DevToolsWindow* window);
|