Home
last modified time | relevance | path

Searched refs:accelerator (Results 1 – 25 of 106) sorted by relevance

12345

/external/chromium/chrome/browser/ui/views/
Dkeyboard_overlay_dialog_view.cc62 views::Accelerator accelerator(kCloseAccelerators[i].keycode, in InitDialog() local
66 close_accelerators_.insert(accelerator); in InitDialog()
67 AddAccelerator(accelerator); in InitDialog()
71 views::Accelerator accelerator(browser::kAcceleratorMap[i].keycode, in InitDialog() local
76 if (views::Accelerator(ui::VKEY_MENU, false, false, false) == accelerator) { in InitDialog()
80 if (IsCloseAccelerator(accelerator)) { in InitDialog()
83 AddAccelerator(accelerator); in InitDialog()
90 const views::Accelerator& accelerator) { in AcceleratorPressed() argument
91 if (!IsCloseAccelerator(accelerator)) { in AcceleratorPressed()
92 parent_view_->AcceleratorPressed(accelerator); in AcceleratorPressed()
[all …]
Dfullscreen_exit_bubble.cc31 const std::wstring& accelerator);
52 const std::wstring& accelerator) { in FullscreenExitView() argument
57 WideToUTF16(accelerator)))); in FullscreenExitView()
127 views::Accelerator accelerator(ui::VKEY_UNKNOWN, false, false, false); in FullscreenExitBubble() local
128 bool got_accelerator = frame->GetAccelerator(IDC_FULLSCREEN, &accelerator); in FullscreenExitBubble()
131 this, UTF16ToWideHack(accelerator.GetShortcutText())); in FullscreenExitBubble()
Dkeyboard_overlay_dialog_view.h30 virtual bool AcceleratorPressed(const views::Accelerator& accelerator);
37 bool IsCloseAccelerator(const views::Accelerator& accelerator);
Dunhandled_keyboard_event_handler.cc36 views::Accelerator accelerator( in HandleKeyboardEvent() local
51 if (focus_manager->ProcessAccelerator(accelerator)) { in HandleKeyboardEvent()
Dfind_bar_host.cc171 bool FindBarHost::AcceleratorPressed(const views::Accelerator& accelerator) { in AcceleratorPressed() argument
172 ui::KeyboardCode key = accelerator.GetKeyCode(); in AcceleratorPressed()
173 if (key == ui::VKEY_RETURN && accelerator.IsCtrlDown()) { in AcceleratorPressed()
Dhtml_dialog_view.cc61 bool HtmlDialogView::AcceleratorPressed(const views::Accelerator& accelerator) { in AcceleratorPressed() argument
63 DCHECK_EQ(ui::VKEY_ESCAPE, accelerator.GetKeyCode()); in AcceleratorPressed()
Dprofile_menu_model.cc38 ui::Accelerator* accelerator) { in GetAcceleratorForCommandId() argument
/external/chromium/chrome/browser/ui/cocoa/
Daccelerators_cocoa_unittest.mm16 const ui::AcceleratorCocoa* accelerator =
18 ASSERT_TRUE(accelerator);
19 EXPECT_NSEQ(@"c", accelerator->characters());
20 EXPECT_EQ(static_cast<int>(NSCommandKeyMask), accelerator->modifiers());
25 const ui::AcceleratorCocoa* accelerator =
27 EXPECT_FALSE(accelerator);
Daccelerators_cocoa.mm47 ui::AcceleratorCocoa accelerator(entry.key, entry.modifiers);
48 accelerators_.insert(std::make_pair(entry.command_id, accelerator));
Dmenu_controller.mm120 ui::AcceleratorCocoa accelerator;
121 if (model->GetAcceleratorAt(modelIndex, &accelerator)) {
122 [item setKeyEquivalent:accelerator.characters()];
123 [item setKeyEquivalentModifierMask:accelerator.modifiers()];
/external/chromium/chrome/browser/chromeos/login/
Dguest_user_view.cc75 const views::Accelerator& accelerator) { in AcceleratorPressed() argument
76 if (accelerator == accel_login_off_the_record_) in AcceleratorPressed()
78 else if (accelerator == accel_toggle_accessibility_) in AcceleratorPressed()
80 else if (accelerator == accel_previous_pod_by_arrow_) in AcceleratorPressed()
82 else if (accelerator == accel_next_pod_by_arrow_) in AcceleratorPressed()
Dexisting_user_view.cc102 const views::Accelerator& accelerator) { in AcceleratorPressed() argument
103 if (accelerator == accel_enterprise_enrollment_) { in AcceleratorPressed()
106 } else if (accelerator == accel_login_off_the_record_) { in AcceleratorPressed()
109 } else if (accelerator == accel_toggle_accessibility_) { in AcceleratorPressed()
Dnew_user_view.cc211 bool NewUserView::AcceleratorPressed(const views::Accelerator& accelerator) { in AcceleratorPressed() argument
212 if (accelerator == accel_focus_user_) { in AcceleratorPressed()
214 } else if (accelerator == accel_focus_pass_) { in AcceleratorPressed()
216 } else if (accelerator == accel_enterprise_enrollment_) { in AcceleratorPressed()
218 } else if (accelerator == accel_login_off_the_record_) { in AcceleratorPressed()
220 } else if (accelerator == accel_toggle_accessibility_) { in AcceleratorPressed()
/external/chromium/chrome/browser/chromeos/frame/
Ddom_browser_view.cc41 bool DOMBrowserView::AcceleratorPressed(const views::Accelerator& accelerator) { in AcceleratorPressed() argument
80 ui::Accelerator* accelerator) { in GetAcceleratorForCommandId() argument
81 return GetWidget()->GetAccelerator(command_id, accelerator); in GetAcceleratorForCommandId()
Ddom_browser_view.h33 virtual bool AcceleratorPressed(const views::Accelerator& accelerator)
50 ui::Accelerator* accelerator)
/external/chromium/chrome/browser/notifications/
Dnotification_options_menu_model.h23 ui::Accelerator* accelerator);
48 ui::Accelerator* accelerator);
/external/chromium/chrome/browser/ui/views/frame/
Dbrowser_view.cc439 bool BrowserView::AcceleratorPressed(const views::Accelerator& accelerator) { in AcceleratorPressed() argument
444 if (accelerator.GetKeyCode() == ui::VKEY_LWIN && in AcceleratorPressed()
453 accelerator_table_.find(accelerator); in AcceleratorPressed()
458 UpdateAcceleratorMetrics(accelerator, command_id); in AcceleratorPressed()
462 bool BrowserView::GetAccelerator(int cmd_id, ui::Accelerator* accelerator) { in GetAccelerator() argument
467 *accelerator = views::Accelerator(ui::VKEY_X, false, true, false); in GetAccelerator()
470 *accelerator = views::Accelerator(ui::VKEY_C, false, true, false); in GetAccelerator()
473 *accelerator = views::Accelerator(ui::VKEY_V, false, true, false); in GetAccelerator()
481 *accelerator = it->first; in GetAccelerator()
1090 views::Accelerator accelerator(views_event.key_code(), local
[all …]
Dbrowser_frame_gtk.cc109 ui::Accelerator* accelerator) { in GetAccelerator() argument
110 return browser_view_->GetAccelerator(cmd_id, accelerator); in GetAccelerator()
Dbrowser_frame_win.cc104 ui::Accelerator* accelerator) { in GetAccelerator() argument
105 return browser_view_->GetAccelerator(cmd_id, accelerator); in GetAccelerator()
/external/chromium/chrome/browser/ui/toolbar/
Dwrench_menu_model.h36 ui::Accelerator* accelerator) OVERRIDE;
96 ui::Accelerator* accelerator) OVERRIDE;
/external/chromium/chrome/browser/ui/gtk/
Daccelerators_gtk.cc181 ui::AcceleratorGtk accelerator(kAcceleratorMap[i].keyval, in AcceleratorsGtk() local
184 std::pair<int, ui::AcceleratorGtk>(command_id, accelerator)); in AcceleratorsGtk()
188 primary_accelerators_[command_id] = accelerator; in AcceleratorsGtk()
/external/chromium/chrome/browser/translate/
Doptions_menu_model.h25 ui::Accelerator* accelerator);
/external/chromium/chrome/browser/tab_contents/
Drender_view_context_menu_gtk.h37 ui::Accelerator* accelerator);
Drender_view_context_menu_mac.h33 ui::Accelerator* accelerator);
/external/chromium/chrome/browser/ui/views/tab_contents/
Drender_view_context_menu_views.h39 ui::Accelerator* accelerator);

12345