Home
last modified time | relevance | path

Searched refs:GetRootWindow (Results 1 – 25 of 190) sorted by relevance

12345678

/external/chromium_org/ui/views/corewm/
Dwindow_util.cc45 DCHECK(window->GetRootWindow()); in ActivateWindow()
46 aura::client::GetActivationClient(window->GetRootWindow())->ActivateWindow( in ActivateWindow()
52 DCHECK(window->GetRootWindow()); in DeactivateWindow()
53 aura::client::GetActivationClient(window->GetRootWindow())->DeactivateWindow( in DeactivateWindow()
59 if (!window->GetRootWindow()) in IsActiveWindow()
62 aura::client::GetActivationClient(window->GetRootWindow()); in IsActiveWindow()
68 if (!window->GetRootWindow()) in CanActivateWindow()
71 aura::client::GetActivationClient(window->GetRootWindow()); in CanActivateWindow()
77 aura::client::GetActivationClient(window->GetRootWindow()); in GetActivatableWindow()
83 aura::client::GetActivationClient(window->GetRootWindow()); in GetToplevelWindow()
Dtooltip_controller_unittest.cc64 widget->GetNativeWindow()->GetRootWindow())); in GetController()
90 generator_.reset(new aura::test::EventGenerator(GetRootWindow())); in SetUp()
110 aura::Window* GetRootWindow() { in GetRootWindow() function in views::corewm::test::TooltipControllerTest
111 return GetWindow()->GetRootWindow(); in GetRootWindow()
142 EXPECT_EQ(GetWindow(), GetRootWindow()->GetEventHandlerForPoint( in TEST_F()
168 aura::Window* root_window = GetRootWindow(); in TEST_F()
262 GetRootWindow()->GetEventHandlerForPoint( in TEST_F()
310 EXPECT_EQ(window, GetRootWindow()->GetEventHandlerForPoint( in TEST_F()
394 aura::client::SetScreenPositionClient(GetRootWindow(), in SetUp()
408 aura::client::SetScreenPositionClient(GetRootWindow(), NULL); in TearDown()
[all …]
Dcapture_controller.cc35 DCHECK(!new_capture_window || new_capture_window->GetRootWindow()); in SetCapture()
36 DCHECK(!capture_window_ || capture_window_->GetRootWindow()); in SetCapture()
40 old_capture_window->GetRootWindow() : NULL; in SetCapture()
65 capture_window_ ? capture_window_->GetRootWindow() : NULL; in SetCapture()
/external/chromium_org/ash/
Dextended_desktop_unittest.cc187 EXPECT_EQ(root_windows[0], widget_on_1st->GetNativeView()->GetRootWindow()); in TEST_F()
188 EXPECT_EQ(root_windows[1], widget_on_2nd->GetNativeView()->GetRootWindow()); in TEST_F()
220 EXPECT_EQ(root_windows[0], widget_on_1st->GetNativeView()->GetRootWindow()); in TEST_F()
230 EXPECT_EQ(root_windows[1], modal_widget->GetNativeView()->GetRootWindow()); in TEST_F()
298 EXPECT_EQ(root_windows[0], d1_w1->GetNativeView()->GetRootWindow()); in TEST_F()
300 EXPECT_EQ(root_windows[1], d2_w1->GetNativeView()->GetRootWindow()); in TEST_F()
314 EXPECT_EQ(root_windows[0], d1_w2->GetNativeView()->GetRootWindow()); in TEST_F()
316 EXPECT_EQ(root_windows[1], d2_w2->GetNativeView()->GetRootWindow()); in TEST_F()
420 aura::client::GetCaptureWindow(r2_w1->GetRootWindow())); in TEST_F()
439 aura::client::GetCaptureWindow(r2_w1->GetRootWindow())); in TEST_F()
[all …]
Droot_window_controller_unittest.cc141 EXPECT_EQ(root_windows[1], normal->GetNativeView()->GetRootWindow()); in TEST_F()
148 EXPECT_EQ(root_windows[1], maximized->GetNativeView()->GetRootWindow()); in TEST_F()
155 EXPECT_EQ(root_windows[1], minimized->GetNativeView()->GetRootWindow()); in TEST_F()
161 EXPECT_EQ(root_windows[1], fullscreen->GetNativeView()->GetRootWindow()); in TEST_F()
175 unparented_control->GetNativeView()->GetRootWindow()); in TEST_F()
181 EXPECT_EQ(root_windows[1], panel->GetRootWindow()); in TEST_F()
199 EXPECT_EQ(root_windows[0], normal->GetNativeView()->GetRootWindow()); in TEST_F()
210 EXPECT_EQ(root_windows[0], maximized->GetNativeView()->GetRootWindow()); in TEST_F()
219 EXPECT_EQ(root_windows[0], maximized->GetNativeView()->GetRootWindow()); in TEST_F()
225 EXPECT_EQ(root_windows[0], minimized->GetNativeView()->GetRootWindow()); in TEST_F()
[all …]
/external/chromium_org/ash/wm/panels/
Dpanel_layout_manager_unittest.cc81 return Shell::GetContainer(panel->GetRootWindow(), in GetPanelContainer()
137 ShelfAlignment alignment = GetAlignment(panel->GetRootWindow()); in IsPanelAboveLauncherIcon()
183 ShelfAlignment alignment = GetAlignment(panel->GetRootWindow()); in IsCalloutAboveLauncherIcon()
342 EXPECT_EQ(root_windows[1], panel->GetRootWindow()); in TEST_F()
615 EXPECT_EQ(root_windows[0], p1_d1->GetRootWindow()); in TEST_F()
616 EXPECT_EQ(root_windows[0], p2_d1->GetRootWindow()); in TEST_F()
617 EXPECT_EQ(root_windows[1], p1_d2->GetRootWindow()); in TEST_F()
618 EXPECT_EQ(root_windows[1], p2_d2->GetRootWindow()); in TEST_F()
628 EXPECT_EQ(root_windows[0], p1_d1->GetRootWindow()); in TEST_F()
629 EXPECT_EQ(root_windows[0], p2_d1->GetRootWindow()); in TEST_F()
[all …]
Dpanel_window_resizer_unittest.cc71 Shell::GetContainer(window->GetRootWindow(), in CreatePanelWindow()
106 aura::Window* root_window = window->GetRootWindow(); in DetachReattachTest()
128 EXPECT_EQ(root_window, window->GetRootWindow()); in DetachReattachTest()
293 EXPECT_EQ(root_windows[1], window->GetRootWindow()); in TEST_F()
306 EXPECT_EQ(root_windows[0], window->GetRootWindow()); in TEST_F()
310 EXPECT_EQ(root_windows[0], window->GetRootWindow()); in TEST_F()
319 EXPECT_EQ(root_windows[1], window->GetRootWindow()); in TEST_F()
335 EXPECT_EQ(root_windows[0], window->GetRootWindow()); in TEST_F()
339 EXPECT_EQ(root_windows[1], window->GetRootWindow()); in TEST_F()
355 EXPECT_EQ(root_windows[0], window->GetRootWindow()); in TEST_F()
[all …]
/external/chromium_org/ash/wm/dock/
Ddocked_window_resizer_unittest.cc88 Shell::GetContainer(window->GetRootWindow(), in CreateTestWindow()
268 EXPECT_EQ(window->GetRootWindow()->bounds().right(), in TEST_P()
283 EXPECT_EQ(window->GetRootWindow()->bounds().right(), in TEST_P()
308 EXPECT_EQ(window->GetRootWindow()->bounds().right() + in TEST_P()
324 EXPECT_EQ(window->GetRootWindow()->bounds().x(), in TEST_P()
339 EXPECT_EQ(window->GetRootWindow()->bounds().x(), in TEST_P()
371 EXPECT_EQ(window->GetRootWindow()->bounds().right(), in TEST_P()
380 EXPECT_EQ(window->GetRootWindow()->bounds().x(), in TEST_P()
388 EXPECT_EQ(window->GetRootWindow()->bounds().right(), in TEST_P()
396 EXPECT_EQ(window->GetRootWindow()->bounds().right(), in TEST_P()
[all …]
Ddocked_window_layout_manager_unittest.cc106 return Shell::GetContainer(panel->GetRootWindow(), in GetPanelContainer()
239 EXPECT_EQ(window->GetRootWindow()->bounds().right(), in TEST_P()
256 EXPECT_EQ(window->GetRootWindow()->bounds().x(), in TEST_P()
306 EXPECT_EQ(window->GetRootWindow()->bounds().right(), in TEST_P()
360 EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(), in TEST_P()
411 EXPECT_EQ(w1->GetRootWindow()->bounds().right(), in TEST_P()
414 EXPECT_EQ(w2->GetRootWindow()->bounds().right(), in TEST_P()
440 EXPECT_EQ(w1->GetRootWindow()->bounds().right(), in TEST_P()
443 EXPECT_EQ(w2->GetRootWindow()->bounds().right(), in TEST_P()
477 EXPECT_EQ(w1->GetRootWindow()->bounds().right(), in TEST_P()
[all …]
/external/chromium_org/chrome/browser/ui/views/frame/
Ddesktop_browser_frame_aura.cc49 aura::client::SetVisibilityClient(GetNativeView()->GetRootWindow(), NULL); in OnHostClosed()
68 aura::client::SetUserActionClient(GetNativeView()->GetRootWindow(), in InitNativeWidget()
72 aura::client::SetVisibilityClient(GetNativeView()->GetRootWindow(), in InitNativeWidget()
75 GetNativeView()->GetRootWindow()); in InitNativeWidget()
/external/chromium_org/ash/wm/overview/
Dwindow_selector_unittest.cc192 aura::test::EventGenerator event_generator(window->GetRootWindow(), window); in ClickWindow()
744 EXPECT_EQ(root_windows[0], window1->GetRootWindow()); in TEST_F()
745 EXPECT_EQ(root_windows[0], window2->GetRootWindow()); in TEST_F()
746 EXPECT_EQ(root_windows[1], window3->GetRootWindow()); in TEST_F()
747 EXPECT_EQ(root_windows[1], window4->GetRootWindow()); in TEST_F()
749 EXPECT_EQ(root_windows[0], panel1->GetRootWindow()); in TEST_F()
750 EXPECT_EQ(root_windows[0], panel2->GetRootWindow()); in TEST_F()
751 EXPECT_EQ(root_windows[1], panel3->GetRootWindow()); in TEST_F()
752 EXPECT_EQ(root_windows[1], panel4->GetRootWindow()); in TEST_F()
756 EXPECT_EQ(root_windows[0], window1->GetRootWindow()); in TEST_F()
[all …]
/external/chromium_org/ash/wm/workspace/
Dworkspace_layout_manager_unittest.cc111 EXPECT_EQ(Shell::GetAllRootWindows()[1], window->GetRootWindow()); in TEST_F()
123 EXPECT_EQ(Shell::GetPrimaryRootWindow(), window->GetRootWindow()); in TEST_F()
182 EXPECT_EQ(window->bounds(), window->GetRootWindow()->bounds()); in TEST_F()
200 EXPECT_EQ(root_windows[0], window->GetRootWindow()); in TEST_F()
207 EXPECT_EQ(root_windows[1], window->GetRootWindow()); in TEST_F()
211 EXPECT_EQ(root_windows[1], window->GetRootWindow()); in TEST_F()
218 EXPECT_EQ(root_windows[1], window->GetRootWindow()); in TEST_F()
222 EXPECT_EQ(root_windows[1], window->GetRootWindow()); in TEST_F()
234 EXPECT_EQ(root_windows[1], w1->GetNativeView()->GetRootWindow()); in TEST_F()
237 EXPECT_EQ(root_windows[1], w1->GetNativeView()->GetRootWindow()); in TEST_F()
[all …]
/external/chromium_org/ash/display/
Dscreen_position_controller.cc69 aura::Window* root_window = window->GetRootWindow(); in GetRootWindowRelativeToWindow()
122 const aura::Window* root = window->GetRootWindow(); in ConvertPointToScreen()
132 const aura::Window* root = window->GetRootWindow(); in ConvertPointFromScreen()
142 aura::Window* root = root_window->GetRootWindow(); in ConvertHostPointToScreen()
172 if (dst_root != window->GetRootWindow()) { in SetBounds()
185 aura::client::GetActivationClient(window->GetRootWindow()); in SetBounds()
203 focused->GetRootWindow()); in SetBounds()
/external/chromium_org/ash/wm/
Ddrag_window_resizer_unittest.cc171 EXPECT_EQ(root_windows[0], window_->GetRootWindow()); in TEST_F()
183 EXPECT_EQ(root_windows[1], window_->GetRootWindow()); in TEST_F()
189 EXPECT_EQ(root_windows[0], window_->GetRootWindow()); in TEST_F()
202 EXPECT_EQ(root_windows[0], window_->GetRootWindow()); in TEST_F()
208 EXPECT_EQ(root_windows[0], window_->GetRootWindow()); in TEST_F()
220 EXPECT_EQ(root_windows[1], window_->GetRootWindow()); in TEST_F()
250 EXPECT_EQ(root_windows[0], window->GetRootWindow()); in TEST_F()
263 EXPECT_EQ(root_windows[1], window->GetRootWindow()); in TEST_F()
280 EXPECT_EQ(root_windows[1], window_->GetRootWindow()); in TEST_F()
289 EXPECT_EQ(root_windows[0], window_->GetRootWindow()); in TEST_F()
[all …]
Dsolo_window_tracker_unittest.cc334 EXPECT_EQ(w2.get(), GetWindowWithSoloHeader(w2->GetRootWindow())); in TEST_F()
349 EXPECT_EQ(w2.get(), GetWindowWithSoloHeader(w2->GetRootWindow())); in TEST_F()
355 EXPECT_EQ(NULL, GetWindowWithSoloHeader(w2->GetRootWindow())); in TEST_F()
361 EXPECT_EQ(NULL, GetWindowWithSoloHeader(w2->GetRootWindow())); in TEST_F()
367 EXPECT_EQ(NULL, GetWindowWithSoloHeader(w2->GetRootWindow())); in TEST_F()
373 EXPECT_EQ(w2.get(), GetWindowWithSoloHeader(w2->GetRootWindow())); in TEST_F()
378 EXPECT_EQ(w1->GetRootWindow(), w2->GetRootWindow()); in TEST_F()
Ddrag_window_resizer.cc102 wm::GetRootWindowAt(location_in_screen) == GetTarget()->GetRootWindow(); in Drag()
127 screen->GetDisplayNearestWindow(GetTarget()->GetRootWindow()).id()) { in CompleteDrag()
167 details.window->GetRootWindow()); in DragWindowResizer()
179 GetAnotherRootWindow(GetTarget()->GetRootWindow()); in UpdateDragWindow()
236 details_.window->GetRootWindow())->GetSystemTray(); in GetTrayUserItemAtPoint()
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_screen_position_client.cc48 const aura::Window* root_window = window->GetRootWindow(); in ConvertPointToScreen()
56 const aura::Window* root_window = window->GetRootWindow(); in ConvertPointFromScreen()
64 aura::Window* root_window = window->GetRootWindow(); in ConvertHostPointToScreen()
73 aura::Window* root = window->GetRootWindow(); in SetBounds()
/external/chromium_org/ui/views/widget/
Dtooltip_manager_aura.cc47 aura::Window* root_window = source->GetNativeView()->GetRootWindow(); in UpdateTooltipManagerForCapture()
64 aura::client::GetScreenPositionClient(target->GetRootWindow()); in UpdateTooltipManagerForCapture()
91 aura::Window* root_window = GetWindow()->GetRootWindow(); in UpdateTooltip()
102 aura::Window* root_window = GetWindow()->GetRootWindow(); in TooltipTextChanged()
/external/chromium_org/ui/aura/client/
Duser_action_client.cc18 DCHECK_EQ(root_window->GetRootWindow(), root_window); in SetUserActionClient()
24 DCHECK_EQ(root_window->GetRootWindow(), root_window); in GetUserActionClient()
Ddispatcher_client.cc18 DCHECK_EQ(root_window->GetRootWindow(), root_window); in SetDispatcherClient()
24 DCHECK_EQ(root_window->GetRootWindow(), root_window); in GetDispatcherClient()
Ddrag_drop_client.cc19 DCHECK_EQ(root_window->GetRootWindow(), root_window); in SetDragDropClient()
25 DCHECK_EQ(root_window->GetRootWindow(), root_window); in GetDragDropClient()
Devent_client.cc18 DCHECK_EQ(root_window->GetRootWindow(), root_window); in SetEventClient()
24 DCHECK_EQ(root_window->GetRootWindow(), root_window); in GetEventClient()
Dscreen_position_client.cc21 DCHECK_EQ(root_window->GetRootWindow(), root_window); in SetScreenPositionClient()
27 DCHECK_EQ(root_window->GetRootWindow(), root_window); in GetScreenPositionClient()
/external/chromium_org/ui/aura/
Dwindow.cc370 Window* Window::GetRootWindow() { in GetRootWindow() function in aura::Window
372 static_cast<const Window*>(this)->GetRootWindow()); in GetRootWindow()
375 const Window* Window::GetRootWindow() const { in GetRootWindow() function in aura::Window
376 return dispatcher_ ? this : parent_ ? parent_->GetRootWindow() : NULL; in GetRootWindow()
385 const Window* root_window = GetRootWindow(); in GetDispatcher()
420 if (!GetRootWindow()) in GetBoundsInRootWindow()
423 ConvertPointToTarget(parent_, GetRootWindow(), &origin); in GetBoundsInRootWindow()
429 const Window* root = GetRootWindow(); in GetBoundsInScreen()
479 Window* root = GetRootWindow(); in SetBoundsInScreen()
554 Window* old_root = child->GetRootWindow(); in AddChild()
[all …]
Dwindow_targeter.cc24 Window* root_window = window->GetRootWindow(); in FindTargetForEvent()
49 client::EventClient* client = client::GetEventClient(window->GetRootWindow()); in SubtreeShouldBeExploredForEvent()
77 DCHECK_EQ(root_window, root_window->GetRootWindow()); in FindTargetInRootWindow()

12345678