IsViewFocused 140 chrome/browser/browser_keyevents_browsertest.cc return ui_test_utils::IsViewFocused(browser(), vid); IsViewFocused 366 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 460 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 465 chrome/browser/browser_keyevents_browsertest.cc EXPECT_TRUE(IsViewFocused(VIEW_ID_FIND_IN_PAGE_TEXT_FIELD)); IsViewFocused 470 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 474 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 506 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 511 chrome/browser/browser_keyevents_browsertest.cc EXPECT_TRUE(IsViewFocused(VIEW_ID_FIND_IN_PAGE_TEXT_FIELD)); IsViewFocused 516 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 520 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 607 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 628 chrome/browser/browser_keyevents_browsertest.cc EXPECT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 634 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 645 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 680 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 718 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 780 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 818 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 860 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 865 chrome/browser/browser_keyevents_browsertest.cc EXPECT_TRUE(IsViewFocused(VIEW_ID_APP_MENU)); IsViewFocused 868 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 872 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 876 chrome/browser/browser_keyevents_browsertest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 137 chrome/browser/ui/browser_focus_uitest.cc if (ui_test_utils::IsViewFocused(browser, id) || IsViewFocused 152 chrome/browser/ui/browser_focus_uitest.cc return ui_test_utils::IsViewFocused(browser(), vid); IsViewFocused 167 chrome/browser/ui/browser_focus_uitest.cc return IsViewFocused(vid); IsViewFocused 225 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 228 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 231 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 246 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 250 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 253 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 257 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 302 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(vid)); IsViewFocused 311 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(vid)); IsViewFocused 322 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(vid)); IsViewFocused 343 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_FIND_IN_PAGE_TEXT_FIELD)); IsViewFocused 352 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 357 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 362 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_FIND_IN_PAGE_TEXT_FIELD)); IsViewFocused 364 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 366 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_FIND_IN_PAGE_TEXT_FIELD)); IsViewFocused 444 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 474 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 524 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 583 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 608 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 651 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 703 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 719 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 726 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 754 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 764 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_FIND_IN_PAGE_TEXT_FIELD)); IsViewFocused 768 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 792 chrome/browser/ui/browser_focus_uitest.cc EXPECT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 798 chrome/browser/ui/browser_focus_uitest.cc EXPECT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 804 chrome/browser/ui/browser_focus_uitest.cc EXPECT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 811 chrome/browser/ui/browser_focus_uitest.cc EXPECT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 846 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 852 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 865 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 889 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 902 chrome/browser/ui/browser_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 933 chrome/browser/ui/browser_focus_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_TAB_CONTAINER)); IsViewFocused 938 chrome/browser/ui/browser_focus_uitest.cc EXPECT_FALSE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 955 chrome/browser/ui/browser_focus_uitest.cc EXPECT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 974 chrome/browser/ui/browser_focus_uitest.cc EXPECT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 986 chrome/browser/ui/browser_focus_uitest.cc EXPECT_FALSE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 54 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_interactive_uitest.cc ui_test_utils::IsViewFocused(browser(), VIEW_ID_FIND_IN_PAGE_TEXT_FIELD); IsViewFocused 153 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 1208 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 1225 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 1264 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 1276 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 1299 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 1309 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 1316 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 1586 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 1632 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 1668 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 1691 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 1726 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 1733 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 73 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), IsViewFocused 87 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 111 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 114 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), IsViewFocused 119 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 125 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), IsViewFocused 133 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_TAB_CONTAINER)); IsViewFocused 139 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 141 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), IsViewFocused 146 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 213 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), IsViewFocused 219 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), IsViewFocused 240 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), IsViewFocused 258 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), IsViewFocused 269 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 273 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), IsViewFocused 279 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 364 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), IsViewFocused 380 chrome/browser/ui/views/find_bar_host_interactive_uitest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), IsViewFocused 26 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc return ui_test_utils::IsViewFocused(browser(), vid); IsViewFocused 42 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 46 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER)); IsViewFocused 49 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 53 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 81 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc ASSERT_TRUE(IsViewFocused(VIEW_ID_OMNIBOX)); IsViewFocused 100 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 131 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_FALSE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 140 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 145 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_FALSE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 151 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 160 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 168 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 175 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_FALSE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 187 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_FALSE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 195 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 200 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_FALSE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 205 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 213 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 221 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX)); IsViewFocused 27 chrome/test/base/interactive_test_utils.h bool IsViewFocused(const Browser* browser, ViewID vid); IsViewFocused 49 ui/views/ime/input_method_base.h bool IsViewFocused(View* view) const; IsViewFocused 132 ui/views/ime/input_method_bridge.cc if (IsViewFocused(view)) IsViewFocused 140 ui/views/ime/input_method_bridge.cc if (IsViewFocused(view) && !IsTextInputTypeNone()) IsViewFocused 147 ui/views/ime/input_method_bridge.cc if (IsViewFocused(view)) IsViewFocused 100 ui/views/ime/mock_input_method.cc if (IsViewFocused(view)) IsViewFocused 106 ui/views/ime/mock_input_method.cc if (IsViewFocused(view)) IsViewFocused 111 ui/views/ime/mock_input_method.cc if (IsViewFocused(view)) {