Home
last modified time | relevance | path

Searched refs:GetFocusedView (Results 1 – 25 of 54) sorted by relevance

123

/external/chromium_org/ui/views/ime/
Dinput_method_base.cc33 View* focused = widget->GetFocusManager()->GetFocusedView(); in Init()
39 views::View* InputMethodBase::GetFocusedView() const { in GetFocusedView() function in views::InputMethodBase
40 return widget_ ? widget_->GetFocusManager()->GetFocusedView() : NULL; in GetFocusedView()
46 return (widget_ && widget_->IsActive() && GetFocusedView()) ? in GetTextInputClient()
47 GetFocusedView()->GetTextInputClient() : NULL; in GetTextInputClient()
64 return widget_ && widget_->IsActive() && view && GetFocusedView() == view; in IsViewFocused()
90 View::ConvertPointFromScreen(GetFocusedView(), &caret_origin); in GetCaretBoundsInWidget()
92 *rect = GetFocusedView()->ConvertRectToWidget(caret_bounds); in GetCaretBoundsInWidget()
95 if (GetFocusedView()->GetWidget() != widget_) in GetCaretBoundsInWidget()
96 return Widget::ConvertRect(GetFocusedView()->GetWidget(), widget_, rect); in GetCaretBoundsInWidget()
Dinput_method_bridge.cc95 if (GetFocusedView()) { in OnFocus()
96 OnTextInputTypeChanged(GetFocusedView()); in OnFocus()
97 OnCaretBoundsChanged(GetFocusedView()); in OnFocus()
331 DCHECK_EQ(GetFocusedView(), focused); in OnDidChangeFocus()
Dinput_method_base.h46 View* GetFocusedView() const;
/external/chromium_org/ui/views/
Daccessible_pane_view_unittest.cc90 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F()
95 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F()
97 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F()
136 test_view_bar->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F()
168 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F()
173 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F()
175 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F()
204 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F()
208 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F()
212 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F()
[all …]
Daccessible_pane_view.cc70 View* focused_view = focus_manager_->GetFocusedView(); in SetPaneFocus()
166 views::View* focused_view = focus_manager_->GetFocusedView(); in AcceleratorPressed()
/external/chromium_org/ui/views/focus/
Dfocus_manager_unittest.cc183 EXPECT_EQ(textfield, GetFocusManager()->GetFocusedView()); in TEST_F()
684 EXPECT_EQ(v1, focus_manager->GetFocusedView()); in TEST_F()
686 EXPECT_EQ(v2, focus_manager->GetFocusedView()); in TEST_F()
688 EXPECT_EQ(v1, focus_manager->GetFocusedView()); in TEST_F()
692 EXPECT_EQ(v3, focus_manager->GetFocusedView()); in TEST_F()
694 EXPECT_EQ(v4, focus_manager->GetFocusedView()); in TEST_F()
696 EXPECT_EQ(v3, focus_manager->GetFocusedView()); in TEST_F()
700 EXPECT_EQ(v1, focus_manager->GetFocusedView()); in TEST_F()
705 EXPECT_EQ(v3, focus_manager->GetFocusedView()); in TEST_F()
709 EXPECT_EQ(v1, focus_manager->GetFocusedView()); in TEST_F()
[all …]
Dfocus_traversal_unittest.cc591 View* focused_view = GetFocusManager()->GetFocusedView(); in TEST_F()
603 View* focused_view = GetFocusManager()->GetFocusedView(); in TEST_F()
643 focused_view = GetFocusManager()->GetFocusedView(); in TEST_F()
655 focused_view = GetFocusManager()->GetFocusedView(); in TEST_F()
694 focused_view = GetFocusManager()->GetFocusedView(); in TEST_F()
706 focused_view = GetFocusManager()->GetFocusedView(); in TEST_F()
732 View* focused_view = GetFocusManager()->GetFocusedView(); in TEST_F()
744 View* focused_view = GetFocusManager()->GetFocusedView(); in TEST_F()
771 View* focused_view = GetFocusManager()->GetFocusedView(); in TEST_F()
783 View* focused_view = GetFocusManager()->GetFocusedView(); in TEST_F()
Dfocus_manager_unittest_win.cc94 EXPECT_EQ(NULL, GetFocusManager()->GetFocusedView()); in TEST_F()
102 EXPECT_EQ(view, GetFocusManager()->GetFocusedView()); in TEST_F()
110 EXPECT_EQ(NULL, GetFocusManager()->GetFocusedView()); in TEST_F()
117 EXPECT_EQ(button, GetFocusManager()->GetFocusedView()); in TEST_F()
Dfocus_manager.h167 View* GetFocusedView() { return focused_view_; } in GetFocusedView() function
168 const View* GetFocusedView() const { return focused_view_; } in GetFocusedView() function
Dexternal_focus_tracker.cc68 StoreLastFocusedView(focus_manager_->GetFocusedView()); in StartTracking()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_view_focus_uitest.cc76 focus_manager2->GetFocusedView()); in IN_PROC_BROWSER_TEST_F()
82 EXPECT_EQ(NULL, focus_manager2->GetFocusedView()); in IN_PROC_BROWSER_TEST_F()
88 EXPECT_EQ(NULL, widget->GetFocusManager()->GetFocusedView()); in IN_PROC_BROWSER_TEST_F()
90 focus_manager2->GetFocusedView()); in IN_PROC_BROWSER_TEST_F()
Dbrowser_view_interactive_uitest.cc53 EXPECT_TRUE(location_bar_view->Contains(focus_manager->GetFocusedView())); in IN_PROC_BROWSER_TEST_F()
59 EXPECT_FALSE(location_bar_view->Contains(focus_manager->GetFocusedView())); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dtoolbar_view_browsertest.cc43 views::View* first_view = focus_manager->GetFocusedView(); in RunToolbarCycleFocusTest()
54 view = focus_manager->GetFocusedView(); in RunToolbarCycleFocusTest()
76 view = focus_manager->GetFocusedView(); in RunToolbarCycleFocusTest()
/external/chromium_org/ash/
Dfocus_cycler_unittest.cc355 EXPECT_EQ(focus_manager->GetFocusedView(), view1); in TEST_F()
360 EXPECT_EQ(focus_manager->GetFocusedView(), view3); in TEST_F()
369 EXPECT_EQ(focus_manager->GetFocusedView(), view3); in TEST_F()
374 EXPECT_EQ(focus_manager->GetFocusedView(), view1); in TEST_F()
390 EXPECT_EQ(focus_manager->GetFocusedView(), view1); in TEST_F()
398 EXPECT_EQ(focus_manager->GetFocusedView(), view1); in TEST_F()
/external/chromium_org/chrome/test/base/
Dinteractive_test_utils_views.cc26 DCHECK(focus_manager->GetFocusedView()); in IsViewFocused()
27 return focus_manager->GetFocusedView()->id() == vid; in IsViewFocused()
/external/chromium_org/chrome/browser/chromeos/ui/
Dfocus_ring_controller.cc42 focused_view = widget_->GetFocusManager()->GetFocusedView(); in UpdateFocusRing()
101 DCHECK_EQ(focused_now, widget_->GetFocusManager()->GetFocusedView()); in OnDidChangeFocus()
/external/chromium_org/chrome/browser/ui/views/
Dconstrained_window_views_browsertest.cc168 focus_manager->GetFocusedView()); in IN_PROC_BROWSER_TEST_F()
183 focus_manager->GetFocusedView()); in IN_PROC_BROWSER_TEST_F()
198 focus_manager->GetFocusedView()); in IN_PROC_BROWSER_TEST_F()
208 focus_manager->GetFocusedView()); in IN_PROC_BROWSER_TEST_F()
215 focus_manager->GetFocusedView()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ui/views/controls/native/
Dnative_view_host.cc217 if (!focus_manager || !focus_manager->GetFocusedView()) in ClearFocus()
224 if (!focus_manager->GetFocusedView()) in ClearFocus()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider_views.cc38 FocusWillChange(NULL, focus_manager_->GetFocusedView()); in ViewFocusChangeWaiter()
151 views::View* focused_view = focus_manager->GetFocusedView(); in GetFocusedViewID()
/external/chromium/chrome/browser/ui/views/
Daccessible_pane_view.cc107 views::View* focused_view = GetFocusManager()->GetFocusedView(); in LocationBarSelectAll()
162 views::View* focused_view = focus_manager_->GetFocusedView(); in AcceleratorPressed()
/external/chromium_org/chrome/browser/chromeos/login/
Dsession_login_browsertest.cc54 const views::View* focused_view = focus_manager->GetFocusedView(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ui/views/controls/webview/
Dwebview.cc206 if (focus_manager && focus_manager->GetFocusedView() == this) in RenderViewHostChanged()
248 if (focus_manager && focus_manager->GetFocusedView() == this) in AttachWebContents()
/external/chromium/chrome/browser/ui/touch/frame/
Dtouch_browser_frame_view.cc39 return view->Contains(view->GetFocusManager()->GetFocusedView()); in TabContentsHasFocus()
248 GetFocusManager()->GetFocusedView()) == GENERIC); in Observe()
/external/chromium/chrome/browser/ui/views/tab_contents/
Dnative_tab_contents_container_win.cc67 if (GetFocusManager()->GetFocusedView() == this) in RenderViewHostChanged()
Dnative_tab_contents_container_gtk.cc51 if (focus_manager->GetFocusedView() == this) in RenderViewHostChanged()

123