Home
last modified time | relevance | path

Searched refs:IsActiveWindow (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/ash/wm/
Dwindow_cycle_controller_unittest.cc77 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
81 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
93 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
98 EXPECT_FALSE(wm::IsActiveWindow(window0.get())); in TEST_F()
102 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
117 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
128 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
134 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
140 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
144 EXPECT_TRUE(wm::IsActiveWindow(window2.get())); in TEST_F()
[all …]
Dwindow_modality_controller_unittest.cc55 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
57 EXPECT_TRUE(wm::IsActiveWindow(w11.get())); in TEST_F()
62 EXPECT_TRUE(wm::IsActiveWindow(w12.get())); in TEST_F()
65 EXPECT_TRUE(wm::IsActiveWindow(w11.get())); in TEST_F()
71 EXPECT_TRUE(wm::IsActiveWindow(w12.get())); in TEST_F()
78 EXPECT_TRUE(wm::IsActiveWindow(w11.get())); in TEST_F()
80 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
104 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
106 EXPECT_TRUE(wm::IsActiveWindow(w2.get())); in TEST_F()
113 EXPECT_TRUE(wm::IsActiveWindow(w111.get())); in TEST_F()
[all …]
Dsystem_modal_container_layout_manager_unittest.cc220 EXPECT_TRUE(wm::IsActiveWindow(parent.get())); in TEST_F()
230 EXPECT_TRUE(wm::IsActiveWindow(t1)); in TEST_F()
235 EXPECT_TRUE(wm::IsActiveWindow(t1)); in TEST_F()
242 EXPECT_TRUE(wm::IsActiveWindow(t2)); in TEST_F()
250 EXPECT_TRUE(wm::IsActiveWindow(t2)); in TEST_F()
261 EXPECT_TRUE(wm::IsActiveWindow(t1.get())); in TEST_F()
269 EXPECT_TRUE(wm::IsActiveWindow(t1.get())); in TEST_F()
275 EXPECT_TRUE(wm::IsActiveWindow(t1.get())); in TEST_F()
282 EXPECT_TRUE(wm::IsActiveWindow(t2)); in TEST_F()
290 EXPECT_TRUE(wm::IsActiveWindow(t2)); in TEST_F()
[all …]
Dwindow_manager_unittest.cc284 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
296 EXPECT_TRUE(wm::IsActiveWindow(w2.get())); in TEST_F()
313 EXPECT_TRUE(wm::IsActiveWindow(w2.get())); in TEST_F()
328 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
388 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
392 EXPECT_TRUE(wm::IsActiveWindow(p1.get())); in TEST_F()
397 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
408 EXPECT_TRUE(wm::IsActiveWindow(p1.get())); in TEST_F()
410 EXPECT_TRUE(wm::IsActiveWindow(p1.get())); in TEST_F()
436 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
[all …]
Dwindow_util.cc59 bool IsActiveWindow(aura::Window* window) { in IsActiveWindow() function
60 return ::wm::IsActiveWindow(window); in IsActiveWindow()
Dwindow_util.h35 ASH_EXPORT bool IsActiveWindow(aura::Window* window);
Dworkspace_controller_unittest.cc190 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
200 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
243 EXPECT_TRUE(wm::IsActiveWindow(w2.get())); in TEST_F()
1281 EXPECT_TRUE(wm::IsActiveWindow(browser.get())); in TEST_F()
1286 EXPECT_FALSE(wm::IsActiveWindow(browser.get())); in TEST_F()
1287 EXPECT_FALSE(wm::IsActiveWindow(app.get())); in TEST_F()
1296 EXPECT_TRUE(wm::IsActiveWindow(browser.get())); in TEST_F()
1307 EXPECT_TRUE(wm::IsActiveWindow(app.get())); in TEST_F()
/external/chromium_org/ash/
Dfocus_cycler_unittest.cc136 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
140 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
151 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
163 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
174 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
186 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
197 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
209 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
221 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
264 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
[all …]
Dextended_desktop_unittest.cc215 EXPECT_TRUE(wm::IsActiveWindow(widget_on_2nd->GetNativeView())); in TEST_F()
224 EXPECT_TRUE(wm::IsActiveWindow(widget_on_1st->GetNativeView())); in TEST_F()
231 EXPECT_TRUE(wm::IsActiveWindow(widget_on_2nd->GetNativeView())); in TEST_F()
242 EXPECT_TRUE(wm::IsActiveWindow(widget_on_1st->GetNativeView())); in TEST_F()
252 EXPECT_TRUE(wm::IsActiveWindow(modal_widget->GetNativeView())); in TEST_F()
261 EXPECT_TRUE(wm::IsActiveWindow(modal_widget->GetNativeView())); in TEST_F()
268 EXPECT_TRUE(wm::IsActiveWindow(widget_on_1st->GetNativeView())); in TEST_F()
Droot_window_controller_unittest.cc277 EXPECT_TRUE(wm::IsActiveWindow(normal->GetNativeView())); in TEST_F()
283 EXPECT_TRUE(wm::IsActiveWindow(modal->GetNativeView())); in TEST_F()
287 EXPECT_TRUE(wm::IsActiveWindow(modal->GetNativeView())); in TEST_F()
291 EXPECT_TRUE(wm::IsActiveWindow(modal->GetNativeView())); in TEST_F()
293 EXPECT_TRUE(wm::IsActiveWindow(modal->GetNativeView())); in TEST_F()
/external/chromium_org/athena/wm/
Dwindow_manager_unittest.cc117 EXPECT_TRUE(wm::IsActiveWindow(w3.get())); in TEST_F()
169 EXPECT_TRUE(wm::IsActiveWindow(second.get())); in TEST_F()
180 EXPECT_TRUE(wm::IsActiveWindow(third.get())); in TEST_F()
203 EXPECT_TRUE(wm::IsActiveWindow(second.get())); in TEST_F()
214 EXPECT_TRUE(wm::IsActiveWindow(third.get())); in TEST_F()
225 EXPECT_TRUE(wm::IsActiveWindow(third.get())); in TEST_F()
Dtitle_drag_controller.cc68 if (complete && window && wm::IsActiveWindow(window)) in OnTransitionEnd()
/external/chromium_org/chrome/browser/
Dplatform_util_aura.cc26 return ash::wm::IsActiveWindow(window); in IsWindowActive()
/external/chromium_org/ui/views/widget/desktop_aura/
Dx11_desktop_handler.cc114 if (!IsActiveWindow(window)) in DeactivateWindow()
128 bool X11DesktopHandler::IsActiveWindow(::Window window) const { in IsActiveWindow() function in views::X11DesktopHandler
Dx11_desktop_handler.h52 bool IsActiveWindow(::Window window) const;
/external/chromium_org/ash/test/
Dtest_activation_delegate.cc54 window_was_active_ = wm::IsActiveWindow(window_); in OnWindowActivated()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dchrome_launcher_controller_browsertest.cc587 EXPECT_TRUE(ash::wm::IsActiveWindow(window1->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
588 EXPECT_FALSE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
594 EXPECT_FALSE(ash::wm::IsActiveWindow(window1->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
595 EXPECT_TRUE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
600 EXPECT_FALSE(ash::wm::IsActiveWindow(window1->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
601 EXPECT_FALSE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
602 EXPECT_TRUE(ash::wm::IsActiveWindow(window1b->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
606 EXPECT_TRUE(ash::wm::IsActiveWindow(window1->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
607 EXPECT_FALSE(ash::wm::IsActiveWindow(window1b->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
609 EXPECT_TRUE(ash::wm::IsActiveWindow(window1b->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
[all …]
Dapp_window_launcher_controller.cc157 ash::ShelfItemStatus status = ash::wm::IsActiveWindow(window) in RegisterApp()
Dapp_window_launcher_item_controller.cc301 if (ash::wm::IsActiveWindow(window)) { in OnWindowPropertyChanged()
/external/chromium_org/ui/wm/core/
Dwindow_util.h29 WM_EXPORT bool IsActiveWindow(aura::Window* window);
Dwindow_util.cc53 bool IsActiveWindow(aura::Window* window) { in IsActiveWindow() function
Dshadow_controller.cc59 ((IsActiveWindow(window) || IsShadowAlwaysActive(window)) ? in GetShadowStyleForWindow()
/external/chromium_org/ash/wm/overview/
Dwindow_selector_unittest.cc289 EXPECT_FALSE(wm::IsActiveWindow(window1.get())); in TEST_F()
290 EXPECT_TRUE(wm::IsActiveWindow(window2.get())); in TEST_F()
307 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
308 EXPECT_FALSE(wm::IsActiveWindow(window2.get())); in TEST_F()
597 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
634 EXPECT_TRUE(wm::IsActiveWindow(child1.get())); in TEST_F()
974 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
982 EXPECT_TRUE(wm::IsActiveWindow(window2.get())); in TEST_F()
/external/chromium_org/extensions/shell/browser/
Dshell_native_app_window.cc46 return window && wm::IsActiveWindow(window); in IsActive()
/external/chromium_org/ash/shelf/
Dshelf_window_watcher.cc133 item.status = wm::IsActiveWindow(window) ? STATUS_ACTIVE: STATUS_RUNNING; in AddShelfItem()

12