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

Side by Side Diff: third_party/WebKit/Source/core/page/scrolling/ScrollState.h

Issue 1537683004: Oilpan: fix build after r366113. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 ScrollState_h 5 #ifndef ScrollState_h
6 #define ScrollState_h 6 #define ScrollState_h
7 7
8 #include "bindings/core/v8/ExceptionState.h" 8 #include "bindings/core/v8/ExceptionState.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "core/CoreExport.h" 10 #include "core/CoreExport.h"
11 #include "core/dom/Element.h" 11 #include "core/dom/Element.h"
12 #include "public/platform/WebScrollStateData.h" 12 #include "public/platform/WebScrollStateData.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class CORE_EXPORT ScrollState final : public RefCountedWillBeGarbageCollected<Sc rollState>, public ScriptWrappable { 16 class CORE_EXPORT ScrollState final : public RefCountedWillBeGarbageCollectedFin alized<ScrollState>, public ScriptWrappable {
17 DEFINE_WRAPPERTYPEINFO(); 17 DEFINE_WRAPPERTYPEINFO();
18 18
19 public: 19 public:
20 static PassRefPtrWillBeRawPtr<ScrollState> create( 20 static PassRefPtrWillBeRawPtr<ScrollState> create(
21 double deltaX, double deltaY, double deltaGranularity, double velocityX, 21 double deltaX, double deltaY, double deltaGranularity, double velocityX,
22 double velocityY, bool inInertialPhase, 22 double velocityY, bool inInertialPhase,
23 bool isBeginning = false, bool isEnding = false, 23 bool isBeginning = false, bool isEnding = false,
24 bool fromUserInput = false, bool shouldPropagate = true, 24 bool fromUserInput = false, bool shouldPropagate = true,
25 bool deltaConsumedForScrollSequence = false); 25 bool deltaConsumedForScrollSequence = false);
26 26
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 private: 109 private:
110 ScrollState(); 110 ScrollState();
111 ScrollState(PassOwnPtr<WebScrollStateData>); 111 ScrollState(PassOwnPtr<WebScrollStateData>);
112 PassOwnPtr<WebScrollStateData> m_data; 112 PassOwnPtr<WebScrollStateData> m_data;
113 std::deque<int> m_scrollChain; 113 std::deque<int> m_scrollChain;
114 }; 114 };
115 115
116 } // namespace blink 116 } // namespace blink
117 117
118 #endif // ScrollState_h 118 #endif // ScrollState_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698