Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/ui/views/tab_contents/
Dnative_tab_contents_container_gtk.cc50 views::FocusManager* focus_manager = GetFocusManager(); in RenderViewHostChanged() local
51 if (focus_manager->GetFocusedView() == this) in RenderViewHostChanged()
65 views::FocusManager* focus_manager = GetFocusManager(); in TabContentsFocused() local
66 if (!focus_manager) { in TabContentsFocused()
70 focus_manager->SetFocusedView(this); in TabContentsFocused()
115 views::FocusManager* focus_manager = GetFocusManager(); in RequestFocus() local
116 if (focus_manager) in RequestFocus()
117 focus_manager->SetFocusedView(NULL); in RequestFocus()
Dtab_contents_view_touch.cc185 views::FocusManager* focus_manager = in StoreFocus() local
187 if (focus_manager) { in StoreFocus()
190 views::View* focused_view = focus_manager->GetFocusedView(); in StoreFocus()
203 views::FocusManager* focus_manager = in RestoreFocus() local
207 DCHECK(focus_manager != NULL) << "No focus manager when restoring focus."; in RestoreFocus()
209 if (last_focused_view->IsFocusableInRootView() && focus_manager && in RestoreFocus()
210 focus_manager->ContainsView(last_focused_view)) { in RestoreFocus()
251 views::FocusManager* focus_manager = in TakeFocus() local
256 if (focus_manager) in TakeFocus()
257 focus_manager->AdvanceFocus(reverse); in TakeFocus()
Dtab_contents_view_views.cc172 views::FocusManager* focus_manager = in StoreFocus() local
174 if (focus_manager) { in StoreFocus()
177 views::View* focused_view = focus_manager->GetFocusedView(); in StoreFocus()
191 views::FocusManager* focus_manager = in RestoreFocus() local
195 DCHECK(focus_manager != NULL) << "No focus manager when restoring focus."; in RestoreFocus()
197 if (last_focused_view->IsFocusableInRootView() && focus_manager && in RestoreFocus()
198 focus_manager->ContainsView(last_focused_view)) { in RestoreFocus()
240 views::FocusManager* focus_manager = in TakeFocus() local
245 if (focus_manager) in TakeFocus()
246 focus_manager->AdvanceFocus(reverse); in TakeFocus()
Dtab_contents_view_gtk.cc301 views::FocusManager* focus_manager = in StoreFocus() local
303 if (focus_manager) { in StoreFocus()
306 views::View* focused_view = focus_manager->GetFocusedView(); in StoreFocus()
319 views::FocusManager* focus_manager = in RestoreFocus() local
323 DCHECK(focus_manager != NULL) << "No focus manager when restoring focus."; in RestoreFocus()
325 if (last_focused_view->IsFocusableInRootView() && focus_manager && in RestoreFocus()
326 focus_manager->ContainsView(last_focused_view)) { in RestoreFocus()
358 views::FocusManager* focus_manager = in TakeFocus() local
363 if (focus_manager) in TakeFocus()
364 focus_manager->AdvanceFocus(reverse); in TakeFocus()
Dnative_tab_contents_container_win.cc77 views::FocusManager* focus_manager = GetFocusManager(); in TabContentsFocused() local
78 if (!focus_manager) { in TabContentsFocused()
82 focus_manager->SetFocusedView(this); in TabContentsFocused()
Dnative_tab_contents_view_win.cc267 views::FocusManager* focus_manager = WidgetWin::GetFocusManager(); in GetFocusManager() local
268 if (focus_manager) { in GetFocusManager()
272 return focus_manager; in GetFocusManager()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider_views.cc26 ViewFocusChangeWaiter(views::FocusManager* focus_manager, in ViewFocusChangeWaiter() argument
30 : focus_manager_(focus_manager), in ViewFocusChangeWaiter()
148 views::FocusManager* focus_manager = in GetFocusedViewID() local
150 DCHECK(focus_manager); in GetFocusedViewID()
151 views::View* focused_view = focus_manager->GetFocusedView(); in GetFocusedViewID()
162 views::FocusManager* focus_manager = in WaitForFocusedViewIDToChange() local
166 new ViewFocusChangeWaiter(focus_manager, in WaitForFocusedViewIDToChange()
/external/chromium/chrome/browser/chromeos/login/
Dwizard_controller_browsertest.cc271 views::FocusManager* focus_manager = NULL; in IN_PROC_BROWSER_TEST_F() local
280 focus_manager = controller()->contents()->GetFocusManager(); in IN_PROC_BROWSER_TEST_F()
284 focus_manager->ProcessAccelerator(accel_enterprise_enrollment_screen)); in IN_PROC_BROWSER_TEST_F()
288 focus_manager = controller()->contents()->GetFocusManager(); in IN_PROC_BROWSER_TEST_F()
291 EXPECT_TRUE(focus_manager->ProcessAccelerator(accel_account_screen)); in IN_PROC_BROWSER_TEST_F()
294 focus_manager = controller()->contents()->GetFocusManager(); in IN_PROC_BROWSER_TEST_F()
297 EXPECT_TRUE(focus_manager->ProcessAccelerator(accel_network_screen)); in IN_PROC_BROWSER_TEST_F()
300 focus_manager = controller()->contents()->GetFocusManager(); in IN_PROC_BROWSER_TEST_F()
303 EXPECT_TRUE(focus_manager->ProcessAccelerator(accel_update_screen)); in IN_PROC_BROWSER_TEST_F()
306 focus_manager = controller()->contents()->GetFocusManager(); in IN_PROC_BROWSER_TEST_F()
[all …]
Duser_controller.cc216 views::FocusManager* focus_manager = controls_window_->GetFocusManager(); in ClearAndEnablePassword() local
217 if (focus_manager) in ClearAndEnablePassword()
218 focus_manager->ClearFocus(); in ClearAndEnablePassword()
/external/chromium/chrome/browser/ui/views/
Dunhandled_keyboard_event_handler.cc19 views::FocusManager* focus_manager) { in HandleKeyboardEvent() argument
20 if (!focus_manager) { in HandleKeyboardEvent()
51 if (focus_manager->ProcessAccelerator(accelerator)) { in HandleKeyboardEvent()
Daccessibility_event_router_views_unittest.cc170 views::FocusManager* focus_manager = contents->GetWidget()->GetFocusManager(); in TEST_F() local
172 focus_manager->AdvanceFocus(false); in TEST_F()
177 focus_manager->AdvanceFocus(false); in TEST_F()
182 focus_manager->AdvanceFocus(false); in TEST_F()
Dunhandled_keyboard_event_handler.h24 views::FocusManager* focus_manager);
Dfind_bar_host.cc296 focus_manager()->RegisterAccelerator(escape, this);
302 focus_manager()->UnregisterAccelerator(escape, this);
Ddropdown_bar_host.h115 views::FocusManager* focus_manager() const { return focus_manager_; } in focus_manager() function
Dtask_manager_view.cc577 views::FocusManager* focus_manager = instance_->GetFocusManager(); in Show() local
578 if (focus_manager) in Show()
579 focus_manager->SetFocusedView(instance_->tab_table_); in Show()
/external/chromium/chrome/browser/ui/views/frame/
Dbrowser_view.cc764 views::FocusManager* focus_manager = GetFocusManager(); in SetFocusToLocationBar() local
765 DCHECK(focus_manager); in SetFocusToLocationBar()
766 focus_manager->ClearFocus(); in SetFocusToLocationBar()
1079 views::FocusManager* focus_manager = GetFocusManager(); local
1080 DCHECK(focus_manager);
1121 focus_manager->ProcessAccelerator(accelerator);
2110 views::FocusManager* focus_manager = GetFocusManager(); local
2111 DCHECK(focus_manager);
2112 if (focus_manager->GetFocusedView() == location_bar)
2113 focus_manager->ClearFocus();
[all …]
/external/chromium/chrome/browser/ui/find_bar/
Dfind_bar_host_browsertest.cc739 views::FocusManager* focus_manager = in IN_PROC_BROWSER_TEST_F() local
746 focus_manager->GetCurrentTargetForAccelerator(escape); in IN_PROC_BROWSER_TEST_F()
753 focus_manager->GetCurrentTargetForAccelerator(escape); in IN_PROC_BROWSER_TEST_F()
764 focus_manager->GetCurrentTargetForAccelerator(escape)); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/ui/views/location_bar/
Dlocation_bar_view.cc833 views::FocusManager* focus_manager = GetFocusManager(); in OnSetFocus() local
834 if (!focus_manager) { in OnSetFocus()
838 focus_manager->SetFocusedView(this); in OnSetFocus()
/external/chromium/chrome/browser/renderer_host/
Drender_widget_host_view_win.cc492 views::FocusManager* focus_manager = in Blur() local
495 if (focus_manager) in Blur()
496 focus_manager->ClearFocus(); in Blur()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_win.cc1776 views::FocusManager* focus_manager = parent_view_->GetFocusManager(); in OnSetFocus() local
1777 if (focus_manager) { in OnSetFocus()
1780 focus_manager->SetFocusedView(parent_view_); in OnSetFocus()