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

Side by Side Diff: ui/events/ozone/evdev/event_modifiers.h

Issue 149503003: Remove common EventConverterOzone class & move to EventConverterEvdev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/DispatchEventHelper/DispatchEventTask/ Created 6 years, 10 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/events/ozone/evdev/event_factory.cc ('k') | ui/events/ozone/evdev/key_event_converter.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_EVENTS_OZONE_EVDEV_EVENT_MODIFIERS_H_ 5 #ifndef UI_EVENTS_OZONE_EVDEV_EVENT_MODIFIERS_H_
6 #define UI_EVENTS_OZONE_EVDEV_EVENT_MODIFIERS_H_ 6 #define UI_EVENTS_OZONE_EVDEV_EVENT_MODIFIERS_H_
7 7
8 #include "base/basictypes.h"
8 #include "ui/events/events_export.h" 9 #include "ui/events/events_export.h"
9 #include "ui/events/ozone/event_converter_ozone.h"
10 10
11 namespace ui { 11 namespace ui {
12 12
13 enum { 13 enum {
14 EVDEV_MODIFIER_NONE, 14 EVDEV_MODIFIER_NONE,
15 EVDEV_MODIFIER_CAPS_LOCK, 15 EVDEV_MODIFIER_CAPS_LOCK,
16 EVDEV_MODIFIER_SHIFT, 16 EVDEV_MODIFIER_SHIFT,
17 EVDEV_MODIFIER_CONTROL, 17 EVDEV_MODIFIER_CONTROL,
18 EVDEV_MODIFIER_ALT, 18 EVDEV_MODIFIER_ALT,
19 EVDEV_MODIFIER_LEFT_MOUSE_BUTTON, 19 EVDEV_MODIFIER_LEFT_MOUSE_BUTTON,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 // Update modifier_flags_ from modifiers_down_ and modifier_flags_locked_. 66 // Update modifier_flags_ from modifiers_down_ and modifier_flags_locked_.
67 void UpdateFlags(unsigned int modifier); 67 void UpdateFlags(unsigned int modifier);
68 68
69 DISALLOW_COPY_AND_ASSIGN(EventModifiersEvdev); 69 DISALLOW_COPY_AND_ASSIGN(EventModifiersEvdev);
70 }; 70 };
71 71
72 } // namspace ui 72 } // namspace ui
73 73
74 #endif // UI_EVENTS_OZONE_EVDEV_EVENT_MODIFIERS_H_ 74 #endif // UI_EVENTS_OZONE_EVDEV_EVENT_MODIFIERS_H_
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/event_factory.cc ('k') | ui/events/ozone/evdev/key_event_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698