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

Unified Diff: third_party/WebKit/Source/core/input/GestureManager.cpp

Issue 2655873003: Remove PlatformEvent it is no longer used. (Closed)
Patch Set: Remove PlatformEvent it is no longer used. Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/input/GestureManager.cpp
diff --git a/third_party/WebKit/Source/core/input/GestureManager.cpp b/third_party/WebKit/Source/core/input/GestureManager.cpp
index 4eddb518a574717af1b51cf311bb32f2e2c9a5fa..fec1b85150bcf12232aa276fc7fa700656876e7d 100644
--- a/third_party/WebKit/Source/core/input/GestureManager.cpp
+++ b/third_party/WebKit/Source/core/input/GestureManager.cpp
@@ -155,7 +155,7 @@ WebInputEventResult GestureManager::handleGestureTap(
WebInputEvent::MouseMove, gestureEvent,
WebPointerProperties::Button::NoButton,
/* clickCount */ 0,
- static_cast<PlatformEvent::Modifiers>(
+ static_cast<WebInputEvent::Modifiers>(
modifiers | WebInputEvent::Modifiers::IsCompatibilityEventForTouch),
gestureEvent.timeStampSeconds());
m_mouseEventManager->setMousePositionAndDispatchMouseEvent(
@@ -197,7 +197,7 @@ WebInputEventResult GestureManager::handleGestureTap(
WebMouseEvent fakeMouseDown(
WebInputEvent::MouseDown, gestureEvent,
WebPointerProperties::Button::Left, gestureEvent.tapCount(),
- static_cast<PlatformEvent::Modifiers>(
+ static_cast<WebInputEvent::Modifiers>(
modifiers | WebInputEvent::Modifiers::LeftButtonDown |
WebInputEvent::Modifiers::IsCompatibilityEventForTouch),
gestureEvent.timeStampSeconds());
@@ -248,7 +248,7 @@ WebInputEventResult GestureManager::handleGestureTap(
WebMouseEvent fakeMouseUp(
WebInputEvent::MouseUp, gestureEvent, WebPointerProperties::Button::Left,
gestureEvent.tapCount(),
- static_cast<PlatformEvent::Modifiers>(
+ static_cast<WebInputEvent::Modifiers>(
modifiers | WebInputEvent::Modifiers::IsCompatibilityEventForTouch),
gestureEvent.timeStampSeconds());
WebInputEventResult mouseUpEventResult =
@@ -370,7 +370,7 @@ WebInputEventResult GestureManager::sendContextMenuEventForGesture(
WebInputEvent::MouseMove, gestureEvent,
WebPointerProperties::Button::NoButton,
/* clickCount */ 0,
- static_cast<PlatformEvent::Modifiers>(
+ static_cast<WebInputEvent::Modifiers>(
modifiers | WebInputEvent::IsCompatibilityEventForTouch),
gestureEvent.timeStampSeconds());
m_mouseEventManager->setMousePositionAndDispatchMouseEvent(
@@ -386,8 +386,8 @@ WebInputEventResult GestureManager::sendContextMenuEventForGesture(
WebMouseEvent mouseEvent(
eventType, gestureEvent, WebPointerProperties::Button::Right,
/* clickCount */ 1,
- static_cast<PlatformEvent::Modifiers>(
- modifiers | PlatformEvent::Modifiers::RightButtonDown |
+ static_cast<WebInputEvent::Modifiers>(
+ modifiers | WebInputEvent::Modifiers::RightButtonDown |
WebInputEvent::IsCompatibilityEventForTouch),
gestureEvent.timeStampSeconds());
« no previous file with comments | « third_party/WebKit/Source/core/input/GestureManager.h ('k') | third_party/WebKit/Source/core/input/KeyboardEventManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698