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

Side by Side Diff: third_party/WebKit/Source/core/frame/RootFrameViewport.h

Issue 2478463003: Revert of Implement overlay scrollbar fade out for non-composited scrollers. (Closed)
Patch Set: Created 4 years, 1 month 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
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 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 GraphicsLayer* layerForVerticalScrollbar() const override; 90 GraphicsLayer* layerForVerticalScrollbar() const override;
91 GraphicsLayer* layerForScrollCorner() const override; 91 GraphicsLayer* layerForScrollCorner() 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 Widget* getWidget() override;
100 void clearScrollableArea() override; 100 void clearScrollAnimators() override;
101 LayoutBox* layoutBox() const override; 101 LayoutBox* layoutBox() const override;
102 102
103 private: 103 private:
104 RootFrameViewport(ScrollableArea& visualViewport, 104 RootFrameViewport(ScrollableArea& visualViewport,
105 ScrollableArea& layoutViewport); 105 ScrollableArea& layoutViewport);
106 106
107 enum ViewportToScrollFirst { VisualViewport, LayoutViewport }; 107 enum ViewportToScrollFirst { VisualViewport, LayoutViewport };
108 108
109 ScrollOffset scrollOffsetFromScrollAnimators() const; 109 ScrollOffset scrollOffsetFromScrollAnimators() const;
110 110
(...skipping 18 matching lines...) Expand all
129 129
130 DEFINE_TYPE_CASTS(RootFrameViewport, 130 DEFINE_TYPE_CASTS(RootFrameViewport,
131 ScrollableArea, 131 ScrollableArea,
132 scrollableArea, 132 scrollableArea,
133 scrollableArea->isRootFrameViewport(), 133 scrollableArea->isRootFrameViewport(),
134 scrollableArea.isRootFrameViewport()); 134 scrollableArea.isRootFrameViewport());
135 135
136 } // namespace blink 136 } // namespace blink
137 137
138 #endif // RootFrameViewport_h 138 #endif // RootFrameViewport_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/frame/RootFrameViewport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698