| OLD | NEW |
| 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 ScrollPaintPropertyNode_h | 5 #ifndef ScrollPaintPropertyNode_h |
| 6 #define ScrollPaintPropertyNode_h | 6 #define ScrollPaintPropertyNode_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/geometry/FloatSize.h" | 9 #include "platform/geometry/FloatSize.h" |
| 10 #include "platform/scroll/MainThreadScrollingReason.h" | 10 #include "platform/scroll/MainThreadScrollingReason.h" |
| 11 #include "wtf/PassRefPtr.h" | 11 #include "platform/wtf/PassRefPtr.h" |
| 12 #include "wtf/RefCounted.h" | 12 #include "platform/wtf/RefCounted.h" |
| 13 #include "wtf/RefPtr.h" | 13 #include "platform/wtf/RefPtr.h" |
| 14 #include "wtf/text/WTFString.h" | 14 #include "platform/wtf/text/WTFString.h" |
| 15 | 15 |
| 16 #include <iosfwd> | 16 #include <iosfwd> |
| 17 | 17 |
| 18 namespace blink { | 18 namespace blink { |
| 19 | 19 |
| 20 using MainThreadScrollingReasons = uint32_t; | 20 using MainThreadScrollingReasons = uint32_t; |
| 21 class WebLayerScrollClient; | 21 class WebLayerScrollClient; |
| 22 | 22 |
| 23 // A scroll node contains auxiliary scrolling information which includes how far | 23 // A scroll node contains auxiliary scrolling information which includes how far |
| 24 // an area can be scrolled, main thread scrolling reasons, etc. Scroll nodes | 24 // an area can be scrolled, main thread scrolling reasons, etc. Scroll nodes |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 WebLayerScrollClient* m_scrollClient; | 153 WebLayerScrollClient* m_scrollClient; |
| 154 }; | 154 }; |
| 155 | 155 |
| 156 // Redeclared here to avoid ODR issues. | 156 // Redeclared here to avoid ODR issues. |
| 157 // See platform/testing/PaintPrinters.h. | 157 // See platform/testing/PaintPrinters.h. |
| 158 void PrintTo(const ScrollPaintPropertyNode&, std::ostream*); | 158 void PrintTo(const ScrollPaintPropertyNode&, std::ostream*); |
| 159 | 159 |
| 160 } // namespace blink | 160 } // namespace blink |
| 161 | 161 |
| 162 #endif // ScrollPaintPropertyNode_h | 162 #endif // ScrollPaintPropertyNode_h |
| OLD | NEW |