Home
last modified time | relevance | path

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

12

/external/chromium_org/ash/wm/
Dwindow_cycle_controller_unittest.cc47 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
51 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
63 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
68 EXPECT_FALSE(wm::IsActiveWindow(window0.get())); in TEST_F()
72 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
87 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
98 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
104 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
110 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
114 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.cc175 EXPECT_TRUE(wm::IsActiveWindow(parent.get())); in TEST_F()
185 EXPECT_TRUE(wm::IsActiveWindow(t1)); in TEST_F()
190 EXPECT_TRUE(wm::IsActiveWindow(t1)); in TEST_F()
197 EXPECT_TRUE(wm::IsActiveWindow(t2)); in TEST_F()
205 EXPECT_TRUE(wm::IsActiveWindow(t2)); in TEST_F()
216 EXPECT_TRUE(wm::IsActiveWindow(t1.get())); in TEST_F()
224 EXPECT_TRUE(wm::IsActiveWindow(t1.get())); in TEST_F()
230 EXPECT_TRUE(wm::IsActiveWindow(t1.get())); in TEST_F()
237 EXPECT_TRUE(wm::IsActiveWindow(t2)); in TEST_F()
245 EXPECT_TRUE(wm::IsActiveWindow(t2)); in TEST_F()
[all …]
Dwindow_manager_unittest.cc278 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
291 EXPECT_TRUE(wm::IsActiveWindow(w2.get())); in TEST_F()
309 EXPECT_TRUE(wm::IsActiveWindow(w2.get())); in TEST_F()
324 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
385 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
389 EXPECT_TRUE(wm::IsActiveWindow(p1.get())); in TEST_F()
394 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
405 EXPECT_TRUE(wm::IsActiveWindow(p1.get())); in TEST_F()
407 EXPECT_TRUE(wm::IsActiveWindow(p1.get())); in TEST_F()
433 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
[all …]
Dwindow_util.cc37 bool IsActiveWindow(aura::Window* window) { in IsActiveWindow() function
38 return views::corewm::IsActiveWindow(window); in IsActiveWindow()
Dwindow_util.h33 ASH_EXPORT bool IsActiveWindow(aura::Window* window);
Dworkspace_controller_unittest.cc171 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
181 EXPECT_TRUE(wm::IsActiveWindow(w1.get())); in TEST_F()
224 EXPECT_TRUE(wm::IsActiveWindow(w2.get())); in TEST_F()
1160 EXPECT_TRUE(wm::IsActiveWindow(browser.get())); in TEST_F()
1165 EXPECT_FALSE(wm::IsActiveWindow(browser.get())); in TEST_F()
1166 EXPECT_FALSE(wm::IsActiveWindow(app.get())); in TEST_F()
1175 EXPECT_TRUE(wm::IsActiveWindow(browser.get())); in TEST_F()
1186 EXPECT_TRUE(wm::IsActiveWindow(app.get())); in TEST_F()
Dwindow_state.cc100 return IsActiveWindow(window_); in IsActive()
/external/chromium_org/ash/
Dfocus_cycler_unittest.cc138 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
142 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
153 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
165 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
176 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
188 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
199 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
211 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
223 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
263 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); in TEST_F()
[all …]
Dextended_desktop_unittest.cc192 EXPECT_TRUE(wm::IsActiveWindow(widget_on_2nd->GetNativeView())); in TEST_F()
201 EXPECT_TRUE(wm::IsActiveWindow(widget_on_1st->GetNativeView())); in TEST_F()
208 EXPECT_TRUE(wm::IsActiveWindow(widget_on_2nd->GetNativeView())); in TEST_F()
219 EXPECT_TRUE(wm::IsActiveWindow(widget_on_1st->GetNativeView())); in TEST_F()
229 EXPECT_TRUE(wm::IsActiveWindow(modal_widget->GetNativeView())); in TEST_F()
238 EXPECT_TRUE(wm::IsActiveWindow(modal_widget->GetNativeView())); in TEST_F()
245 EXPECT_TRUE(wm::IsActiveWindow(widget_on_1st->GetNativeView())); in TEST_F()
301 EXPECT_TRUE(wm::IsActiveWindow(d2_w1->GetNativeView())); in TEST_F()
304 EXPECT_TRUE(wm::IsActiveWindow(d1_w1->GetNativeView())); in TEST_F()
306 EXPECT_TRUE(wm::IsActiveWindow(d2_w1->GetNativeView())); in TEST_F()
[all …]
Droot_window_controller_unittest.cc272 EXPECT_TRUE(wm::IsActiveWindow(normal->GetNativeView())); in TEST_F()
278 EXPECT_TRUE(wm::IsActiveWindow(modal->GetNativeView())); in TEST_F()
282 EXPECT_TRUE(wm::IsActiveWindow(modal->GetNativeView())); in TEST_F()
286 EXPECT_TRUE(wm::IsActiveWindow(modal->GetNativeView())); in TEST_F()
288 EXPECT_TRUE(wm::IsActiveWindow(modal->GetNativeView())); in TEST_F()
/external/chromium_org/ash/wm/overview/
Dwindow_selector_unittest.cc230 EXPECT_FALSE(wm::IsActiveWindow(window1.get())); in TEST_F()
231 EXPECT_TRUE(wm::IsActiveWindow(window2.get())); in TEST_F()
254 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
255 EXPECT_FALSE(wm::IsActiveWindow(window2.get())); in TEST_F()
385 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
386 EXPECT_FALSE(wm::IsActiveWindow(window2.get())); in TEST_F()
387 EXPECT_FALSE(wm::IsActiveWindow(window3.get())); in TEST_F()
391 EXPECT_TRUE(wm::IsActiveWindow(window2.get())); in TEST_F()
394 EXPECT_TRUE(wm::IsActiveWindow(window3.get())); in TEST_F()
398 EXPECT_FALSE(wm::IsActiveWindow(window1.get())); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/
Dplatform_util_aura.cc26 return ash::wm::IsActiveWindow(window); in IsWindowActive()
/external/chromium_org/ui/views/corewm/
Dwindow_util.h24 VIEWS_EXPORT bool IsActiveWindow(aura::Window* window);
Dwindow_util.cc57 bool IsActiveWindow(aura::Window* window) { in IsActiveWindow() function
/external/chromium_org/chrome/browser/ui/ash/
Duser_action_handler.cc21 if (!ash::wm::IsActiveWindow(browser->window()->GetNativeWindow())) in GetActiveWebContents()
/external/chromium_org/ash/test/
Dtest_activation_delegate.cc54 window_was_active_ = wm::IsActiveWindow(window_); in OnWindowActivated()
/external/chromium_org/ui/views/widget/desktop_aura/
Dx11_desktop_handler.h35 bool IsActiveWindow(::Window window) const;
Dx11_desktop_handler.cc101 bool X11DesktopHandler::IsActiveWindow(::Window window) const { in IsActiveWindow() function in views::X11DesktopHandler
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dchrome_launcher_controller_browsertest.cc589 EXPECT_TRUE(ash::wm::IsActiveWindow(window1->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
590 EXPECT_FALSE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
596 EXPECT_FALSE(ash::wm::IsActiveWindow(window1->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
597 EXPECT_TRUE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
602 EXPECT_FALSE(ash::wm::IsActiveWindow(window1->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
603 EXPECT_FALSE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
604 EXPECT_TRUE(ash::wm::IsActiveWindow(window1b->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
608 EXPECT_TRUE(ash::wm::IsActiveWindow(window1->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
609 EXPECT_FALSE(ash::wm::IsActiveWindow(window1b->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
611 EXPECT_TRUE(ash::wm::IsActiveWindow(window1b->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
[all …]
Dshell_window_launcher_controller.cc152 ash::LauncherItemStatus status = ash::wm::IsActiveWindow(window) ? in RegisterApp()
Dshell_window_launcher_item_controller.cc255 if (ash::wm::IsActiveWindow(window)) { in OnWindowPropertyChanged()
Dbrowser_shortcut_launcher_item_controller.cc123 return ash::wm::IsActiveWindow(window); in IsVisible()
/external/chromium_org/ash/shelf/
Dshelf_window_watcher.cc89 item.status = ash::wm::IsActiveWindow(window) ? STATUS_ACTIVE: STATUS_RUNNING; in AddLauncherItem()
/external/chromium_org/ash/accelerators/
Daccelerator_controller.cc730 << (wm::IsActiveWindow(window) ? " [active] " : " ") in PrintWindowHierarchy()

12