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 RootFrameViewport_h | 5 #ifndef RootFrameViewport_h |
6 #define RootFrameViewport_h | 6 #define RootFrameViewport_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "platform/scroll/ScrollableArea.h" | 9 #include "platform/scroll/ScrollableArea.h" |
10 | 10 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; | 89 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; |
90 int verticalScrollbarWidth( | 90 int verticalScrollbarWidth( |
91 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; | 91 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; |
92 ScrollResult userScroll(ScrollGranularity, const FloatSize&) override; | 92 ScrollResult userScroll(ScrollGranularity, const FloatSize&) override; |
93 bool scrollAnimatorEnabled() const override; | 93 bool scrollAnimatorEnabled() const override; |
94 HostWindow* getHostWindow() const override; | 94 HostWindow* getHostWindow() const override; |
95 void serviceScrollAnimations(double) override; | 95 void serviceScrollAnimations(double) override; |
96 void updateCompositorScrollAnimations() override; | 96 void updateCompositorScrollAnimations() override; |
97 void cancelProgrammaticScrollAnimation() override; | 97 void cancelProgrammaticScrollAnimation() override; |
98 ScrollBehavior scrollBehaviorStyle() const override; | 98 ScrollBehavior scrollBehaviorStyle() const override; |
99 Widget* getWidget() override; | 99 FrameViewBase* getWidget() override; |
100 void clearScrollableArea() override; | 100 void clearScrollableArea() override; |
101 LayoutBox* layoutBox() const override; | 101 LayoutBox* layoutBox() const override; |
102 FloatQuad localToVisibleContentQuad(const FloatQuad&, | 102 FloatQuad localToVisibleContentQuad(const FloatQuad&, |
103 const LayoutObject*, | 103 const LayoutObject*, |
104 unsigned = 0) const final; | 104 unsigned = 0) const final; |
105 RefPtr<WebTaskRunner> getTimerTaskRunner() const final; | 105 RefPtr<WebTaskRunner> getTimerTaskRunner() const final; |
106 | 106 |
107 private: | 107 private: |
108 RootFrameViewport(ScrollableArea& visualViewport, | 108 RootFrameViewport(ScrollableArea& visualViewport, |
109 ScrollableArea& layoutViewport); | 109 ScrollableArea& layoutViewport); |
(...skipping 23 matching lines...) Expand all Loading... |
133 | 133 |
134 DEFINE_TYPE_CASTS(RootFrameViewport, | 134 DEFINE_TYPE_CASTS(RootFrameViewport, |
135 ScrollableArea, | 135 ScrollableArea, |
136 scrollableArea, | 136 scrollableArea, |
137 scrollableArea->isRootFrameViewport(), | 137 scrollableArea->isRootFrameViewport(), |
138 scrollableArea.isRootFrameViewport()); | 138 scrollableArea.isRootFrameViewport()); |
139 | 139 |
140 } // namespace blink | 140 } // namespace blink |
141 | 141 |
142 #endif // RootFrameViewport_h | 142 #endif // RootFrameViewport_h |
OLD | NEW |