Home
last modified time | relevance | path

Searched refs:key_code (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium/chrome/browser/extensions/
Dkey_identifier_conversion_views_unittest.cc26 EXPECT_EQ(ui::VKEY_APPS, KeyEventFromKeyIdentifier("Apps").key_code()); in TEST_F()
28 KeyEventFromKeyIdentifier("Nonsense").key_code()); in TEST_F()
32 EXPECT_EQ(ui::VKEY_A, KeyEventFromKeyIdentifier("a").key_code()); in TEST_F()
33 EXPECT_EQ(ui::VKEY_A, KeyEventFromKeyIdentifier("A").key_code()); in TEST_F()
34 EXPECT_EQ(ui::VKEY_OEM_PERIOD, KeyEventFromKeyIdentifier(">").key_code()); in TEST_F()
39 KeyEventFromKeyIdentifier(non_printing_char).key_code()); in TEST_F()
43 EXPECT_EQ(ui::VKEY_A, KeyEventFromKeyIdentifier("U+0041").key_code()); in TEST_F()
44 EXPECT_EQ(ui::VKEY_A, KeyEventFromKeyIdentifier("U+0061").key_code()); in TEST_F()
45 EXPECT_EQ(ui::VKEY_DELETE, KeyEventFromKeyIdentifier("U+007F").key_code()); in TEST_F()
48 EXPECT_EQ(ui::VKEY_UNKNOWN, KeyEventFromKeyIdentifier("U+030A").key_code()); in TEST_F()
[all …]
Dextension_input_api.cc94 if (prototype_event.key_code() == ui::VKEY_UNKNOWN) { in RunImpl()
124 views::KeyEvent event(type, prototype_event.key_code(), flags); in RunImpl()
Dkey_identifier_conversion_views.cc26 const ui::KeyboardCode key_code; member
306 ui::ET_KEY_PRESSED, key.key_code, key.event_flags); in InitializeMaps()
/external/chromium/chrome/browser/chromeos/login/
Dexisting_user_view.cc38 if (e.key_code() == ui::VKEY_TAB) { in OnKeyPressed()
41 } else if (e.key_code() == ui::VKEY_LEFT) { in OnKeyPressed()
44 } else if (e.key_code() == ui::VKEY_RIGHT) { in OnKeyPressed()
53 if (e.key_code() == ui::VKEY_TAB) in SkipDefaultKeyEventProcessing()
118 if (key_event.key_code() == ui::VKEY_RETURN) { in HandleKeyEvent()
Dguest_user_view.cc26 if (e.key_code() == ui::VKEY_TAB) { in OnKeyPressed()
34 if (e.key_code() == ui::VKEY_TAB) in SkipDefaultKeyEventProcessing()
Dtextfield_with_margin.cc39 if (e.key_code() == ui::VKEY_ESCAPE && !text().empty()) { in OnKeyPressed()
Dcaptcha_view.cc126 key_event.key_code() == ui::VKEY_RETURN) { in HandleKeyEvent()
Dscreen_lock_view.cc232 if (key_event.key_code() == ui::VKEY_RETURN) { in HandleKeyEvent()
Dnew_user_view.cc89 if (e.key_code() == ui::VKEY_LEFT) { in OnKeyPressed()
529 if (key_event.key_code() == ui::VKEY_RETURN) { in HandleKeyEvent()
/external/chromium/chrome/browser/ui/views/
Ddropdown_bar_host_gtk.cc40 wke.windowsKeyCode = key_event.key_code(); in GetKeyboardEvent()
45 ui::GdkKeyCodeForWindowsKeyCode(key_event.key_code(), in GetKeyboardEvent()
54 if (key_event.key_code() == ui::VKEY_RETURN) { in GetKeyboardEvent()
Ddropdown_bar_host_win.cc20 WORD key = WindowsKeyCodeForKeyboardCode(key_event.key_code()); in GetKeyboardEvent()
Dfind_bar_host.cc52 switch (key_event.key_code()) { in MaybeForwardKeyEventToWebpage()
Dfind_bar_view.cc485 if (key_event.key_code() == ui::VKEY_RETURN) { in HandleKeyEvent()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_views.cc173 if (event.key_code() == ui::VKEY_RETURN) { in HandleAfterKeyEvent()
177 } else if (!handled && event.key_code() == ui::VKEY_ESCAPE) { in HandleAfterKeyEvent()
182 } else if (event.key_code() == ui::VKEY_CONTROL) { in HandleAfterKeyEvent()
187 } else if (!handled && event.key_code() == ui::VKEY_DELETE && in HandleAfterKeyEvent()
194 } else if (!handled && event.key_code() == ui::VKEY_UP) { in HandleAfterKeyEvent()
197 } else if (!handled && event.key_code() == ui::VKEY_DOWN) { in HandleAfterKeyEvent()
201 event.key_code() == ui::VKEY_TAB && in HandleAfterKeyEvent()
231 if (event.key_code() == ui::VKEY_CONTROL) { in HandleKeyReleaseEvent()
574 if (event.key_code() == ui::VKEY_BACK) { in HandleKeyEvent()
588 if (event.key_code() == ui::VKEY_DELETE && !event.IsAltDown()) { in HandleKeyEvent()
/external/chromium/chrome/browser/ui/views/location_bar/
Dstar_view.cc60 if (event.key_code() == ui::VKEY_SPACE || in OnKeyPressed()
61 event.key_code() == ui::VKEY_RETURN) { in OnKeyPressed()
Dpage_action_image_view.cc139 if (event.key_code() == ui::VKEY_SPACE || in OnKeyPressed()
140 event.key_code() == ui::VKEY_RETURN) { in OnKeyPressed()
/external/chromium/chrome/browser/ui/views/frame/
Dbrowser_view.cc1090 views::Accelerator accelerator(views_event.key_code(),
2339 const ui::KeyboardCode key_code = accelerator.GetKeyCode(); local
2342 if (key_code == ui::VKEY_BACK)
2344 else if (key_code == ui::VKEY_F1)
2346 else if (key_code == ui::VKEY_LEFT)
2350 if (key_code == ui::VKEY_BACK)
2352 else if (key_code == ui::VKEY_F2)
2354 else if (key_code == ui::VKEY_RIGHT)
2359 if (key_code == ui::VKEY_R)
2361 else if (key_code == ui::VKEY_F3)
[all …]
/external/qemu/android/
Dcharmap.c59 int key_code; member
313 kcm_get_key_code(const char* key_name, unsigned short* key_code) { in kcm_get_key_code() argument
318 *key_code = keycode_map[n].key_code; in kcm_get_key_code()
/external/chromium/chrome/browser/renderer_host/
Dgtk_im_context_wrapper.cc180 const int key_code = wke.windowsKeyCode; in ProcessKeyEvent() local
216 const bool suppress = (last_key_code_ == key_code) && in ProcessKeyEvent()
223 last_key_code_ = key_code; in ProcessKeyEvent()
/external/kernel-headers/original/asm-arm/arch/
Dboard.h135 int key_code:24; /* Linux key code */ member
/external/chromium/chrome/browser/ui/views/extensions/
Dextension_view.cc172 return (e.key_code() == ui::VKEY_TAB); in SkipDefaultKeyEventProcessing()
/external/chromium/chrome/browser/ui/
Dbrowser.cc2362 ui::KeyboardCode key_code = in IsReservedCommandOrKey() local
2364 if (key_code == ui::VKEY_F1 || in IsReservedCommandOrKey()
2365 key_code == ui::VKEY_F2 || in IsReservedCommandOrKey()
2366 key_code == ui::VKEY_F3 || in IsReservedCommandOrKey()
2367 key_code == ui::VKEY_F4 || in IsReservedCommandOrKey()
2368 key_code == ui::VKEY_F5 || in IsReservedCommandOrKey()
2369 key_code == ui::VKEY_F6 || in IsReservedCommandOrKey()
2370 key_code == ui::VKEY_F7 || in IsReservedCommandOrKey()
2371 key_code == ui::VKEY_F8 || in IsReservedCommandOrKey()
2372 key_code == ui::VKEY_F9 || in IsReservedCommandOrKey()
[all …]
/external/chromium/chrome/browser/chromeos/options/
Dvpn_config_view.cc157 key_event.key_code() == ui::VKEY_RETURN) { in HandleKeyEvent()
Dwifi_config_view.cc405 key_event.key_code() == ui::VKEY_RETURN) { in HandleKeyEvent()
/external/chromium/chrome/browser/ui/views/download/
Ddownload_item_view.cc616 if (event.key_code() == ui::VKEY_SPACE || in OnKeyPressed()
617 event.key_code() == ui::VKEY_RETURN) { in OnKeyPressed()

12