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

Unified Diff: third_party/WebKit/Source/core/events/WheelEvent.cpp

Issue 2394653003: reflow comments in core/events,core/fileapi (Closed)
Patch Set: Created 4 years, 2 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 | « third_party/WebKit/Source/core/events/WheelEvent.h ('k') | third_party/WebKit/Source/core/fileapi/Blob.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/events/WheelEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/WheelEvent.cpp b/third_party/WebKit/Source/core/events/WheelEvent.cpp
index c0cdbecc5b972a6930d0ed656a8a0d9937a7eb05..941960cb43e34a64d98ed7f6675ba15ff474da68 100644
--- a/third_party/WebKit/Source/core/events/WheelEvent.cpp
+++ b/third_party/WebKit/Source/core/events/WheelEvent.cpp
@@ -108,28 +108,28 @@ WheelEvent::WheelEvent(const FloatPoint& wheelTicks,
bool hasPreciseScrollingDeltas,
RailsMode railsMode,
bool cancelable)
- : MouseEvent(
- EventTypeNames::wheel,
- true,
- cancelable,
- view,
- 0,
- screenLocation.x(),
- screenLocation.y(),
- windowLocation.x(),
- windowLocation.y(),
- 0,
- 0,
- modifiers,
- 0,
- buttons,
- nullptr,
- platformTimeStamp,
- PlatformMouseEvent::RealOrIndistinguishable,
- // TODO(zino): Should support canvas hit region because the wheel event
- // is a kind of mouse event. Please see http://crbug.com/594075
- String(),
- nullptr),
+ : MouseEvent(EventTypeNames::wheel,
+ true,
+ cancelable,
+ view,
+ 0,
+ screenLocation.x(),
+ screenLocation.y(),
+ windowLocation.x(),
+ windowLocation.y(),
+ 0,
+ 0,
+ modifiers,
+ 0,
+ buttons,
+ nullptr,
+ platformTimeStamp,
+ PlatformMouseEvent::RealOrIndistinguishable,
+ // TODO(zino): Should support canvas hit region because the
+ // wheel event is a kind of mouse event. Please see
+ // http://crbug.com/594075
+ String(),
+ nullptr),
m_wheelDelta(wheelTicks.x() * TickMultiplier,
wheelTicks.y() * TickMultiplier),
m_deltaX(-rawDelta.x()),
@@ -163,28 +163,28 @@ WheelEvent::WheelEvent(const FloatPoint& wheelTicks,
bool cancelable,
WheelEventPhase phase,
WheelEventPhase momentumPhase)
- : MouseEvent(
- EventTypeNames::wheel,
- true,
- cancelable,
- view,
- 0,
- screenLocation.x(),
- screenLocation.y(),
- windowLocation.x(),
- windowLocation.y(),
- 0,
- 0,
- modifiers,
- 0,
- buttons,
- nullptr,
- platformTimeStamp,
- PlatformMouseEvent::RealOrIndistinguishable,
- // TODO(zino): Should support canvas hit region because the wheel event
- // is a kind of mouse event. Please see http://crbug.com/594075
- String(),
- nullptr),
+ : MouseEvent(EventTypeNames::wheel,
+ true,
+ cancelable,
+ view,
+ 0,
+ screenLocation.x(),
+ screenLocation.y(),
+ windowLocation.x(),
+ windowLocation.y(),
+ 0,
+ 0,
+ modifiers,
+ 0,
+ buttons,
+ nullptr,
+ platformTimeStamp,
+ PlatformMouseEvent::RealOrIndistinguishable,
+ // TODO(zino): Should support canvas hit region because the
+ // wheel event is a kind of mouse event. Please see
+ // http://crbug.com/594075
+ String(),
+ nullptr),
m_wheelDelta(wheelTicks.x() * TickMultiplier,
wheelTicks.y() * TickMultiplier),
m_deltaX(-rawDelta.x()),
« no previous file with comments | « third_party/WebKit/Source/core/events/WheelEvent.h ('k') | third_party/WebKit/Source/core/fileapi/Blob.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698