Searched defs:accelerator (Results 1 - 25 of 115) sorted by relevance

12345

/external/chromium_org/ash/system/chromeos/
H A Dkeyboard_brightness_controller.cc11 #include "ui/base/accelerators/accelerator.h"
16 const ui::Accelerator& accelerator) {
17 if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_DOWN) {
28 const ui::Accelerator& accelerator) {
29 if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_UP) {
15 HandleKeyboardBrightnessDown( const ui::Accelerator& accelerator) argument
27 HandleKeyboardBrightnessUp( const ui::Accelerator& accelerator) argument
/external/chromium_org/chrome/browser/ui/extensions/
H A Daccelerator_priority.cc11 #include "ui/base/accelerators/accelerator.h"
14 const ui::Accelerator& accelerator,
19 if (accelerator ==
28 const ui::Accelerator& accelerator,
32 accelerator,
13 GetAcceleratorPriority( const ui::Accelerator& accelerator, const extensions::Extension* extension) argument
27 GetAcceleratorPriorityById( const ui::Accelerator& accelerator, const std::string& extension_id, content::BrowserContext* browser_context) argument
/external/chromium_org/ash/accelerators/
H A Dnested_accelerator_delegate.cc10 #include "ui/base/accelerators/accelerator.h"
19 bool IsPossibleAcceleratorNotForMenu(const ui::Accelerator& accelerator) { argument
24 if (accelerator.type() == ui::ET_KEY_PRESSED &&
25 (accelerator.modifiers() & (ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN))) {
26 const ui::KeyboardCode key_code = accelerator.key_code();
36 bool ShouldProcessAcceleratorNow(const ui::Accelerator& accelerator) { argument
37 if (!IsPossibleAcceleratorNotForMenu(accelerator))
57 const ui::Accelerator& accelerator) {
58 if (!ShouldProcessAcceleratorNow(accelerator))
65 return accelerator_controller->Process(accelerator)
56 ProcessAccelerator( const ui::Accelerator& accelerator) argument
[all...]
H A Daccelerator_delegate.cc10 #include "ui/base/accelerators/accelerator.h"
23 const ui::Accelerator& accelerator,
31 // accelerator to prevent windows from seeing unexpected key up events.
32 Shell::GetInstance()->accelerator_controller()->Process(accelerator);
35 if (!ShouldProcessAcceleratorNow(key_event, accelerator))
37 return Shell::GetInstance()->accelerator_controller()->Process(accelerator);
49 // Returns true if the |accelerator| should be processed now, inside Ash's env
53 const ui::Accelerator& accelerator) {
66 if (shell->accelerator_controller()->IsReserved(accelerator))
80 if (shell->accelerator_controller()->IsPreferred(accelerator))
22 ProcessAccelerator(const ui::KeyEvent& key_event, const ui::Accelerator& accelerator, KeyType key_type) argument
51 ShouldProcessAcceleratorNow( const ui::KeyEvent& event, const ui::Accelerator& accelerator) argument
[all...]
H A Dfocus_manager_factory.cc23 const ui::Accelerator& accelerator) {
27 return controller->Process(accelerator);
33 const ui::Accelerator& accelerator) const {
36 if (controller && controller->IsRegistered(accelerator))
22 ProcessAccelerator( const ui::Accelerator& accelerator) argument
/external/chromium_org/ash/system/chromeos/brightness/
H A Dbrightness_controller_chromeos.cc10 #include "ui/base/accelerators/accelerator.h"
16 const ui::Accelerator& accelerator) {
17 if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_DOWN)
27 const ui::Accelerator& accelerator) {
28 if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_UP)
15 HandleBrightnessDown( const ui::Accelerator& accelerator) argument
26 HandleBrightnessUp( const ui::Accelerator& accelerator) argument
/external/chromium_org/ash/test/
H A Dtest_volume_control_delegate.cc20 const ui::Accelerator& accelerator) {
22 last_accelerator_ = accelerator;
27 const ui::Accelerator& accelerator) {
29 last_accelerator_ = accelerator;
34 const ui::Accelerator& accelerator) {
36 last_accelerator_ = accelerator;
19 HandleVolumeMute( const ui::Accelerator& accelerator) argument
26 HandleVolumeDown( const ui::Accelerator& accelerator) argument
33 HandleVolumeUp( const ui::Accelerator& accelerator) argument
/external/chromium_org/chrome/browser/ui/views/
H A Daccelerator_utils_aura.cc8 #include "ui/base/accelerators/accelerator.h"
16 bool IsChromeAccelerator(const ui::Accelerator& accelerator, Profile* profile) { argument
20 if (accel_data.keycode == accelerator.key_code() &&
21 accel_data.modifiers == accelerator.modifiers()) {
31 if (it->keycode == accelerator.key_code() &&
32 it->modifiers == accelerator.modifiers())
40 ui::Accelerator accelerator; local
44 if (GetStandardAcceleratorForCommandId(command_id, &accelerator) ||
47 &accelerator)) {
48 return accelerator;
[all...]
H A Daccelerator_table.cc9 #include "ui/base/accelerators/accelerator.h"
174 // if Ash has a corresponding accelerator.
220 ui::Accelerator* accelerator) {
229 *accelerator = ui::Accelerator(ash::kAcceleratorData[j].keycode,
241 ui::Accelerator* accelerator) {
246 *accelerator = ui::Accelerator(ui::VKEY_X, ui::EF_CONTROL_DOWN);
249 *accelerator = ui::Accelerator(ui::VKEY_C, ui::EF_CONTROL_DOWN);
252 *accelerator = ui::Accelerator(ui::VKEY_V, ui::EF_CONTROL_DOWN);
218 GetAshAcceleratorForCommandId(int command_id, HostDesktopType host_desktop_type, ui::Accelerator* accelerator) argument
240 GetStandardAcceleratorForCommandId(int command_id, ui::Accelerator* accelerator) argument
/external/chromium_org/ash/shelf/
H A Dshelf_alignment_menu.cc49 ui::Accelerator* accelerator) {
47 GetAcceleratorForCommandId( int command_id, ui::Accelerator* accelerator) argument
/external/chromium_org/ash/shell/
H A Dcontext_menu.cc48 ui::Accelerator* accelerator) {
46 GetAcceleratorForCommandId( int command_id, ui::Accelerator* accelerator) argument
/external/chromium_org/chrome/browser/extensions/
H A Dglobal_shortcut_listener.cc9 #include "ui/base/accelerators/accelerator.h"
26 const ui::Accelerator& accelerator, Observer* observer) {
31 AcceleratorMap::const_iterator it = accelerator_map_.find(accelerator);
33 // The accelerator has been registered.
37 if (!RegisterAcceleratorImpl(accelerator)) {
46 accelerator_map_[accelerator] = observer;
51 const ui::Accelerator& accelerator, Observer* observer) {
56 AcceleratorMap::iterator it = accelerator_map_.find(accelerator);
62 UnregisterAcceleratorImpl(accelerator);
110 const ui::Accelerator& accelerator) {
25 RegisterAccelerator( const ui::Accelerator& accelerator, Observer* observer) argument
50 UnregisterAccelerator( const ui::Accelerator& accelerator, Observer* observer) argument
109 NotifyKeyPressed( const ui::Accelerator& accelerator) argument
[all...]
H A Dglobal_shortcut_listener_chromeos.cc44 const ui::Accelerator& accelerator) {
47 if (controller->IsRegistered(accelerator))
51 controller->Register(accelerator, this);
52 return controller->IsRegistered(accelerator);
56 const ui::Accelerator& accelerator) {
60 ash::Shell::GetInstance()->accelerator_controller()->Unregister(accelerator,
65 const ui::Accelerator& accelerator) {
72 NotifyKeyPressed(accelerator);
43 RegisterAcceleratorImpl( const ui::Accelerator& accelerator) argument
55 UnregisterAcceleratorImpl( const ui::Accelerator& accelerator) argument
64 AcceleratorPressed( const ui::Accelerator& accelerator) argument
H A Dglobal_shortcut_listener_ozone.cc47 const ui::Accelerator& accelerator) {
59 const ui::Accelerator& accelerator) {
46 RegisterAcceleratorImpl( const ui::Accelerator& accelerator) argument
58 UnregisterAcceleratorImpl( const ui::Accelerator& accelerator) argument
/external/chromium_org/chrome/browser/media_galleries/
H A Dmedia_gallery_context_menu.cc33 int command_id, ui::Accelerator* accelerator) {
32 GetAcceleratorForCommandId( int command_id, ui::Accelerator* accelerator) argument
/external/chromium_org/chrome/browser/ui/ash/
H A Dime_controller_chromeos.cc8 #include "ui/base/accelerators/accelerator.h"
16 bool ImeController::HandlePreviousIme(const ui::Accelerator& accelerator) { argument
19 return manager->GetActiveIMEState()->SwitchToPreviousInputMethod(accelerator);
22 bool ImeController::HandleSwitchIme(const ui::Accelerator& accelerator) { argument
25 return manager->GetActiveIMEState()->SwitchInputMethod(accelerator);
29 const ui::Accelerator& accelerator) {
30 ui::KeyboardCode key = accelerator.key_code();
31 int modifiers = accelerator.modifiers();
33 // with the shift key. To get the right accelerator from our static table
34 // we modify the received accelerator t
28 RemapAccelerator( const ui::Accelerator& accelerator) argument
[all...]
H A Dvolume_controller_chromeos.cc53 bool VolumeController::HandleVolumeMute(const ui::Accelerator& accelerator) { argument
54 if (accelerator.key_code() == ui::VKEY_VOLUME_MUTE)
61 bool VolumeController::HandleVolumeDown(const ui::Accelerator& accelerator) { argument
62 if (accelerator.key_code() == ui::VKEY_VOLUME_DOWN)
78 bool VolumeController::HandleVolumeUp(const ui::Accelerator& accelerator) { argument
79 if (accelerator.key_code() == ui::VKEY_VOLUME_UP)
/external/chromium_org/chrome/browser/ui/ash/launcher/
H A Dlauncher_application_menu_item_model.cc38 ui::Accelerator* accelerator) {
36 GetAcceleratorForCommandId( int command_id, ui::Accelerator* accelerator) argument
/external/chromium_org/chrome/browser/ui/website_settings/
H A Dpermission_menu_model.cc78 ui::Accelerator* accelerator) {
76 GetAcceleratorForCommandId( int command_id, ui::Accelerator* accelerator) argument
/external/chromium_org/chrome/common/extensions/
H A Dcommand.h12 #include "ui/base/accelerators/accelerator.h"
29 const std::string& accelerator,
36 // Parse a string as an accelerator. If the accelerator is unparsable then
38 static ui::Accelerator StringToAccelerator(const std::string& accelerator,
41 // Returns the string representation of an accelerator without localizing the
42 // shortcut text (like accelerator::GetShortcutText() does).
43 static std::string AcceleratorToString(const ui::Accelerator& accelerator);
45 // Return true if the specified accelerator is one of the following multimedia
48 static bool IsMediaKey(const ui::Accelerator& accelerator);
63 const ui::Accelerator& accelerator() const { return accelerator_; } function in class:extensions::Command
68 set_accelerator(ui::Accelerator accelerator) argument
[all...]
/external/chromium_org/chrome/test/base/
H A Dmenu_model_test.cc20 ui::Accelerator* accelerator) {
18 GetAcceleratorForCommandId( int command_id, ui::Accelerator* accelerator) argument
/external/chromium_org/ui/app_list/
H A Dapp_list_menu.cc74 ui::Accelerator* accelerator) {
73 GetAcceleratorForCommandId(int command_id, ui::Accelerator* accelerator) argument
/external/chromium_org/ui/wm/core/
H A Daccelerator_filter.cc7 #include "ui/base/accelerators/accelerator.h"
58 ui::Accelerator accelerator = CreateAcceleratorFromKeyEvent(*event); local
64 if (delegate_->ProcessAccelerator(*event, accelerator, key_type))
72 ui::Accelerator accelerator(key_event.key_code(),
75 accelerator.set_type(ui::ET_KEY_RELEASED);
76 accelerator.set_is_repeat(key_event.IsRepeat());
77 return accelerator;
H A Dnested_accelerator_dispatcher_linux.cc9 #include "ui/base/accelerators/accelerator.h"
70 ui::Accelerator accelerator = CreateAcceleratorFromKeyEvent(key_event); variable
72 switch (delegate_->ProcessAccelerator(accelerator)) {
H A Dnested_accelerator_dispatcher_win.cc10 #include "ui/base/accelerators/accelerator.h"
46 ui::Accelerator accelerator = CreateAcceleratorFromKeyEvent(key_event); variable
48 switch (delegate_->ProcessAccelerator(accelerator)) {

Completed in 463 milliseconds

12345