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

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

Issue 2749863006: Revert of Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: Created 3 years, 9 months 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 IntRect scrollableAreaBoundingBox() const override; 79 IntRect scrollableAreaBoundingBox() const override;
80 bool userInputScrollable(ScrollbarOrientation) const override; 80 bool userInputScrollable(ScrollbarOrientation) const override;
81 bool shouldPlaceVerticalScrollbarOnLeft() const override; 81 bool shouldPlaceVerticalScrollbarOnLeft() const override;
82 void scrollControlWasSetNeedsPaintInvalidation() override; 82 void scrollControlWasSetNeedsPaintInvalidation() override;
83 GraphicsLayer* layerForContainer() const override; 83 GraphicsLayer* layerForContainer() const override;
84 GraphicsLayer* layerForScrolling() const override; 84 GraphicsLayer* layerForScrolling() const override;
85 GraphicsLayer* layerForHorizontalScrollbar() const override; 85 GraphicsLayer* layerForHorizontalScrollbar() const override;
86 GraphicsLayer* layerForVerticalScrollbar() const override; 86 GraphicsLayer* layerForVerticalScrollbar() const override;
87 GraphicsLayer* layerForScrollCorner() const override; 87 GraphicsLayer* layerForScrollCorner() const override;
88 int horizontalScrollbarHeight( 88 int horizontalScrollbarHeight(
89 OverlayScrollbarClipBehavior = 89 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override;
90 IgnorePlatformOverlayScrollbarSize) const override;
91 int verticalScrollbarWidth( 90 int verticalScrollbarWidth(
92 OverlayScrollbarClipBehavior = 91 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override;
93 IgnorePlatformOverlayScrollbarSize) const override;
94 ScrollResult userScroll(ScrollGranularity, const FloatSize&) override; 92 ScrollResult userScroll(ScrollGranularity, const FloatSize&) override;
95 bool scrollAnimatorEnabled() const override; 93 bool scrollAnimatorEnabled() const override;
96 HostWindow* getHostWindow() const override; 94 HostWindow* getHostWindow() const override;
97 void serviceScrollAnimations(double) override; 95 void serviceScrollAnimations(double) override;
98 void updateCompositorScrollAnimations() override; 96 void updateCompositorScrollAnimations() override;
99 void cancelProgrammaticScrollAnimation() override; 97 void cancelProgrammaticScrollAnimation() override;
100 ScrollBehavior scrollBehaviorStyle() const override; 98 ScrollBehavior scrollBehaviorStyle() const override;
101 FrameViewBase* getFrameViewBase() override; 99 FrameViewBase* getFrameViewBase() override;
102 void clearScrollableArea() override; 100 void clearScrollableArea() override;
103 LayoutBox* layoutBox() const override; 101 LayoutBox* layoutBox() const override;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 133
136 DEFINE_TYPE_CASTS(RootFrameViewport, 134 DEFINE_TYPE_CASTS(RootFrameViewport,
137 ScrollableArea, 135 ScrollableArea,
138 scrollableArea, 136 scrollableArea,
139 scrollableArea->isRootFrameViewport(), 137 scrollableArea->isRootFrameViewport(),
140 scrollableArea.isRootFrameViewport()); 138 scrollableArea.isRootFrameViewport());
141 139
142 } // namespace blink 140 } // namespace blink
143 141
144 #endif // RootFrameViewport_h 142 #endif // RootFrameViewport_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698