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

Unified Diff: third_party/WebKit/Source/core/input/MouseEventManager.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/MouseEventManager.cpp
diff --git a/third_party/WebKit/Source/core/input/MouseEventManager.cpp b/third_party/WebKit/Source/core/input/MouseEventManager.cpp
index 4f51a224bf1d6b84d7806be7f4f0ebbd5f5a7d20..874a250f152686f06f4255b646683cf7f3f79962 100644
--- a/third_party/WebKit/Source/core/input/MouseEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/MouseEventManager.cpp
@@ -895,8 +895,8 @@ WebInputEventResult MouseEventManager::dispatchDragEvent(
DragEvent* me = DragEvent::create(
eventType, true, cancelable, m_frame->document()->domWindow(), 0,
event.globalX, event.globalY, position.x(), position.y(), movement.x(),
- movement.y(), static_cast<PlatformEvent::Modifiers>(event.modifiers()), 0,
- MouseEvent::platformModifiersToButtons(event.modifiers()), nullptr,
+ movement.y(), static_cast<WebInputEvent::Modifiers>(event.modifiers()), 0,
+ MouseEvent::webInputEventModifiersToButtons(event.modifiers()), nullptr,
TimeTicks::FromSeconds(event.timeStampSeconds()), dataTransfer,
event.fromTouch() ? MouseEvent::FromTouch
: MouseEvent::RealOrIndistinguishable);
« no previous file with comments | « third_party/WebKit/Source/core/input/KeyboardEventManager.cpp ('k') | third_party/WebKit/Source/core/input/ScrollManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698