Home
last modified time | relevance | path

Searched refs:focused_view (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/ui/views/focus/
Dfocus_traversal_unittest.cc591 View* focused_view = GetFocusManager()->GetFocusedView(); in TEST_F() local
592 EXPECT_TRUE(focused_view != NULL); in TEST_F()
593 if (focused_view) in TEST_F()
594 EXPECT_EQ(kTraversalIDs[j], focused_view->id()); in TEST_F()
603 View* focused_view = GetFocusManager()->GetFocusedView(); in TEST_F() local
604 EXPECT_TRUE(focused_view != NULL); in TEST_F()
605 if (focused_view) in TEST_F()
606 EXPECT_EQ(kTraversalIDs[j], focused_view->id()); in TEST_F()
637 View* focused_view; in TEST_F() local
643 focused_view = GetFocusManager()->GetFocusedView(); in TEST_F()
[all …]
Dfocus_manager.cc150 views::View* focused_view = focused_view_; in AdvanceFocus() local
154 if (focused_view == focused_view_) in AdvanceFocus()
181 const views::View* focused_view = GetFocusedView(); in RotatePaneFocus() local
182 if (focused_view) { in RotatePaneFocus()
184 if (panes[i] && panes[i]->Contains(focused_view)) { in RotatePaneFocus()
214 focused_view = GetFocusedView(); in RotatePaneFocus()
215 if (pane == focused_view || pane->Contains(focused_view)) in RotatePaneFocus()
350 views::View* focused_view = GetStoredFocusView(); in ClearFocus() local
353 SetStoredFocusView(focused_view); in ClearFocus()
357 View* focused_view = focused_view_; in StoreFocusedView() local
[all …]
/external/chromium_org/chrome/browser/chromeos/ui/
Dfocus_ring_controller.cc40 views::View* focused_view = NULL; in UpdateFocusRing() local
42 focused_view = widget_->GetFocusManager()->GetFocusedView(); in UpdateFocusRing()
46 if (!focused_view || in UpdateFocusRing()
47 focused_view->ConvertRectToWidget(focused_view->bounds()) == in UpdateFocusRing()
56 focus_ring_layer_->SetForView(focused_view); in UpdateFocusRing()
/external/chromium/chrome/browser/ui/views/
Daccessible_pane_view.cc107 views::View* focused_view = GetFocusManager()->GetFocusedView(); in LocationBarSelectAll() local
108 if (focused_view && in LocationBarSelectAll()
109 focused_view->GetClassName() == LocationBarView::kViewClassName) { in LocationBarSelectAll()
110 static_cast<LocationBarView*>(focused_view)->SelectAll(); in LocationBarSelectAll()
162 views::View* focused_view = focus_manager_->GetFocusedView(); in AcceleratorPressed() local
163 if ((focused_view->GetClassName() == LocationBarView::kViewClassName || in AcceleratorPressed()
164 focused_view->GetClassName() == views::NativeViewHost::kViewClassName)) { in AcceleratorPressed()
/external/chromium_org/ui/views/
Daccessible_pane_view.cc70 View* focused_view = focus_manager_->GetFocusedView(); in SetPaneFocus() local
71 if (focused_view && !ContainsForFocusSearch(this, focused_view)) { in SetPaneFocus()
74 view_storage->StoreView(last_focused_view_storage_id_, focused_view); in SetPaneFocus()
166 views::View* focused_view = focus_manager_->GetFocusedView(); in AcceleratorPressed() local
167 if (!ContainsForFocusSearch(this, focused_view)) in AcceleratorPressed()
179 focused_view->GetWidget()->Deactivate(); 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() local
55 EXPECT_TRUE(focused_view != NULL); in IN_PROC_BROWSER_TEST_F()
56 EXPECT_EQ(VIEW_ID_OMNIBOX, focused_view->id()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/views/tab_contents/
Dchrome_web_contents_view_delegate_views.cc102 views::View* focused_view = GetFocusManager()->GetFocusedView(); in StoreFocus() local
103 if (focused_view) in StoreFocus()
104 view_storage->StoreView(last_focused_view_storage_id_, focused_view); in StoreFocus()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider_views.cc151 views::View* focused_view = focus_manager->GetFocusedView(); in GetFocusedViewID() local
152 if (focused_view) in GetFocusedViewID()
153 *view_id = focused_view->GetID(); in GetFocusedViewID()
/external/chromium_org/ui/views/widget/
Dnative_widget_delegate.h61 virtual void OnNativeFocus(gfx::NativeView focused_view) = 0;
62 virtual void OnNativeBlur(gfx::NativeView focused_view) = 0;
/external/chromium/chrome/browser/ui/views/tab_contents/
Dtab_contents_view_touch.cc190 views::View* focused_view = focus_manager->GetFocusedView(); in StoreFocus() local
191 if (focused_view) in StoreFocus()
192 view_storage->StoreView(last_focused_view_storage_id_, focused_view); in StoreFocus()
Dtab_contents_view_views.cc177 views::View* focused_view = focus_manager->GetFocusedView(); in StoreFocus() local
178 if (focused_view) in StoreFocus()
179 view_storage->StoreView(last_focused_view_storage_id_, focused_view); in StoreFocus()
Dtab_contents_view_gtk.cc306 views::View* focused_view = focus_manager->GetFocusedView(); in StoreFocus() local
307 if (focused_view) in StoreFocus()
308 view_storage->StoreView(last_focused_view_storage_id_, focused_view); in StoreFocus()
/external/chromium_org/ui/views/controls/tabbed_pane/
Dtabbed_pane.cc291 const View* focused_view = focus_manager->GetFocusedView(); in SelectTabAt() local
292 if (focused_view && contents_->Contains(focused_view) && in SelectTabAt()
293 !tab->contents()->Contains(focused_view)) in SelectTabAt()
/external/chromium_org/chrome/browser/ui/views/autofill/
Dautofill_dialog_views_unittest.cc113 views::View* focused_view = focus_manager->GetFocusedView(); in TEST_F() local
115 focused_view->GetClassName()); in TEST_F()
/external/chromium_org/chrome/browser/ui/views/
Dkeyboard_access_browsertest.cc152 const views::View* focused_view = focus_manager->GetFocusedView(); in GetFocusedViewID() local
153 return focused_view ? focused_view->id() : -1; in GetFocusedViewID()
/external/chromium/chrome/browser/ui/views/frame/
Dbrowser_view.cc835 views::View* focused_view = GetFocusManager()->GetFocusedView(); in RotatePaneFocus() local
837 if (focused_view) { in RotatePaneFocus()
839 if (accessible_views[i] == focused_view || in RotatePaneFocus()
840 accessible_views[i]->Contains(focused_view)) { in RotatePaneFocus()
849 if (focused_view && index >= pane_count) in RotatePaneFocus()
877 views::View* focused_view = GetFocusManager()->GetFocusedView(); in SaveFocusedView() local
878 if (focused_view) in SaveFocusedView()
879 view_storage->StoreView(last_focused_view_storage_id_, focused_view); in SaveFocusedView()
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dtoolbar_view.cc689 const views::View* focused_view = focus_manager()->GetFocusedView(); in AcceleratorPressed() local
690 if (focused_view && (focused_view->id() == VIEW_ID_OMNIBOX)) in AcceleratorPressed()
/external/chromium_org/ui/message_center/views/
Dmessage_center_view.cc1165 View* focused_view = NULL; in NotificationsChanged() local
1168 focused_view = focus_manager->GetFocusedView(); in NotificationsChanged()
1178 if (focus_manager && focused_view) in NotificationsChanged()
1179 focus_manager->SetFocusedView(focused_view); in NotificationsChanged()
/external/chromium_org/ash/wm/
Dimmersive_fullscreen_controller.cc685 views::View* focused_view = widget_->GetFocusManager()->GetFocusedView(); in UpdateFocusRevealedLock() local
686 if (top_container_->Contains(focused_view)) in UpdateFocusRevealedLock()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_drag_controller.cc833 views::View* focused_view = in SaveFocus() local
835 if (focused_view) in SaveFocus()
837 focused_view); in SaveFocus()