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

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

Issue 999423003: Set the unique_event_id when converting from TouchEvent to WebTouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/events.gyp » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_EVENT_UTILS_H_ 5 #ifndef UI_EVENTS_EVENT_UTILS_H_
6 #define UI_EVENTS_EVENT_UTILS_H_ 6 #define UI_EVENTS_EVENT_UTILS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/event_types.h" 9 #include "base/event_types.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 10 matching lines...) Expand all
21 21
22 namespace gfx { 22 namespace gfx {
23 class Point; 23 class Point;
24 class Vector2d; 24 class Vector2d;
25 } 25 }
26 26
27 namespace base { 27 namespace base {
28 class TimeDelta; 28 class TimeDelta;
29 } 29 }
30 30
31 // Common functions to be used for all platforms except Android.
31 namespace ui { 32 namespace ui {
32 33
33 class Event; 34 class Event;
34 class MouseEvent; 35 class MouseEvent;
35 enum class DomCode; 36 enum class DomCode;
36 37
37 // Updates the list of devices for cached properties. 38 // Updates the list of devices for cached properties.
38 EVENTS_EXPORT void UpdateDeviceList(); 39 EVENTS_EXPORT void UpdateDeviceList();
39 40
40 // Returns a ui::Event wrapping a native event. Ownership of the returned value 41 // Returns a ui::Event wrapping a native event. Ownership of the returned value
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // Update the native X11 event to correspond to the new button flags. 173 // Update the native X11 event to correspond to the new button flags.
173 EVENTS_EXPORT void UpdateX11EventForChangedButtonFlags(MouseEvent* event); 174 EVENTS_EXPORT void UpdateX11EventForChangedButtonFlags(MouseEvent* event);
174 #endif 175 #endif
175 176
176 // Registers a custom event type. 177 // Registers a custom event type.
177 EVENTS_EXPORT int RegisterCustomEventType(); 178 EVENTS_EXPORT int RegisterCustomEventType();
178 179
179 } // namespace ui 180 } // namespace ui
180 181
181 #endif // UI_EVENTS_EVENT_UTILS_H_ 182 #endif // UI_EVENTS_EVENT_UTILS_H_
OLDNEW
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/events.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698