HasFocus 138 ash/first_run/first_run_helper_unittest.cc EXPECT_TRUE(overlay_window->HasFocus()); HasFocus 525 ash/root_window_controller_unittest.cc EXPECT_TRUE(lock_window->HasFocus()); HasFocus 527 ash/root_window_controller_unittest.cc EXPECT_FALSE(session_window->HasFocus()); HasFocus 475 ash/shelf/shelf_button.cc if (HasFocus()) { HasFocus 188 ash/shell_unittest.cc EXPECT_TRUE(lock_widget->GetNativeView()->HasFocus()); HasFocus 294 ash/shell_unittest.cc EXPECT_TRUE(widget->GetNativeView()->HasFocus()); HasFocus 307 ash/shell_unittest.cc EXPECT_TRUE(lock_widget->GetNativeView()->HasFocus()); HasFocus 318 ash/shell_unittest.cc EXPECT_TRUE(lock_modal_widget->GetNativeView()->HasFocus()); HasFocus 332 ash/shell_unittest.cc EXPECT_FALSE(modal_widget->GetNativeView()->HasFocus()); HasFocus 333 ash/shell_unittest.cc EXPECT_TRUE(lock_modal_widget->GetNativeView()->HasFocus()); HasFocus 345 ash/shell_unittest.cc EXPECT_FALSE(modal_dialog->GetNativeView()->HasFocus()); HasFocus 346 ash/shell_unittest.cc EXPECT_TRUE(lock_modal_widget->GetNativeView()->HasFocus()); HasFocus 72 ash/system/tray/actionable_view.cc if (HasFocus()) HasFocus 122 ash/system/tray/tray_details_view.cc if (footer_ && footer_->content() && footer_->content()->HasFocus()) HasFocus 128 ash/system/tray/tray_details_view_unittest.cc EXPECT_TRUE(test_item_2->default_view()->HasFocus()); HasFocus 143 ash/system/tray/tray_details_view_unittest.cc EXPECT_FALSE(test_item_2->default_view()->HasFocus()); HasFocus 1046 ash/wm/dock/docked_window_layout_manager.cc if (window->HasFocus() || HasFocus 698 ash/wm/immersive_fullscreen_controller_unittest.cc EXPECT_FALSE(top_container()->HasFocus()); HasFocus 623 ash/wm/panels/panel_layout_manager.cc if (panel->HasFocus() || HasFocus 393 ash/wm/window_modality_controller_unittest.cc EXPECT_TRUE(child->HasFocus()); HasFocus 394 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(modal_parent->HasFocus()); HasFocus 395 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(parent->HasFocus()); HasFocus 403 ash/wm/window_modality_controller_unittest.cc EXPECT_TRUE(child->HasFocus()); HasFocus 404 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(modal_parent->HasFocus()); HasFocus 405 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(parent->HasFocus()); HasFocus 413 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(child->HasFocus()); HasFocus 414 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(modal_parent->HasFocus()); HasFocus 415 ash/wm/window_modality_controller_unittest.cc EXPECT_TRUE(parent->HasFocus()); HasFocus 423 ash/wm/window_modality_controller_unittest.cc EXPECT_TRUE(child->HasFocus()); HasFocus 424 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(modal_parent->HasFocus()); HasFocus 425 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(parent->HasFocus()); HasFocus 453 ash/wm/window_modality_controller_unittest.cc EXPECT_TRUE(child->HasFocus()); HasFocus 454 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(modal_parent->HasFocus()); HasFocus 455 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(parent->HasFocus()); HasFocus 469 ash/wm/window_modality_controller_unittest.cc EXPECT_TRUE(child->HasFocus()); HasFocus 470 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(modal_parent->HasFocus()); HasFocus 471 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(parent->HasFocus()); HasFocus 484 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(child->HasFocus()); HasFocus 485 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(modal_parent->HasFocus()); HasFocus 486 ash/wm/window_modality_controller_unittest.cc EXPECT_TRUE(parent->HasFocus()); HasFocus 499 ash/wm/window_modality_controller_unittest.cc EXPECT_TRUE(child->HasFocus()); HasFocus 500 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(modal_parent->HasFocus()); HasFocus 501 ash/wm/window_modality_controller_unittest.cc EXPECT_FALSE(parent->HasFocus()); HasFocus 1083 chrome/browser/apps/app_browsertest.cc ->HasFocus()); HasFocus 763 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc if (window->HasFocus()) HasFocus 199 chrome/browser/ui/browser_focus_uitest.cc return render_view_host()->GetView()->HasFocus(); HasFocus 705 chrome/browser/ui/browser_focus_uitest.cc GetRenderViewHost()->GetView()->HasFocus()); HasFocus 720 chrome/browser/ui/browser_focus_uitest.cc EXPECT_TRUE(interstitial_page->HasFocus()); HasFocus 1664 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (mouse_event.IsLeftMouseButton() && sender->HasFocus()) { HasFocus 2089 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (to_focus && !to_focus->HasFocus()) HasFocus 410 chrome/browser/ui/views/avatar_menu_bubble_view.cc HasFocus() || HasFocus 411 chrome/browser/ui/views/avatar_menu_bubble_view.cc edit_link_->HasFocus(); HasFocus 638 chrome/browser/ui/views/avatar_menu_bubble_view.cc if (item_views_[i]->HasFocus()) { HasFocus 118 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc if (edit_button_->HasFocus()) HasFocus 301 chrome/browser/ui/views/desktop_media_picker_views.cc if (HasFocus()) { HasFocus 585 chrome/browser/ui/views/download/download_item_view.cc if (HasFocus()) HasFocus 2550 chrome/browser/ui/views/frame/browser_view.cc if (native_view->HasFocus()) { HasFocus 1020 chrome/browser/ui/views/location_bar/location_bar_view.cc if (show_focus_rect_ && HasFocus()) HasFocus 272 chrome/browser/ui/views/location_bar/location_bar_view.h virtual bool HasFocus() const OVERRIDE; HasFocus 215 chrome/browser/ui/views/omnibox/omnibox_view_views.cc (!HasFocus() || (model()->focus_state() == OMNIBOX_FOCUS_INVISIBLE)); HasFocus 328 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (!HasFocus() && event->type() == ui::ET_GESTURE_TAP_DOWN) { HasFocus 134 chrome/browser/ui/views/profile_chooser_view.cc if ((state() == STATE_PRESSED) || (state() == STATE_HOVERED) || HasFocus()) { HasFocus 335 chrome/browser/ui/views/toolbar/toolbar_view.cc return app_menu_->HasFocus(); HasFocus 751 chrome/browser/ui/views/toolbar/toolbar_view.cc if (!location_bar_->HasFocus()) { HasFocus 105 content/browser/accessibility/browser_accessibility_manager.cc if (!delegate_ || !delegate_->HasFocus()) HasFocus 144 content/browser/accessibility/browser_accessibility_manager.cc (!delegate_ || delegate_->HasFocus())) { HasFocus 169 content/browser/accessibility/browser_accessibility_manager.cc if (delegate_ && !delegate_->HasFocus()) HasFocus 42 content/browser/accessibility/browser_accessibility_manager.h virtual bool HasFocus() const = 0; HasFocus 332 content/browser/android/content_view_core_impl.cc SetFocusInternal(HasFocus()); HasFocus 271 content/browser/android/content_view_core_impl.h bool HasFocus(); HasFocus 284 content/browser/frame_host/interstitial_page_impl.cc render_view_host_->GetView()->HasFocus() && HasFocus 447 content/browser/frame_host/interstitial_page_impl.cc if (rwh_view->HasFocus()) HasFocus 1012 content/browser/frame_host/render_frame_host_manager.cc render_frame_host_->render_view_host()->GetView()->HasFocus(); HasFocus 44 content/browser/frame_host/render_widget_host_view_child_frame.h virtual bool HasFocus() const OVERRIDE; HasFocus 2289 content/browser/renderer_host/render_widget_host_impl.cc if (!view_ || !view_->HasFocus()|| !view_->LockMouse()) { HasFocus 309 content/browser/renderer_host/render_widget_host_view_android.cc return content_view_core_->HasFocus(); HasFocus 91 content/browser/renderer_host/render_widget_host_view_android.h virtual bool HasFocus() const OVERRIDE; HasFocus 885 content/browser/renderer_host/render_widget_host_view_aura.cc return window_->HasFocus(); HasFocus 3372 content/browser/renderer_host/render_widget_host_view_aura.cc if (HasFocus()) { HasFocus 153 content/browser/renderer_host/render_widget_host_view_aura.h virtual bool HasFocus() const OVERRIDE; HasFocus 343 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc EXPECT_TRUE(window->HasFocus()); HasFocus 393 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ASSERT_TRUE(window->HasFocus()); HasFocus 404 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ASSERT_TRUE(sibling->HasFocus()); HasFocus 417 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc EXPECT_TRUE(parent_view_->HasFocus()); HasFocus 431 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ASSERT_TRUE(parent_view_->HasFocus()); HasFocus 444 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc EXPECT_TRUE(parent_view_->HasFocus()); HasFocus 458 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ASSERT_TRUE(parent_view_->HasFocus()); HasFocus 59 content/browser/renderer_host/render_widget_host_view_gtk.h virtual bool HasFocus() const OVERRIDE; HasFocus 240 content/browser/renderer_host/render_widget_host_view_mac.h virtual bool HasFocus() const OVERRIDE; HasFocus 52 content/browser/web_contents/touch_editable_impl_aura.cc if (!rwhva_ || !rwhva_->HasFocus()) HasFocus 100 content/browser/web_contents/touch_editable_impl_aura.cc if (!rwhva_ || !rwhva_->HasFocus()) HasFocus 1564 content/browser/web_contents/web_contents_impl.cc if (!widget_host_view->HasFocus()) HasFocus 86 content/public/browser/render_widget_host_view.h virtual bool HasFocus() const = 0; HasFocus 65 content/test/test_render_view_host.h virtual bool HasFocus() const OVERRIDE; HasFocus 272 ui/aura/window.h bool HasFocus() const; HasFocus 2416 ui/aura/window_unittest.cc EXPECT_TRUE(w2->HasFocus()); HasFocus 2423 ui/aura/window_unittest.cc EXPECT_TRUE(w2->HasFocus()); HasFocus 251 ui/keyboard/keyboard_controller_unittest.cc EXPECT_TRUE(window->HasFocus()); HasFocus 252 ui/keyboard/keyboard_controller_unittest.cc EXPECT_FALSE(keyboard_container->HasFocus()); HasFocus 262 ui/keyboard/keyboard_controller_unittest.cc EXPECT_TRUE(window->HasFocus()); HasFocus 263 ui/keyboard/keyboard_controller_unittest.cc EXPECT_FALSE(keyboard_container->HasFocus()); HasFocus 295 ui/keyboard/keyboard_controller_unittest.cc EXPECT_TRUE(window->HasFocus()); HasFocus 296 ui/keyboard/keyboard_controller_unittest.cc EXPECT_FALSE(keyboard_container->HasFocus()); HasFocus 1336 ui/views/accessibility/native_view_accessibility_win.cc if (view->HasFocus()) HasFocus 116 ui/views/accessible_pane_view_unittest.cc EXPECT_TRUE(test_view_main->HasFocus()); HasFocus 131 ui/views/accessible_pane_view_unittest.cc EXPECT_FALSE(test_view_main->HasFocus()); HasFocus 116 ui/views/controls/button/checkbox.cc const size_t focused_index = HasFocus() ? 1 : 0; HasFocus 294 ui/views/controls/button/label_button.cc params->button.is_focused = HasFocus() && IsAccessibilityFocusable(); HasFocus 691 ui/views/controls/combobox/combobox.cc bool focused = HasFocus(); HasFocus 48 ui/views/controls/focusable_border.cc view.HasFocus() ? ui::NativeTheme::kColorId_FocusedBorderColor : HasFocus 332 ui/views/controls/label.cc if (HasFocus()) { HasFocus 272 ui/views/controls/menu/menu_runner.cc bool show_mnemonics = button ? button->HasFocus() : false; HasFocus 158 ui/views/controls/message_box_view.cc if (prompt_field_ && prompt_field_->HasFocus()) HasFocus 175 ui/views/controls/slider.cc if (!HasFocus()) HasFocus 180 ui/views/controls/slider.cc } else if (HasFocus()) { HasFocus 329 ui/views/controls/table/table_view.cc if (!HasFocus()) HasFocus 487 ui/views/controls/table/table_view.cc text_background_color_id(HasFocus())); HasFocus 491 ui/views/controls/table/table_view.cc selected_text_color_id(HasFocus())); HasFocus 502 ui/views/controls/table/table_view.cc if (selection_model_.active() == i && HasFocus()) HasFocus 206 ui/views/controls/tree/tree_view.cc const bool editor_has_focus = editor_->HasFocus(); HasFocus 551 ui/views/controls/tree/tree_view.cc if (!HasFocus()) HasFocus 800 ui/views/controls/tree/tree_view.cc text_background_color_id(HasFocus())); HasFocus 802 ui/views/controls/tree/tree_view.cc if (HasFocus()) HasFocus 806 ui/views/controls/tree/tree_view.cc text_color_id(HasFocus(), node == selected_node_); HasFocus 596 ui/views/focus/focus_manager_unittest.cc EXPECT_TRUE(v1->HasFocus()); HasFocus 683 ui/views/focus/focus_manager_unittest.cc EXPECT_TRUE(v1->HasFocus()); HasFocus 688 ui/views/focus/focus_manager_unittest.cc EXPECT_TRUE(v2->HasFocus()); HasFocus 233 ui/views/painter.cc if (focus_painter && view->HasFocus()) HasFocus 750 ui/views/view.h virtual bool HasFocus() const; HasFocus 941 ui/views/widget/widget_unittest.cc EXPECT_TRUE(contents_view->HasFocus()); HasFocus 951 ui/views/widget/widget_unittest.cc EXPECT_FALSE(contents_view->HasFocus()); HasFocus 952 ui/views/widget/widget_unittest.cc EXPECT_TRUE(bubble_delegate_view->HasFocus()); HasFocus 957 ui/views/widget/widget_unittest.cc EXPECT_TRUE(contents_view->HasFocus()); HasFocus 167 ui/wm/core/compound_event_filter_unittest.cc EXPECT_FALSE(window->HasFocus()); HasFocus 173 ui/wm/core/compound_event_filter_unittest.cc EXPECT_FALSE(window->HasFocus());