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

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

Issue 2377703002: Made PlatformWheelEvent a subclass of PlatformMouseEvent. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/PlatformWheelEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/PlatformMouseEvent.h
diff --git a/third_party/WebKit/Source/platform/PlatformMouseEvent.h b/third_party/WebKit/Source/platform/PlatformMouseEvent.h
index 28c9056bdc42b040991c434655d775be5ad6f30e..cb193184880547d9cd773a61865395291fd61857 100644
--- a/third_party/WebKit/Source/platform/PlatformMouseEvent.h
+++ b/third_party/WebKit/Source/platform/PlatformMouseEvent.h
@@ -46,7 +46,12 @@ public:
};
PlatformMouseEvent()
- : PlatformEvent(PlatformEvent::MouseMoved)
+ : PlatformMouseEvent(PlatformEvent::MouseMoved)
+ {
+ }
+
+ explicit PlatformMouseEvent(EventType type)
+ : PlatformEvent(type)
, m_clickCount(0)
, m_synthesized(RealOrIndistinguishable)
{
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/PlatformWheelEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698