Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: ui/base/events.h

Issue 8576005: IME (input method editor) support for Aura, part 3 of 3: Use ui::InputMethod in ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move to ash/ime/ Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/aura/test/event_generator.cc ('k') | ui/base/ime/input_method_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_BASE_EVENTS_H_ 5 #ifndef UI_BASE_EVENTS_H_
6 #define UI_BASE_EVENTS_H_ 6 #define UI_BASE_EVENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/event_types.h" 9 #include "base/event_types.h"
10 #include "ui/base/keycodes/keyboard_codes.h" 10 #include "ui/base/keycodes/keyboard_codes.h"
(...skipping 18 matching lines...) Expand all
29 ET_KEY_RELEASED, 29 ET_KEY_RELEASED,
30 ET_MOUSEWHEEL, 30 ET_MOUSEWHEEL,
31 ET_TOUCH_RELEASED, 31 ET_TOUCH_RELEASED,
32 ET_TOUCH_PRESSED, 32 ET_TOUCH_PRESSED,
33 ET_TOUCH_MOVED, 33 ET_TOUCH_MOVED,
34 ET_TOUCH_STATIONARY, 34 ET_TOUCH_STATIONARY,
35 ET_TOUCH_CANCELLED, 35 ET_TOUCH_CANCELLED,
36 ET_DROP_TARGET_EVENT, 36 ET_DROP_TARGET_EVENT,
37 ET_FOCUS_CHANGE, 37 ET_FOCUS_CHANGE,
38 ET_SCROLL, 38 ET_SCROLL,
39 ET_TRANSLATED_KEY_PRESS,
40 ET_TRANSLATED_KEY_RELEASE,
39 }; 41 };
40 42
41 // Event flags currently supported 43 // Event flags currently supported
42 enum EventFlags { 44 enum EventFlags {
43 EF_CAPS_LOCK_DOWN = 1 << 0, 45 EF_CAPS_LOCK_DOWN = 1 << 0,
44 EF_SHIFT_DOWN = 1 << 1, 46 EF_SHIFT_DOWN = 1 << 1,
45 EF_CONTROL_DOWN = 1 << 2, 47 EF_CONTROL_DOWN = 1 << 2,
46 EF_ALT_DOWN = 1 << 3, 48 EF_ALT_DOWN = 1 << 3,
47 EF_LEFT_MOUSE_BUTTON = 1 << 4, 49 EF_LEFT_MOUSE_BUTTON = 1 << 4,
48 EF_MIDDLE_MOUSE_BUTTON = 1 << 5, 50 EF_MIDDLE_MOUSE_BUTTON = 1 << 5,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 UI_EXPORT bool GetScrollOffsets(const base::NativeEvent& native_event, 125 UI_EXPORT bool GetScrollOffsets(const base::NativeEvent& native_event,
124 float* x_offset, 126 float* x_offset,
125 float* y_offset); 127 float* y_offset);
126 128
127 // Creates and returns no-op event. 129 // Creates and returns no-op event.
128 UI_EXPORT base::NativeEvent CreateNoopEvent(); 130 UI_EXPORT base::NativeEvent CreateNoopEvent();
129 131
130 } // namespace ui 132 } // namespace ui
131 133
132 #endif // UI_BASE_EVENTS_H_ 134 #endif // UI_BASE_EVENTS_H_
OLDNEW
« no previous file with comments | « ui/aura/test/event_generator.cc ('k') | ui/base/ime/input_method_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698