Searched refs:window (Results 201 - 225 of 2386) sorted by relevance

1234567891011>>

/external/chromium_org/ui/wm/public/
H A Dactivation_delegate.h19 // to a window's activation state.
22 // Returns true if the window should be activated.
30 AURA_EXPORT void SetActivationDelegate(Window* window,
32 AURA_EXPORT ActivationDelegate* GetActivationDelegate(Window* window);
H A Dscoped_tooltip_disabler.h16 // Disables tooltips on |window| (does nothing if |window| is NULL). Tooltips
18 // ScopedTooltipDisablers for |window|.
19 explicit ScopedTooltipDisabler(aura::Window* window);
27 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
H A Dtooltip_client.cc7 #include "ui/aura/window.h"
34 void SetTooltipText(Window* window, base::string16* tooltip_text) { argument
35 window->SetProperty(kTooltipTextKey, tooltip_text);
38 void SetTooltipId(Window* window, void* id) { argument
39 window->SetProperty(kTooltipIdKey, id);
42 const base::string16 GetTooltipText(Window* window) { argument
43 base::string16* string_ptr = window->GetProperty(kTooltipTextKey);
47 const void* GetTooltipId(Window* window) { argument
48 return window->GetProperty(kTooltipIdKey);
/external/chromium_org/ui/wm/test/
H A Dwm_test_helper.cc10 #include "ui/aura/window.h"
25 aura::client::SetWindowTreeClient(host_->window(), this);
28 aura::client::SetFocusClient(host_->window(), focus_client_.get());
31 host_->window()->AddPreTargetHandler(root_window_event_filter_.get());
35 input_method_filter_->SetInputMethodPropertyInRootWindow(host_->window());
38 new wm::DefaultActivationClient(host_->window());
41 new aura::client::DefaultCaptureClient(host_->window()));
50 aura::Window* window,
52 return host_->window();
49 GetDefaultParent(aura::Window* context, aura::Window* window, const gfx::Rect& bounds) argument
/external/skia/experimental/iOSSampleApp/iPad/
H A DAppDelegate_iPad.h13 UIWindow* window; variable
16 @property (nonatomic, retain) IBOutlet UIWindow* window; variable
/external/skia/experimental/iOSSampleApp/iPhone/
H A DAppDelegate_iPhone.h13 UIWindow *window; variable
16 @property (nonatomic, retain) IBOutlet UIWindow *window; variable
/external/chromium_org/chrome/test/base/
H A Dinteractive_test_utils.cc15 BrowserWindow* window = browser->window(); local
16 if (!window)
19 *native_window = window->GetNativeWindow();
26 gfx::NativeWindow window = NULL; local
27 if (!GetNativeWindow(browser, &window))
30 return ui_test_utils::ShowAndFocusNativeWindow(window);
39 gfx::NativeWindow window = NULL; local
40 if (!GetNativeWindow(browser, &window))
42 return SendKeyPressToWindowSync(window, ke
45 SendKeyPressToWindowSync(const gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command) argument
[all...]
/external/deqp/framework/platform/ios/
H A DtcuIOSAppDelegate.m30 @synthesize window = _window;
37 // Construct window.
38 self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
39 if (!self.window)
45 self.window.backgroundColor = [UIColor whiteColor];
50 [self.window setRootViewController:self.viewController];
52 [self.window makeKeyAndVisible];
53 [self.window layoutSubviews];
/external/chromium_org/ash/
H A Dscreen_util.h32 static gfx::Rect GetMaximizedWindowBoundsInParent(aura::Window* window);
35 static gfx::Rect GetDisplayBoundsInParent(aura::Window* window);
38 static gfx::Rect GetDisplayWorkAreaBoundsInParent(aura::Window* window);
41 // Converts |rect| from |window|'s coordinates to the virtual screen
43 static gfx::Rect ConvertRectToScreen(aura::Window* window,
46 // Converts |rect| from virtual screen coordinates to the |window|'s
48 static gfx::Rect ConvertRectFromScreen(aura::Window* window,
/external/chromium_org/ash/shell/
H A Dwindow_watcher_shelf_item_delegate.cc9 #include "ui/aura/window.h"
26 aura::Window* window = watcher_->GetWindowByID(id_); local
27 if (window->type() == ui::wm::WINDOW_TYPE_PANEL)
28 wm::MoveWindowToEventRoot(window, event);
29 window->Show();
30 wm::ActivateWindow(window);
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
H A Dconsole_tts.js6 * @fileoverview A TTS engine that writes to window.console.
31 if (this.enabled_ && window['console']) {
39 window['console']['log'](logStr);
42 window.console.log(' using startCallback');
46 window.console.log(' using endCallback');
58 window['console']['log']('Stop');
/external/chromium_org/chrome/browser/resources/hotword_helper/
H A Doptin_client.js55 * Handles the messages posted to the window, mainly listening for
58 * @param {!MessageEvent} messageEvent Message event from the window.
62 if (messageEvent.source === window && messageEvent.data.type) {
76 window.postMessage(
86 if (OptInClient.EXISTS_ in window)
88 window[OptInClient.EXISTS_] = true;
89 window.addEventListener(
/external/chromium_org/chrome/browser/ui/ash/multi_user/
H A Dmulti_user_window_manager_stub.cc12 void MultiUserWindowManagerStub::SetWindowOwner(aura::Window* window, argument
18 aura::Window* window) const {
22 void MultiUserWindowManagerStub::ShowWindowForUser(aura::Window* window, argument
36 aura::Window* window,
42 aura::Window* window) const {
35 IsWindowOnDesktopOfUser( aura::Window* window, const std::string& user_id) const argument
H A Dmulti_user_context_menu_chromeos_unittest.cc34 aura::Window* window() { return window_; } function in class:ash::test::MultiUserContextMenuChromeOSTest
47 // A window which can be used for testing.
75 // Check that an unowned window will never create a menu.
77 EXPECT_EQ(NULL, CreateMultiUserContextMenu(window()).get());
81 EXPECT_EQ(NULL, CreateMultiUserContextMenu(window()).get());
84 // Check that an owned window will never create a menu.
86 // Make the window owned and check that there is no menu (since only a single
88 multi_user_window_manager()->SetWindowOwner(window(), "A");
89 EXPECT_EQ(NULL, CreateMultiUserContextMenu(window()).get());
94 scoped_ptr<ui::MenuModel> menu = CreateMultiUserContextMenu(window());
[all...]
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_focus_rules.h19 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;
25 aura::Window* window) const OVERRIDE;
27 // The content window. This is an activatable window even though it is a
H A Dx11_desktop_handler.cc71 void X11DesktopHandler::ActivateWindow(::Window window) { argument
78 xclient.xclient.window = window;
91 XRaiseWindow(xdisplay_, window);
93 // XRaiseWindow will not give input focus to the window. We now need to ask
95 // window is not mapped.
96 XSetInputFocus(xdisplay_, window, RevertToParent, CurrentTime);
98 OnActiveWindowChanged(window);
102 bool X11DesktopHandler::IsActiveWindow(::Window window) const {
103 return window
134 ::Window window; local
170 OnWindowInitialized(aura::Window* window) argument
[all...]
/external/chromium_org/ui/wm/core/
H A Dwindow_modality_controller.cc12 #include "ui/aura/window.h"
30 bool HasAncestor(aura::Window* window, aura::Window* ancestor) { argument
31 if (!window)
33 if (window == ancestor)
35 return HasAncestor(window->parent(), ancestor);
38 bool TransientChildIsWindowModal(aura::Window* window) { argument
39 return window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_WINDOW;
42 bool TransientChildIsSystemModal(aura::Window* window) { argument
43 return window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_SYSTEM;
46 bool TransientChildIsChildModal(aura::Window* window) { argument
50 GetModalParent(aura::Window* window) argument
84 GetModalTransient(aura::Window* window) argument
138 OnWindowInitialized(aura::Window* window) argument
146 OnWindowPropertyChanged(aura::Window* window, const void* key, intptr_t old) argument
160 OnWindowVisibilityChanged( aura::Window* window, bool visible) argument
175 OnWindowDestroyed(aura::Window* window) argument
[all...]
H A Dshadow_controller_unittest.cc13 #include "ui/aura/window.h"
47 void ActivateWindow(aura::Window* window) { argument
48 DCHECK(window);
49 DCHECK(window->GetRootWindow());
50 aura::client::GetActivationClient(window->GetRootWindow())->ActivateWindow(
51 window);
63 scoped_ptr<aura::Window> window(new aura::Window(NULL));
64 window->SetType(ui::wm::WINDOW_TYPE_NORMAL);
65 window->Init(aura::WINDOW_LAYER_TEXTURED);
66 ParentWindow(window
[all...]
/external/chromium_org/ash/wm/
H A Dwindow_util.h26 // We force at least this many DIPs for any window on the screen.
31 // Utility functions for window activation.
32 ASH_EXPORT void ActivateWindow(aura::Window* window);
33 ASH_EXPORT void DeactivateWindow(aura::Window* window);
34 ASH_EXPORT bool IsActiveWindow(aura::Window* window);
36 ASH_EXPORT bool CanActivateWindow(aura::Window* window);
38 // Retrieves the activatable window for |window|. If |window| is activatable,
40 // chain looking for a window tha
[all...]
H A Ddrag_details.cc8 #include "ui/aura/window.h"
44 DragDetails::DragDetails(aura::Window* window, argument
48 : initial_state_type(wm::GetWindowState(window)->GetStateType()),
49 initial_bounds_in_parent(window->bounds()),
51 initial_opacity(window->layer()->opacity()),
62 should_attach_to_shelf(window->type() == ui::wm::WINDOW_TYPE_PANEL &&
63 wm::GetWindowState(window)->panel_attached()) {
64 wm::WindowState* window_state = wm::GetWindowState(window);
H A Dwindow_util.cc16 #include "ui/aura/window.h"
33 // Returns the default width of a snapped window.
34 int GetDefaultSnappedWindowWidth(aura::Window* window) { argument
38 ScreenUtil::GetDisplayWorkAreaBoundsInParent(window).width();
39 int min_width = window->delegate() ?
40 window->delegate()->GetMinimumSize().width() : 0;
49 void ActivateWindow(aura::Window* window) { argument
50 ::wm::ActivateWindow(window);
53 void DeactivateWindow(aura::Window* window) { argument
54 ::wm::DeactivateWindow(window);
57 IsActiveWindow(aura::Window* window) argument
66 GetActivatableWindow(aura::Window* window) argument
70 CanActivateWindow(aura::Window* window) argument
74 IsWindowMinimized(aura::Window* window) argument
78 CenterWindow(aura::Window* window) argument
83 GetDefaultLeftSnappedWindowBoundsInParent(aura::Window* window) argument
92 GetDefaultRightSnappedWindowBoundsInParent(aura::Window* window) argument
136 MoveWindowToEventRoot(aura::Window* window, const ui::Event& event) argument
[all...]
/external/chromium_org/ash/wm/dock/
H A Ddocked_window_resizer_unittest.cc76 aura::Window* window = CreateTestWindowInShellWithDelegateAndType( local
84 shelf_delegate->AddShelfItem(window);
86 Shell::GetContainer(window->GetRootWindow(),
90 return window;
94 aura::Window* window = new aura::Window(&delegate_); local
95 window->SetProperty(aura::client::kModalKey, ui::MODAL_TYPE_SYSTEM);
96 window->SetType(ui::wm::WINDOW_TYPE_NORMAL);
97 window->Init(aura::WINDOW_LAYER_TEXTURED);
98 window->Show();
101 ParentWindowInPrimaryRootWindow(window);
115 CreateSomeWindowResizer( aura::Window* window, const gfx::Point& point_in_parent, int window_component) argument
126 DragStart(aura::Window* window) argument
130 DragStartAtOffsetFromWindowOrigin(aura::Window* window, int dx, int dy) argument
140 ResizeStartAtOffsetFromWindowOrigin(aura::Window* window, int dx, int dy, int window_component) argument
176 DragRelativeToEdge(DockedEdge edge, aura::Window* window, int dx) argument
188 DragToVerticalPositionAndToEdge(DockedEdge edge, aura::Window* window, int y) argument
194 DragToVerticalPositionRelativeToEdge(DockedEdge edge, aura::Window* window, int dx, int y) argument
207 DragVerticallyAndRelativeToEdge(DockedEdge edge, aura::Window* window, int dx, int dy, int grab_x, int grab_y) argument
[all...]
/external/chromium_org/ash/shelf/
H A Dshelf_window_watcher.h50 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
67 virtual void OnWindowParentChanged(aura::Window* window,
69 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
77 // Creates a ShelfItem for |window| that has ShelfItemDetails.
78 void AddShelfItem(aura::Window* window);
80 // Removes a ShelfItem for |window|.
81 void RemoveShelfItem(aura::Window* window);
89 // Updates the status of ShelfItem for |window|.
90 void UpdateShelfItemStatus(aura::Window* window, bool is_active);
92 // Returns the index of ShelfItem associated with |window|
[all...]
/external/chromium_org/mojo/services/view_manager/
H A Droot_view_manager.cc18 #include "ui/aura/window.h"
44 virtual void FocusWindow(aura::Window* window) OVERRIDE {
45 if (window && !window->CanFocus())
50 focused_window_ = window;
62 virtual void ResetFocusWithinActiveWindow(aura::Window* window) OVERRIDE {
63 if (!window->Contains(focused_window_))
64 FocusWindow(window); variable
71 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE {
72 DCHECK_EQ(window, focused_window
84 WindowTreeClientImpl(aura::Window* window) argument
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dwindow_controller_list.cc30 void WindowControllerList::AddExtensionWindow(WindowController* window) { argument
31 windows_.push_back(window);
33 OnWindowControllerAdded(window));
36 void WindowControllerList::RemoveExtensionWindow(WindowController* window) { argument
38 windows_.begin(), windows_.end(), window);
42 OnWindowControllerRemoved(window));
76 // Returns either the focused window (if any), or the last window in the list.
81 if (result->window()->IsActive())
82 break; // use focused window
[all...]

Completed in 568 milliseconds

1234567891011>>