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

Unified Diff: third_party/WebKit/public/platform/WebInputEvent.h

Issue 2387113002: reflow comments in public/platform/ (Closed)
Patch Set: nit 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
Index: third_party/WebKit/public/platform/WebInputEvent.h
diff --git a/third_party/WebKit/public/platform/WebInputEvent.h b/third_party/WebKit/public/platform/WebInputEvent.h
index 92a3245621baec8f751b5cd8955cf10cff9ec8a4..68c66d4099c148847b8c4f351d32a6f3fd9b991a 100644
--- a/third_party/WebKit/public/platform/WebInputEvent.h
+++ b/third_party/WebKit/public/platform/WebInputEvent.h
@@ -228,9 +228,9 @@ class WebInputEvent {
static const int InputModifiers = ShiftKey | ControlKey | AltKey | MetaKey;
- double
- timeStampSeconds; // Seconds since platform start with microsecond resolution.
- unsigned size; // The size of this structure, for serialization.
+ double timeStampSeconds; // Seconds since platform start with microsecond
+ // resolution.
+ unsigned size; // The size of this structure, for serialization.
Type type;
int modifiers;
@@ -463,7 +463,7 @@ class WebMouseWheelEvent : public WebMouseEvent {
dispatchType(Blocking) {}
};
-// WebGestureEvent --------------------------------------------------------------
+// WebGestureEvent ---------------------------------------------------------
class WebGestureEvent : public WebInputEvent {
public:
@@ -539,12 +539,13 @@ class WebGestureEvent : public WebInputEvent {
// If true, this event will skip hit testing to find a scroll
// target and instead just scroll the viewport.
bool targetViewport;
- // The state of inertial phase scrolling. OSX has unique phases for normal and
- // momentum scroll events. Should always be UnknownMomentumPhase for touch based
- // input as it generates GestureFlingStart instead.
+ // The state of inertial phase scrolling. OSX has unique phases for normal
+ // and momentum scroll events. Should always be UnknownMomentumPhase for
+ // touch based input as it generates GestureFlingStart instead.
InertialPhaseState inertialPhase;
- // True if this event was synthesized in order to force a hit test; avoiding scroll
- // latching behavior until crbug.com/526463 is fully implemented.
+ // True if this event was synthesized in order to force a hit test;
+ // avoiding scroll latching behavior until crbug.com/526463 is fully
+ // implemented.
bool synthetic;
// number of pointers down.
@@ -572,9 +573,9 @@ class WebGestureEvent : public WebInputEvent {
// The original delta units the scrollBegin and scrollUpdates
// were sent as.
ScrollUnits deltaUnits;
- // The state of inertial phase scrolling. OSX has unique phases for normal and
- // momentum scroll events. Should always be UnknownMomentumPhase for touch based
- // input as it generates GestureFlingStart instead.
+ // The state of inertial phase scrolling. OSX has unique phases for normal
+ // and momentum scroll events. Should always be UnknownMomentumPhase for
+ // touch based input as it generates GestureFlingStart instead.
InertialPhaseState inertialPhase;
// True if this event was synthesized in order to generate the proper
// GSB/GSU/GSE matching sequences. This is a temporary so that a future
@@ -641,7 +642,8 @@ class WebTouchEvent : public WebInputEvent {
// dispatched.
bool dispatchedDuringFling;
- // Whether this touch event is a touchstart or a first touchmove event per scroll.
+ // Whether this touch event is a touchstart or a first touchmove event per
+ // scroll.
bool touchStartOrFirstTouchMove;
// A unique identifier for the touch event. Valid ids start at one and
« no previous file with comments | « third_party/WebKit/public/platform/WebImage.h ('k') | third_party/WebKit/public/platform/WebInputEventResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698