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

Unified Diff: third_party/WebKit/Source/platform/PlatformEvent.h

Issue 2646163002: Remove PlatformTouchEvent/Point and use WebTouchEvent/Point instead (Closed)
Patch Set: Fix nit 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/PlatformEvent.h
diff --git a/third_party/WebKit/Source/platform/PlatformEvent.h b/third_party/WebKit/Source/platform/PlatformEvent.h
index 473a2de1c7ee6a441c350498b71cb22d18e96af3..d8c09cb4a7e98f36ab278a321eaf7091cd3b0241 100644
--- a/third_party/WebKit/Source/platform/PlatformEvent.h
+++ b/third_party/WebKit/Source/platform/PlatformEvent.h
@@ -42,13 +42,6 @@ class PlatformEvent {
MousePressed,
MouseReleased,
MouseScroll,
-
- // PlatformTouchEvent
- TouchStart,
- TouchMove,
- TouchEnd,
- TouchCancel,
- TouchScrollStarted,
};
// These values are direct mappings of the values in WebInputEvent so the
@@ -91,24 +84,6 @@ class PlatformEvent {
SymbolKey | FnKey | AltGrKey | MetaKey | AltKey | CtrlKey | ShiftKey,
};
- enum RailsMode {
- RailsModeFree = 0,
- RailsModeHorizontal = 1,
- RailsModeVertical = 2,
- };
-
- // These values are direct mappings of the values in WebInputEvent
- // so the values can be cast between the enumerations. static_asserts
- // checking this are in web/WebInputEventConversion.cpp.
- enum DispatchType {
- Blocking,
- EventNonBlocking,
- // All listeners are passive.
- ListenersNonBlockingPassive,
- // This value represents a state which would have normally blocking
- // but was forced to be non-blocking during fling; not cancelable.
- ListenersForcedNonBlockingDueToFling,
- };
EventType type() const { return static_cast<EventType>(m_type); }
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/PlatformTouchEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698