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

Side by Side Diff: third_party/WebKit/Source/platform/PlatformEvent.h

Issue 2586133003: Remove PlatformWheelEvent and use WebMouseWheelEvent instead (Closed)
Patch Set: Adjust function name Created 3 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 25 matching lines...) Expand all
36 public: 36 public:
37 enum EventType { 37 enum EventType {
38 NoType = 0, 38 NoType = 0,
39 39
40 // PlatformMouseEvent 40 // PlatformMouseEvent
41 MouseMoved, 41 MouseMoved,
42 MousePressed, 42 MousePressed,
43 MouseReleased, 43 MouseReleased,
44 MouseScroll, 44 MouseScroll,
45 45
46 // PlatformWheelEvent
47 Wheel,
48
49 // PlatformTouchEvent 46 // PlatformTouchEvent
50 TouchStart, 47 TouchStart,
51 TouchMove, 48 TouchMove,
52 TouchEnd, 49 TouchEnd,
53 TouchCancel, 50 TouchCancel,
54 TouchScrollStarted, 51 TouchScrollStarted,
55 }; 52 };
56 53
57 // These values are direct mappings of the values in WebInputEvent so the 54 // These values are direct mappings of the values in WebInputEvent so the
58 // values can be cast between the enumerations. static_asserts checking this 55 // values can be cast between the enumerations. static_asserts checking this
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 ~PlatformEvent() {} 134 ~PlatformEvent() {}
138 135
139 unsigned m_type; 136 unsigned m_type;
140 unsigned m_modifiers; 137 unsigned m_modifiers;
141 TimeTicks m_timestamp; 138 TimeTicks m_timestamp;
142 }; 139 };
143 140
144 } // namespace blink 141 } // namespace blink
145 142
146 #endif // PlatformEvent_h 143 #endif // PlatformEvent_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/PlatformWheelEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698