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

Side by Side Diff: third_party/WebKit/Source/core/input/ScrollManager.h

Issue 2397723004: reflow comments in core/input (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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ScrollManager_h 5 #ifndef ScrollManager_h
6 #define ScrollManager_h 6 #define ScrollManager_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/page/EventWithHitTestResults.h" 9 #include "core/page/EventWithHitTestResults.h"
10 #include "platform/PlatformEvent.h" 10 #include "platform/PlatformEvent.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 bool bubblingScroll(ScrollDirection, 67 bool bubblingScroll(ScrollDirection,
68 ScrollGranularity, 68 ScrollGranularity,
69 Node* startingNode, 69 Node* startingNode,
70 Node* mousePressNode); 70 Node* mousePressNode);
71 71
72 void setFrameWasScrolledByUser(); 72 void setFrameWasScrolledByUser();
73 73
74 // TODO(crbug.com/616491): Consider moving all gesture related functions to 74 // TODO(crbug.com/616491): Consider moving all gesture related functions to
75 // another class. 75 // another class.
76 76
77 // Handle the provided scroll gesture event, propagating down to child frames as necessary. 77 // Handle the provided scroll gesture event, propagating down to child frames
78 // as necessary.
78 WebInputEventResult handleGestureScrollEvent(const PlatformGestureEvent&); 79 WebInputEventResult handleGestureScrollEvent(const PlatformGestureEvent&);
79 80
80 WebInputEventResult handleGestureScrollEnd(const PlatformGestureEvent&); 81 WebInputEventResult handleGestureScrollEnd(const PlatformGestureEvent&);
81 82
82 bool isScrollbarHandlingGestures() const; 83 bool isScrollbarHandlingGestures() const;
83 84
84 // Returns true if the gesture event should be handled in ScrollManager. 85 // Returns true if the gesture event should be handled in ScrollManager.
85 bool canHandleGestureEvent(const GestureEventWithHitTestResults&); 86 bool canHandleGestureEvent(const GestureEventWithHitTestResults&);
86 87
87 // These functions are related to |m_resizeScrollableArea|. 88 // These functions are related to |m_resizeScrollableArea|.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 143
143 Member<PaintLayerScrollableArea> m_resizeScrollableArea; 144 Member<PaintLayerScrollableArea> m_resizeScrollableArea;
144 145
145 LayoutSize 146 LayoutSize
146 m_offsetFromResizeCorner; // In the coords of m_resizeScrollableArea. 147 m_offsetFromResizeCorner; // In the coords of m_resizeScrollableArea.
147 }; 148 };
148 149
149 } // namespace blink 150 } // namespace blink
150 151
151 #endif // ScrollManager_h 152 #endif // ScrollManager_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/input/PointerEventManager.cpp ('k') | third_party/WebKit/Source/core/input/ScrollManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698