Home
last modified time | relevance | path

Searched refs:ui (Results 1 – 25 of 4865) sorted by relevance

12345678910>>...195

/external/chromium/chrome/browser/extensions/
Dkey_identifier_conversion_views.cc26 const ui::KeyboardCode key_code;
34 { {"Accept", "", ""}, ui::VKEY_ACCEPT, 0 },
35 { {"Add", "", ""}, ui::VKEY_ADD, 0 },
36 { {"Again", "", ""}, ui::VKEY_UNKNOWN, 0 },
37 { {"AllCandidates", "", ""}, ui::VKEY_UNKNOWN, 0 },
38 { {"Alphanumeric", "", ""}, ui::VKEY_UNKNOWN, 0 },
39 { {"Alt", "", ""}, ui::VKEY_MENU, 0 },
40 { {"AltGraph", "", ""}, ui::VKEY_UNKNOWN, 0 },
41 { {"Apps", "", ""}, ui::VKEY_APPS, 0 },
42 { {"Attn", "", ""}, ui::VKEY_ATTN, 0 },
[all …]
/external/chromium_org/chrome/browser/ui/views/
Daccelerator_table.cc24 { ui::VKEY_LEFT, ui::EF_ALT_DOWN, IDC_BACK },
25 { ui::VKEY_BACK, ui::EF_NONE, IDC_BACK },
26 { ui::VKEY_D, ui::EF_CONTROL_DOWN, IDC_BOOKMARK_PAGE },
27 { ui::VKEY_D, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN,
29 { ui::VKEY_W, ui::EF_CONTROL_DOWN, IDC_CLOSE_TAB },
30 { ui::VKEY_W, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN, IDC_CLOSE_WINDOW },
31 { ui::VKEY_F, ui::EF_CONTROL_DOWN, IDC_FIND },
32 { ui::VKEY_G, ui::EF_CONTROL_DOWN, IDC_FIND_NEXT },
33 { ui::VKEY_G, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN, IDC_FIND_PREVIOUS },
34 { ui::VKEY_D, ui::EF_ALT_DOWN, IDC_FOCUS_LOCATION },
[all …]
/external/chromium_org/ash/accelerators/
Daccelerator_table.cc15 { false, ui::VKEY_LMENU, ui::EF_SHIFT_DOWN, NEXT_IME },
16 { false, ui::VKEY_MENU, ui::EF_SHIFT_DOWN, NEXT_IME },
17 { false, ui::VKEY_RMENU, ui::EF_SHIFT_DOWN, NEXT_IME },
19 { false, ui::VKEY_LSHIFT, ui::EF_ALT_DOWN, NEXT_IME },
20 { false, ui::VKEY_SHIFT, ui::EF_ALT_DOWN, NEXT_IME },
21 { false, ui::VKEY_RSHIFT, ui::EF_ALT_DOWN, NEXT_IME },
23 { false, ui::VKEY_LSHIFT, ui::EF_NONE, DISABLE_CAPS_LOCK },
24 { false, ui::VKEY_SHIFT, ui::EF_NONE, DISABLE_CAPS_LOCK },
25 { false, ui::VKEY_RSHIFT, ui::EF_NONE, DISABLE_CAPS_LOCK },
27 { true, ui::VKEY_SPACE, ui::EF_CONTROL_DOWN, PREVIOUS_IME },
[all …]
Daccelerator_controller_unittest.cc41 class TestTarget : public ui::AcceleratorTarget {
55 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
64 class ReleaseAccelerator : public ui::Accelerator {
66 ReleaseAccelerator(ui::KeyboardCode keycode, int modifiers) in ReleaseAccelerator()
67 : ui::Accelerator(keycode, modifiers) { in ReleaseAccelerator()
68 set_type(ui::ET_KEY_RELEASED); in ReleaseAccelerator()
82 virtual bool HandleVolumeMute(const ui::Accelerator& accelerator) OVERRIDE { in HandleVolumeMute()
87 virtual bool HandleVolumeDown(const ui::Accelerator& accelerator) OVERRIDE { in HandleVolumeDown()
92 virtual bool HandleVolumeUp(const ui::Accelerator& accelerator) OVERRIDE { in HandleVolumeUp()
107 const ui::Accelerator& last_accelerator() const { in last_accelerator()
[all …]
/external/chromium_org/ui/events/ozone/evdev/
Dkey_event_converter.cc13 namespace ui { namespace
17 ui::KeyboardCode KeyboardCodeFromButton(unsigned int code) { in KeyboardCodeFromButton()
18 static const ui::KeyboardCode kLinuxBaseKeyMap[] = { in KeyboardCodeFromButton()
19 ui::VKEY_UNKNOWN, // KEY_RESERVED in KeyboardCodeFromButton()
20 ui::VKEY_ESCAPE, // KEY_ESC in KeyboardCodeFromButton()
21 ui::VKEY_1, // KEY_1 in KeyboardCodeFromButton()
22 ui::VKEY_2, // KEY_2 in KeyboardCodeFromButton()
23 ui::VKEY_3, // KEY_3 in KeyboardCodeFromButton()
24 ui::VKEY_4, // KEY_4 in KeyboardCodeFromButton()
25 ui::VKEY_5, // KEY_5 in KeyboardCodeFromButton()
[all …]
/external/chromium/chrome/browser/ui/views/
Daccelerator_table_gtk.cc17 { ui::VKEY_A, true, true, false, IDC_AUTOFILL_DEFAULT },
18 { ui::VKEY_LEFT, false, false, true, IDC_BACK },
19 { ui::VKEY_BACK, false, false, false, IDC_BACK },
21 { ui::VKEY_F1, false, false, false, IDC_BACK },
22 { ui::VKEY_OEM_2, false, true, true, IDC_SHOW_KEYBOARD_OVERLAY },
23 { ui::VKEY_OEM_2, true, true, true, IDC_SHOW_KEYBOARD_OVERLAY },
25 { ui::VKEY_D, false, true, false, IDC_BOOKMARK_PAGE },
26 { ui::VKEY_D, true, true, false, IDC_BOOKMARK_ALL_TABS },
28 { ui::VKEY_DELETE, true, true, false, IDC_CLEAR_BROWSING_DATA },
30 { ui::VKEY_BACK, true, true, false, IDC_CLEAR_BROWSING_DATA },
[all …]
/external/chromium_org/chrome/browser/ui/ash/
Devent_rewriter_unittest.cc37 ui::KeyboardCode ui_keycode, in GetRewrittenEventAsString()
39 ui::EventType ui_type, in GetRewrittenEventAsString()
42 ui::ScopedXI2Event xev; in GetRewrittenEventAsString()
47 ui::KeyEvent keyevent(xev, false /* is_char */); in GetRewrittenEventAsString()
55 std::string GetExpectedResultAsString(ui::KeyboardCode ui_keycode, in GetExpectedResultAsString()
57 ui::EventType ui_type, in GetExpectedResultAsString()
345 EXPECT_EQ(GetExpectedResultAsString(ui::VKEY_A, in TEST_F()
346 ui::EF_ALT_DOWN, in TEST_F()
347 ui::ET_KEY_PRESSED, in TEST_F()
352 ui::VKEY_A, in TEST_F()
[all …]
/external/chromium_org/chrome/
Dchrome_browser_ui.gypi49 '../ui/base/strings/ui_strings.gyp:ui_strings',
50 '../ui/gfx/gfx.gyp:gfx',
51 '../ui/message_center/message_center.gyp:message_center',
52 '../ui/native_theme/native_theme.gyp:native_theme',
53 '../ui/snapshot/snapshot.gyp:snapshot',
54 '../ui/ui.gyp:ui',
55 '../ui/resources/ui_resources.gyp:ui_resources',
69 # All .cc, .h, .m, and .mm files under browser/ui except for:
71 'browser/ui/accelerator_utils.h',
72 'browser/ui/active_tab_tracker.cc',
[all …]
Dchrome_nibs.gyp42 '../ui/base/cocoa/base_view.h',
43 '../ui/base/cocoa/base_view.mm',
44 '../ui/base/cocoa/controls/hyperlink_button_cell.h',
45 '../ui/base/cocoa/controls/hyperlink_button_cell.mm',
46 '../ui/base/cocoa/hover_button.h',
47 '../ui/base/cocoa/hover_button.mm',
48 '../ui/base/cocoa/hover_image_button.h',
49 '../ui/base/cocoa/hover_image_button.mm',
50 '../ui/base/cocoa/menu_controller.h',
51 '../ui/base/cocoa/menu_controller.mm',
[all …]
/external/chromium_org/chrome/test/remoting/
Dkey_code_map.h29 ui::KeyboardCode vkey_code;
37 {'a', 'A', "KeyA", ui::VKEY_A}, // aA
38 {'b', 'B', "KeyB", ui::VKEY_B}, // bB
39 {'c', 'C', "KeyC", ui::VKEY_C}, // cC
40 {'d', 'D', "KeyD", ui::VKEY_D}, // dD
41 {'e', 'E', "KeyE", ui::VKEY_E}, // eE
42 {'f', 'F', "KeyF", ui::VKEY_F}, // fF
43 {'g', 'G', "KeyG", ui::VKEY_G}, // gG
44 {'h', 'H', "KeyH", ui::VKEY_H}, // hH
45 {'i', 'I', "KeyI", ui::VKEY_I}, // iI
[all …]
/external/chromium_org/chrome/test/chromedriver/
Dkeycode_text_conversion_x.cc21 ui::KeyboardCode key_code;
30 { ui::VKEY_BACK, 22 },
31 { ui::VKEY_TAB, 23 },
32 { ui::VKEY_RETURN, 36 },
33 { ui::VKEY_SHIFT, 50 },
34 { ui::VKEY_CONTROL, 37 },
35 { ui::VKEY_MENU, 64 },
36 { ui::VKEY_CAPITAL, 66 },
37 { ui::VKEY_HANGUL, 130 },
38 { ui::VKEY_HANJA, 131 },
[all …]
Dkey_converter.cc18 ui::KeyboardCode key_code;
22 { kShiftKeyModifierMask, ui::VKEY_SHIFT },
23 { kControlKeyModifierMask, ui::VKEY_CONTROL },
24 { kAltKeyModifierMask, ui::VKEY_MENU }
31 const ui::KeyboardCode kSpecialWebDriverKeys[] = {
32 ui::VKEY_UNKNOWN,
33 ui::VKEY_UNKNOWN,
34 ui::VKEY_HELP,
35 ui::VKEY_BACK,
36 ui::VKEY_TAB,
[all …]
/external/chromium_org/content/browser/renderer_host/input/
Dweb_input_event_util.cc12 const char* GetKeyIdentifier(ui::KeyboardCode key_code) { in GetKeyIdentifier()
14 case ui::VKEY_MENU: in GetKeyIdentifier()
16 case ui::VKEY_CONTROL: in GetKeyIdentifier()
18 case ui::VKEY_SHIFT: in GetKeyIdentifier()
20 case ui::VKEY_CAPITAL: in GetKeyIdentifier()
22 case ui::VKEY_LWIN: in GetKeyIdentifier()
23 case ui::VKEY_RWIN: in GetKeyIdentifier()
25 case ui::VKEY_CLEAR: in GetKeyIdentifier()
27 case ui::VKEY_DOWN: in GetKeyIdentifier()
29 case ui::VKEY_END: in GetKeyIdentifier()
[all …]
/external/chromium_org/chrome/common/extensions/
Dcommand_unittest.cc18 const ui::Accelerator none = ui::Accelerator(); in TEST()
19 const ui::Accelerator shift_f = ui::Accelerator(ui::VKEY_F, in TEST()
20 ui::EF_SHIFT_DOWN); in TEST()
22 int ctrl = ui::EF_COMMAND_DOWN; in TEST()
24 int ctrl = ui::EF_CONTROL_DOWN; in TEST()
27 const ui::Accelerator ctrl_f = ui::Accelerator(ui::VKEY_F, ctrl); in TEST()
28 const ui::Accelerator alt_f = ui::Accelerator(ui::VKEY_F, ui::EF_ALT_DOWN); in TEST()
29 const ui::Accelerator ctrl_shift_f = in TEST()
30 ui::Accelerator(ui::VKEY_F, ctrl | ui::EF_SHIFT_DOWN); in TEST()
31 const ui::Accelerator alt_shift_f = in TEST()
[all …]
/external/chromium_org/chrome/browser/chromeos/
Dkeyboard_driven_event_rewriter_unittest.cc35 std::string GetRewrittenEventAsString(ui::KeyboardCode ui_keycode, in GetRewrittenEventAsString()
37 ui::EventType ui_type, in GetRewrittenEventAsString()
40 ui::ScopedXI2Event xev; in GetRewrittenEventAsString()
45 ui::KeyEvent keyevent(xev, false /* is_char */); in GetRewrittenEventAsString()
77 ui::KeyboardCode ui_keycode; in TEST_F()
82 { ui::VKEY_A, ui::EF_NONE, keycode_a_, 0 }, in TEST_F()
83 { ui::VKEY_A, ui::EF_CONTROL_DOWN, keycode_a_, ControlMask }, in TEST_F()
84 { ui::VKEY_A, ui::EF_ALT_DOWN, keycode_a_, Mod1Mask }, in TEST_F()
85 { ui::VKEY_A, ui::EF_SHIFT_DOWN, keycode_a_, ShiftMask }, in TEST_F()
86 { ui::VKEY_A, ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, in TEST_F()
[all …]
/external/chromium_org/webkit/common/cursors/
Dwebcursor_aura.cc16 return ui::kCursorPointer; in GetNativeCursor()
18 return ui::kCursorCross; in GetNativeCursor()
20 return ui::kCursorHand; in GetNativeCursor()
22 return ui::kCursorIBeam; in GetNativeCursor()
24 return ui::kCursorWait; in GetNativeCursor()
26 return ui::kCursorHelp; in GetNativeCursor()
28 return ui::kCursorEastResize; in GetNativeCursor()
30 return ui::kCursorNorthResize; in GetNativeCursor()
32 return ui::kCursorNorthEastResize; in GetNativeCursor()
34 return ui::kCursorNorthWestResize; in GetNativeCursor()
[all …]
/external/chromium_org/ui/base/cursor/
Dcursors_aura.cc13 namespace ui { namespace
37 {ui::kCursorNull, IDR_AURA_CURSOR_PTR, {4, 4}, {8, 9}},
38 {ui::kCursorPointer, IDR_AURA_CURSOR_PTR, {4, 4}, {8, 9}},
39 {ui::kCursorNoDrop, IDR_AURA_CURSOR_NO_DROP, {9, 9}, {18, 18}},
40 {ui::kCursorNotAllowed, IDR_AURA_CURSOR_NO_DROP, {9, 9}, {18, 18}},
41 {ui::kCursorCopy, IDR_AURA_CURSOR_COPY, {9, 9}, {18, 18}},
42 {ui::kCursorHand, IDR_AURA_CURSOR_HAND, {9, 4}, {19, 8}},
43 {ui::kCursorMove, IDR_AURA_CURSOR_MOVE, {11, 11}, {23, 23}},
44 {ui::kCursorNorthEastResize, IDR_AURA_CURSOR_NORTH_EAST_RESIZE,
46 {ui::kCursorSouthWestResize, IDR_AURA_CURSOR_SOUTH_WEST_RESIZE,
[all …]
/external/chromium_org/webkit/child/
Dwebthemeengine_impl_win.cc32 static ui::NativeTheme::State WebButtonStateToGfx( in WebButtonStateToGfx()
33 int part, int state, ui::NativeTheme::ButtonExtraParams* extra) { in WebButtonStateToGfx()
34 ui::NativeTheme::State gfx_state = ui::NativeTheme::kNormal; in WebButtonStateToGfx()
38 extra->background_color = ui::NativeTheme::instance()->GetSystemColor( in WebButtonStateToGfx()
39 ui::NativeTheme::kColorId_ButtonBackgroundColor); in WebButtonStateToGfx()
44 gfx_state = ui::NativeTheme::kNormal; in WebButtonStateToGfx()
50 gfx_state = ui::NativeTheme::kHovered; in WebButtonStateToGfx()
56 gfx_state = ui::NativeTheme::kPressed; in WebButtonStateToGfx()
62 gfx_state = ui::NativeTheme::kDisabled; in WebButtonStateToGfx()
68 gfx_state = ui::NativeTheme::kNormal; in WebButtonStateToGfx()
[all …]
/external/chromium_org/ash/wm/
Dsticky_keys_unittest.cc34 class EventBuffer : public ui::EventHandler {
39 void PopEvents(ScopedVector<ui::Event>* events) { in PopEvents()
46 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE { in OnKeyEvent()
47 events_.push_back(new ui::KeyEvent(*event)); in OnKeyEvent()
50 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE { in OnMouseEvent()
53 new ui::MouseWheelEvent(*static_cast<ui::MouseWheelEvent*>(event))); in OnMouseEvent()
55 events_.push_back(new ui::MouseEvent(event->native_event())); in OnMouseEvent()
59 ScopedVector<ui::Event> events_;
82 virtual void DispatchKeyEvent(ui::KeyEvent* event, in DispatchKeyEvent()
89 if (event->type() == ui::ET_KEY_PRESSED && in DispatchKeyEvent()
[all …]
Dimage_cursors.cc20 ui::kCursorNull,
21 ui::kCursorPointer,
22 ui::kCursorNoDrop,
23 ui::kCursorNotAllowed,
24 ui::kCursorCopy,
25 ui::kCursorHand,
26 ui::kCursorMove,
27 ui::kCursorNorthEastResize,
28 ui::kCursorSouthWestResize,
29 ui::kCursorSouthEastResize,
[all …]
/external/chromium_org/ui/gl/
Dgl.target.darwin-mips.mk19 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc: gyp_local_path := $(LOCAL_PATH)
20 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc: gyp_intermediate_dir := $(abspath …
21 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc: gyp_shared_intermediate_dir := $(a…
22 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc: export PATH := $(subst $(ANDROID_B…
23ui/gl/gl_bindings_autogen_egl.cc: $(LOCAL_PATH)/ui/gl/generate_bindings.py $(LOCAL_PATH)/third_par…
25 …$(hide)cd $(gyp_local_path)/ui/gl; mkdir -p $(gyp_shared_intermediate_dir)/ui/gl; python generate_…
27 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.h: $(gyp_shared_intermediate_dir)/ui/g…
28 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_api_autogen_egl.h: $(gyp_shared_intermediate_dir)/
29 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_gl.cc: $(gyp_shared_intermediate_dir)/ui/g…
30 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_gl.h: $(gyp_shared_intermediate_dir)/ui/gl…
[all …]
Dgl.target.linux-mips.mk19 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc: gyp_local_path := $(LOCAL_PATH)
20 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc: gyp_intermediate_dir := $(abspath …
21 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc: gyp_shared_intermediate_dir := $(a…
22 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.cc: export PATH := $(subst $(ANDROID_B…
23ui/gl/gl_bindings_autogen_egl.cc: $(LOCAL_PATH)/ui/gl/generate_bindings.py $(LOCAL_PATH)/third_par…
25 …$(hide)cd $(gyp_local_path)/ui/gl; mkdir -p $(gyp_shared_intermediate_dir)/ui/gl; python generate_…
27 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_egl.h: $(gyp_shared_intermediate_dir)/ui/g…
28 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_api_autogen_egl.h: $(gyp_shared_intermediate_dir)/
29 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_gl.cc: $(gyp_shared_intermediate_dir)/ui/g…
30 $(gyp_shared_intermediate_dir)/ui/gl/gl_bindings_autogen_gl.h: $(gyp_shared_intermediate_dir)/ui/gl…
[all …]
/external/chromium_org/ui/base/cocoa/
Devents_mac_unittest.mm8 #include "ui/events/event_constants.h"
9 #include "ui/events/event_utils.h"
10 #include "ui/base/test/cocoa_test_event_utils.h"
11 #import "ui/base/test/ui_cocoa_test_helper.h"
12 #include "ui/gfx/point.h"
18 class EventsMacTest : public ui::CocoaTest {
28 ui::EventType type = ui::ET_UNKNOWN;
31 type = ui::EventTypeFromNative(native_event);
32 EXPECT_EQ(ui::ET_MOUSE_PRESSED, type);
35 type = ui::EventTypeFromNative(native_event);
[all …]
/external/chromium_org/ui/events/x/
Devents_x_unittest.cc21 namespace ui { namespace
51 EXPECT_EQ(ui::ET_MOUSE_PRESSED, ui::EventTypeFromNative(&event)); in TEST()
52 EXPECT_EQ(ui::EF_LEFT_MOUSE_BUTTON, ui::EventFlagsFromNative(&event)); in TEST()
53 EXPECT_EQ(location, ui::EventLocationFromNative(&event)); in TEST()
54 EXPECT_TRUE(ui::IsMouseEvent(&event)); in TEST()
57 EXPECT_EQ(ui::ET_MOUSE_PRESSED, ui::EventTypeFromNative(&event)); in TEST()
58 EXPECT_EQ(ui::EF_LEFT_MOUSE_BUTTON | ui::EF_MIDDLE_MOUSE_BUTTON | in TEST()
59 ui::EF_SHIFT_DOWN, in TEST()
60 ui::EventFlagsFromNative(&event)); in TEST()
61 EXPECT_EQ(location, ui::EventLocationFromNative(&event)); in TEST()
[all …]
/external/chromium_org/ui/base/strings/
Dui_strings.target.darwin-arm.mk17 $(gyp_shared_intermediate_dir)/ui/ui_strings/grit/ui_strings.h: gyp_local_path := $(LOCAL_PATH)
18 $(gyp_shared_intermediate_dir)/ui/ui_strings/grit/ui_strings.h: gyp_intermediate_dir := $(abspath $…
19 $(gyp_shared_intermediate_dir)/ui/ui_strings/grit/ui_strings.h: gyp_shared_intermediate_dir := $(ab…
20 $(gyp_shared_intermediate_dir)/ui/ui_strings/grit/ui_strings.h: export PATH := $(subst $(ANDROID_BU…
21ui/ui_strings/grit/ui_strings.h: $(LOCAL_PATH)/tools/gritsettings/resource_ids $(LOCAL_PATH)/ui/ba…
23 …de)cd $(gyp_local_path)/ui/base/strings; mkdir -p $(gyp_shared_intermediate_dir)/ui/ui_strings $(g…
25 $(gyp_shared_intermediate_dir)/ui/ui_strings/ui_strings_am.pak: $(gyp_shared_intermediate_dir)/ui/u…
26 $(gyp_shared_intermediate_dir)/ui/ui_strings/ui_strings_ar.pak: $(gyp_shared_intermediate_dir)/ui/u…
27 $(gyp_shared_intermediate_dir)/ui/ui_strings/ui_strings_bg.pak: $(gyp_shared_intermediate_dir)/ui/u…
28 $(gyp_shared_intermediate_dir)/ui/ui_strings/ui_strings_bn.pak: $(gyp_shared_intermediate_dir)/ui/u…
[all …]

12345678910>>...195