| OLD | NEW |
| 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 <deque> |
| 9 #include <memory> |
| 8 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| 9 #include "bindings/core/v8/ScriptWrappable.h" | 11 #include "bindings/core/v8/ScriptWrappable.h" |
| 10 #include "core/CoreExport.h" | 12 #include "core/CoreExport.h" |
| 11 #include "core/page/scrolling/ScrollStateInit.h" | 13 #include "core/page/scrolling/ScrollStateInit.h" |
| 12 #include "platform/scroll/ScrollStateData.h" | 14 #include "platform/scroll/ScrollStateData.h" |
| 13 #include "wtf/Forward.h" | 15 #include "wtf/Forward.h" |
| 14 #include <deque> | |
| 15 #include <memory> | |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 class Element; | 19 class Element; |
| 20 | 20 |
| 21 class CORE_EXPORT ScrollState final | 21 class CORE_EXPORT ScrollState final |
| 22 : public GarbageCollectedFinalized<ScrollState>, | 22 : public GarbageCollectedFinalized<ScrollState>, |
| 23 public ScriptWrappable { | 23 public ScriptWrappable { |
| 24 DEFINE_WRAPPERTYPEINFO(); | 24 DEFINE_WRAPPERTYPEINFO(); |
| 25 | 25 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 ScrollState(); | 95 ScrollState(); |
| 96 explicit ScrollState(std::unique_ptr<ScrollStateData>); | 96 explicit ScrollState(std::unique_ptr<ScrollStateData>); |
| 97 | 97 |
| 98 std::unique_ptr<ScrollStateData> m_data; | 98 std::unique_ptr<ScrollStateData> m_data; |
| 99 std::deque<int> m_scrollChain; | 99 std::deque<int> m_scrollChain; |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // namespace blink | 102 } // namespace blink |
| 103 | 103 |
| 104 #endif // ScrollState_h | 104 #endif // ScrollState_h |
| OLD | NEW |