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

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

Issue 1456953003: Revert of Calculate paint invalidation rect for scrollbars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 IntPoint scrollPosition() const override; 51 IntPoint scrollPosition() const override;
52 DoublePoint scrollPositionDouble() const override; 52 DoublePoint scrollPositionDouble() const override;
53 IntPoint minimumScrollPosition() const override; 53 IntPoint minimumScrollPosition() const override;
54 IntPoint maximumScrollPosition() const override; 54 IntPoint maximumScrollPosition() const override;
55 DoublePoint maximumScrollPositionDouble() const override; 55 DoublePoint maximumScrollPositionDouble() const override;
56 IntSize contentsSize() const override; 56 IntSize contentsSize() const override;
57 bool scrollbarsCanBeActive() const override; 57 bool scrollbarsCanBeActive() const override;
58 IntRect scrollableAreaBoundingBox() const override; 58 IntRect scrollableAreaBoundingBox() const override;
59 bool userInputScrollable(ScrollbarOrientation) const override; 59 bool userInputScrollable(ScrollbarOrientation) const override;
60 bool shouldPlaceVerticalScrollbarOnLeft() const override; 60 bool shouldPlaceVerticalScrollbarOnLeft() const override;
61 void scrollControlWasSetNeedsPaintInvalidation() override; 61 void invalidateScrollbarRect(Scrollbar*, const IntRect&) override;
62 void invalidateScrollCornerRect(const IntRect&) override;
62 GraphicsLayer* layerForContainer() const override; 63 GraphicsLayer* layerForContainer() const override;
63 GraphicsLayer* layerForScrolling() const override; 64 GraphicsLayer* layerForScrolling() const override;
64 GraphicsLayer* layerForHorizontalScrollbar() const override; 65 GraphicsLayer* layerForHorizontalScrollbar() const override;
65 GraphicsLayer* layerForVerticalScrollbar() const override; 66 GraphicsLayer* layerForVerticalScrollbar() const override;
66 ScrollResultOneDimensional userScroll(ScrollDirectionPhysical, ScrollGranula rity, float delta = 1) override; 67 ScrollResultOneDimensional userScroll(ScrollDirectionPhysical, ScrollGranula rity, float delta = 1) override;
67 bool scrollAnimatorEnabled() const override; 68 bool scrollAnimatorEnabled() const override;
68 HostWindow* hostWindow() const override; 69 HostWindow* hostWindow() const override;
69 void serviceScrollAnimations(double) override; 70 void serviceScrollAnimations(double) override;
70 void updateCompositorScrollAnimations() override; 71 void updateCompositorScrollAnimations() override;
71 ScrollBehavior scrollBehaviorStyle() const override; 72 ScrollBehavior scrollBehaviorStyle() const override;
(...skipping 17 matching lines...) Expand all
89 RawPtrWillBeMember<ScrollableArea> m_layoutViewport; 90 RawPtrWillBeMember<ScrollableArea> m_layoutViewport;
90 91
91 // Experimental flag. If the experiment is enabled, scroll the visual viewpo rt first, 92 // Experimental flag. If the experiment is enabled, scroll the visual viewpo rt first,
92 // the bubble scrolls to the layout viewport. 93 // the bubble scrolls to the layout viewport.
93 bool m_invertScrollOrder; 94 bool m_invertScrollOrder;
94 }; 95 };
95 96
96 } // namespace blink 97 } // namespace blink
97 98
98 #endif // RootFrameViewport_h 99 #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