/external/chromium_org/chrome/test/chromedriver/ |
key_converter_unittest.cc | 35 EXPECT_EQ(expected_events[i].key_code, it->key_code); 57 void CheckNonShiftChar(ui::KeyboardCode key_code, char character) { 67 EXPECT_EQ(key_code, it->key_code) << "Char: " << character; 74 EXPECT_EQ(key_code, it->key_code) << "Char: " << character; 77 void CheckShiftChar(ui::KeyboardCode key_code, char character, char lower) { 87 EXPECT_EQ(ui::VKEY_SHIFT, it->key_code) << "Char: " << character; 89 EXPECT_EQ(key_code, it->key_code) << "Char: " << character [all...] |
/external/chromium_org/ui/events/ |
event_unittest.cc | 103 KeyboardCode key_code; member in struct:ui::__anon14829 178 kTestData[i].key_code, 182 << " Index:" << i << " key_code:" << kTestData[i].key_code; 269 EXPECT_EQ(copied_key->key_code(), key.key_code()); 284 // Regardless the KeyEvent.key_code (VKEY_RETURN), code should be
|
/external/chromium_org/ash/accelerators/ |
accelerator_filter.cc | 23 // Returns true if |key_code| is a key usually handled directly by the shell. 24 bool IsSystemKey(ui::KeyboardCode key_code) { 26 switch (key_code) { 109 ui::Accelerator accelerator(event->key_code(), 123 if (IsSystemKey(event->key_code()) && !CanConsumeSystemKeys(target)) {
|
accelerator_controller.cc | 130 if (accelerator.key_code() == ui::VKEY_TAB) 146 if (accelerator.key_code() == ui::VKEY_TAB) 169 if (accelerator.key_code() == ui::VKEY_MEDIA_LAUNCH_APP1) 175 bool HandleDisableCapsLock(ui::KeyboardCode key_code, 264 bool HandleNewTab(ui::KeyboardCode key_code) { 265 if (key_code == ui::VKEY_T) 523 bool HandleToggleAppList(ui::KeyboardCode key_code, 530 if (key_code == ui::VKEY_LWIN && 534 if (key_code == ui::VKEY_LWIN) 539 DCHECK_EQ(ui::VKEY_LWIN, accelerator.key_code()); 903 const ui::KeyboardCode key_code = accelerator.key_code(); local [all...] |
/external/chromium_org/content/test/ |
mock_keyboard_driver_win.cc | 130 int key_code; member in struct:content::__anon8298 146 keyboard_states_[kModifierMasks[i].key_code] = kKeyDownMask; 153 int MockKeyboardDriverWin::GetCharacters(int key_code, 159 int length = ToUnicodeEx(key_code, MapVirtualKey(key_code, 0),
|
/external/chromium_org/chrome/browser/extensions/api/commands/ |
command_service.cc | 88 return (command.accelerator().key_code() >= ui::VKEY_0 && 89 command.accelerator().key_code() <= ui::VKEY_9); 136 return (accelerator.key_code() == ui::VKEY_MEDIA_NEXT_TRACK || 137 accelerator.key_code() == ui::VKEY_MEDIA_PREV_TRACK || 138 accelerator.key_code() == ui::VKEY_MEDIA_PLAY_PAUSE || 139 accelerator.key_code() == ui::VKEY_MEDIA_STOP); 194 if (type == ACTIVE_ONLY && shortcut_assigned.key_code() == ui::VKEY_UNKNOWN) 201 if (shortcut_assigned.key_code() != ui::VKEY_UNKNOWN) 217 if (accelerator.key_code() == ui::VKEY_UNKNOWN) 508 *active = (shortcut_assigned.key_code() != ui::VKEY_UNKNOWN) [all...] |
command_service_browsertest.cc | 68 EXPECT_EQ(ui::VKEY_F, accelerator.key_code()); 80 EXPECT_EQ(ui::VKEY_UNKNOWN, accelerator.key_code()); 89 EXPECT_EQ(ui::VKEY_UNKNOWN, accelerator.key_code());
|
/external/chromium_org/chrome/browser/extensions/api/input/ |
input.cc | 74 int key_code; local 82 EXTENSION_FUNCTION_VALIDATE(params->GetInteger("keyCode", &key_code)); 89 key_code,
|
/external/chromium_org/chrome/browser/extensions/ |
global_shortcut_listener_win.cc | 61 int key_code = HIWORD(lparam); local 67 ui::KeyboardCodeForWindowsKeyCode(key_code), modifiers); 91 accelerator.key_code());
|
/external/chromium_org/content/public/test/ |
browser_test_utils.cc | 122 ui::KeyboardCode key_code, 127 event->windowsKeyCode = key_code; 137 event->text[0] = key_code; 138 event->unmodifiedText[0] = key_code; 144 ui::KeyboardCode key_code, 148 BuildSimpleWebKeyEvent(type, key_code, native_key_code, modifiers, &event); 263 ui::KeyboardCode key_code, 269 web_contents, key_code, NULL, control, shift, alt, command); 273 ui::KeyboardCode key_code, 329 key_code, [all...] |
/external/chromium_org/ui/keyboard/ |
keyboard_ui_handler.cc | 104 int key_code; local 111 !params->GetInteger("keyCode", &key_code) || 127 key_code,
|
keyboard_util.h | 55 // is the unicode value of the character, |key_code| is the legacy key code 62 int key_code,
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
star_view.cc | 60 if (event.key_code() == ui::VKEY_SPACE || 61 event.key_code() == ui::VKEY_RETURN) {
|
/external/chromium_org/ash/keyboard_overlay/ |
keyboard_overlay_view.cc | 58 if ((kCancelKeys[i].key_code == event->key_code()) &&
|
keyboard_overlay_view_unittest.cc | 23 return (lhs.key_code == rhs.key_code) && (lhs.flags == rhs.flags);
|
/external/chromium_org/ash/system/tray/ |
actionable_view.cc | 40 if (event.key_code() == ui::VKEY_SPACE || 41 event.key_code() == ui::VKEY_RETURN) {
|
/external/chromium_org/ash/wm/ |
user_activity_detector.cc | 25 details += base::StringPrintf(" key_code=%d", 26 static_cast<const ui::KeyEvent*>(event)->key_code());
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
bubble_icon_view.cc | 61 if (event.key_code() == ui::VKEY_SPACE || 62 event.key_code() == ui::VKEY_RETURN) {
|
open_pdf_in_reader_view.cc | 70 if (event.key_code() != ui::VKEY_SPACE && 71 event.key_code() != ui::VKEY_RETURN) {
|
script_bubble_icon_view.cc | 76 if (event.key_code() == ui::VKEY_SPACE || 77 event.key_code() == ui::VKEY_RETURN) {
|
zoom_view.cc | 66 if (event.key_code() != ui::VKEY_SPACE && 67 event.key_code() != ui::VKEY_RETURN) {
|
/external/chromium_org/ui/views/corewm/ |
input_method_event_filter.cc | 72 ui::KeyboardCode key_code, 74 ui::TranslatedKeyEvent aura_event(type == ui::ET_KEY_PRESSED, key_code,
|
/external/chromium_org/ui/views/focus/ |
focus_manager_test.h | 51 void PostKeyDown(ui::KeyboardCode key_code); 52 void PostKeyUp(ui::KeyboardCode key_code);
|
/bootable/recovery/ |
ui.h | 113 void EnqueueKey(int key_code); 128 int key_code; member in struct:RecoveryUI::__anon804 136 void process_key(int key_code, int updown); 140 void time_key(int key_code, int count);
|
/external/chromium/chrome/browser/chromeos/login/ |
textfield_with_margin.cc | 39 if (e.key_code() == ui::VKEY_ESCAPE && !text().empty()) {
|