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

Side by Side Diff: ui/aura/event.h

Issue 8824007: Revert 113224 - IME (input method editor) support for Aura, part 3 of 3: Use ui::InputMethod in u... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/desktop_host_win.cc ('k') | ui/base/keycodes/keyboard_code_conversion.cc » ('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_AURA_EVENT_H_ 5 #ifndef UI_AURA_EVENT_H_
6 #define UI_AURA_EVENT_H_ 6 #define UI_AURA_EVENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/event_types.h" 10 #include "base/event_types.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 const float rotation_angle_; 137 const float rotation_angle_;
138 138
139 // Force (pressure) of the touch. Normalized to be [0, 1]. Default to be 0.0. 139 // Force (pressure) of the touch. Normalized to be [0, 1]. Default to be 0.0.
140 const float force_; 140 const float force_;
141 141
142 DISALLOW_COPY_AND_ASSIGN(TouchEvent); 142 DISALLOW_COPY_AND_ASSIGN(TouchEvent);
143 }; 143 };
144 144
145 class AURA_EXPORT KeyEvent : public Event { 145 class AURA_EXPORT KeyEvent : public Event {
146 public: 146 public:
147 // TODO(yusukes): Remove |is_char| when IME support for Aura is submitted.
148 KeyEvent(const base::NativeEvent& native_event, bool is_char); 147 KeyEvent(const base::NativeEvent& native_event, bool is_char);
149 148
150 // Used for synthetic events in testing. 149 // Used for synthetic events in testing.
151 KeyEvent(ui::EventType type, 150 KeyEvent(ui::EventType type,
152 ui::KeyboardCode key_code, 151 ui::KeyboardCode key_code,
153 int flags); 152 int flags);
154 153
155 // These setters allow an I18N virtual keyboard to fabricate a keyboard event 154 // These setters allow an I18N virtual keyboard to fabricate a keyboard event
156 // which does not have a corresponding ui::KeyboardCode (example: U+00E1 Latin 155 // which does not have a corresponding ui::KeyboardCode (example: U+00E1 Latin
157 // small letter A with acute, U+0410 Cyrillic capital letter A.) 156 // small letter A with acute, U+0410 Cyrillic capital letter A.)
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 200
202 // Bitmask of supported ui::DragDropTypes::DragOperation by the source. 201 // Bitmask of supported ui::DragDropTypes::DragOperation by the source.
203 int source_operations_; 202 int source_operations_;
204 203
205 DISALLOW_COPY_AND_ASSIGN(DropTargetEvent); 204 DISALLOW_COPY_AND_ASSIGN(DropTargetEvent);
206 }; 205 };
207 206
208 } // namespace aura 207 } // namespace aura
209 208
210 #endif // UI_AURA_EVENT_H_ 209 #endif // UI_AURA_EVENT_H_
OLDNEW
« no previous file with comments | « ui/aura/desktop_host_win.cc ('k') | ui/base/keycodes/keyboard_code_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698