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

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

Issue 2730343003: Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: rebase 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 = IgnoreOverlayScrollbarSize) const override; 89 OverlayScrollbarClipBehavior =
90 IgnorePlatformOverlayScrollbarSize) const override;
90 int verticalScrollbarWidth( 91 int verticalScrollbarWidth(
91 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; 92 OverlayScrollbarClipBehavior =
93 IgnorePlatformOverlayScrollbarSize) const override;
92 ScrollResult userScroll(ScrollGranularity, const FloatSize&) override; 94 ScrollResult userScroll(ScrollGranularity, const FloatSize&) override;
93 bool scrollAnimatorEnabled() const override; 95 bool scrollAnimatorEnabled() const override;
94 HostWindow* getHostWindow() const override; 96 HostWindow* getHostWindow() const override;
95 void serviceScrollAnimations(double) override; 97 void serviceScrollAnimations(double) override;
96 void updateCompositorScrollAnimations() override; 98 void updateCompositorScrollAnimations() override;
97 void cancelProgrammaticScrollAnimation() override; 99 void cancelProgrammaticScrollAnimation() override;
98 ScrollBehavior scrollBehaviorStyle() const override; 100 ScrollBehavior scrollBehaviorStyle() const override;
99 FrameViewBase* getFrameViewBase() override; 101 FrameViewBase* getFrameViewBase() override;
100 void clearScrollableArea() override; 102 void clearScrollableArea() override;
101 LayoutBox* layoutBox() const override; 103 LayoutBox* layoutBox() const override;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 135
134 DEFINE_TYPE_CASTS(RootFrameViewport, 136 DEFINE_TYPE_CASTS(RootFrameViewport,
135 ScrollableArea, 137 ScrollableArea,
136 scrollableArea, 138 scrollableArea,
137 scrollableArea->isRootFrameViewport(), 139 scrollableArea->isRootFrameViewport(),
138 scrollableArea.isRootFrameViewport()); 140 scrollableArea.isRootFrameViewport());
139 141
140 } // namespace blink 142 } // namespace blink
141 143
142 #endif // RootFrameViewport_h 144 #endif // RootFrameViewport_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698