| 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 ViewportScrollCallback_h | 5 #ifndef ViewportScrollCallback_h |
| 6 #define ViewportScrollCallback_h | 6 #define ViewportScrollCallback_h |
| 7 | 7 |
| 8 #include "core/page/scrolling/ScrollStateCallback.h" | 8 #include "core/page/scrolling/ScrollStateCallback.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "platform/scroll/ScrollTypes.h" | 10 #include "platform/scroll/ScrollTypes.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class BrowserControls; | 14 class BrowserControls; |
| 15 class FloatSize; | |
| 16 class ScrollableArea; | 15 class ScrollableArea; |
| 17 class ScrollState; | 16 class ScrollState; |
| 18 class OverscrollController; | 17 class OverscrollController; |
| 19 class RootFrameViewport; | 18 class RootFrameViewport; |
| 20 | 19 |
| 21 // ViewportScrollCallback is a ScrollStateCallback, meaning that it's applied | 20 // ViewportScrollCallback is a ScrollStateCallback, meaning that it's applied |
| 22 // during the applyScroll step of ScrollCustomization. It implements viewport | 21 // during the applyScroll step of ScrollCustomization. It implements viewport |
| 23 // actions like moving browser controls and showing overscroll glow as well as | 22 // actions like moving browser controls and showing overscroll glow as well as |
| 24 // scrolling the Element. | 23 // scrolling the Element. |
| 25 // | 24 // |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 ScrollResult performNativeScroll(ScrollState&); | 62 ScrollResult performNativeScroll(ScrollState&); |
| 64 | 63 |
| 65 WeakMember<BrowserControls> m_browserControls; | 64 WeakMember<BrowserControls> m_browserControls; |
| 66 WeakMember<OverscrollController> m_overscrollController; | 65 WeakMember<OverscrollController> m_overscrollController; |
| 67 WeakMember<RootFrameViewport> m_rootFrameViewport; | 66 WeakMember<RootFrameViewport> m_rootFrameViewport; |
| 68 }; | 67 }; |
| 69 | 68 |
| 70 } // namespace blink | 69 } // namespace blink |
| 71 | 70 |
| 72 #endif // ViewportScrollCallback_h | 71 #endif // ViewportScrollCallback_h |
| OLD | NEW |