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

Side by Side Diff: sky/engine/core/rendering/RenderLayerScrollableArea.h

Issue 842113005: Delete a bunch of noop paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix comment Created 5 years, 11 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 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual ~RenderLayerScrollableArea(); 60 virtual ~RenderLayerScrollableArea();
61 61
62 bool hasHorizontalScrollbar() const { return horizontalScrollbar(); } 62 bool hasHorizontalScrollbar() const { return horizontalScrollbar(); }
63 bool hasVerticalScrollbar() const { return verticalScrollbar(); } 63 bool hasVerticalScrollbar() const { return verticalScrollbar(); }
64 64
65 Scrollbar* horizontalScrollbar() const override { return m_hBar.get(); } 65 Scrollbar* horizontalScrollbar() const override { return m_hBar.get(); }
66 Scrollbar* verticalScrollbar() const override { return m_vBar.get(); } 66 Scrollbar* verticalScrollbar() const override { return m_vBar.get(); }
67 67
68 HostWindow* hostWindow() const override; 68 HostWindow* hostWindow() const override;
69 69
70 void invalidateScrollbarRect(Scrollbar*, const IntRect&) override;
71 bool isActive() const override; 70 bool isActive() const override;
72 IntRect scrollCornerRect() const; 71 IntRect scrollCornerRect() const;
73 IntRect convertFromScrollbarToContainingView(const Scrollbar*, const IntRect &) const override; 72 IntRect convertFromScrollbarToContainingView(const Scrollbar*, const IntRect &) const override;
74 IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const IntRect &) const override; 73 IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const IntRect &) const override;
75 IntPoint convertFromScrollbarToContainingView(const Scrollbar*, const IntPoi nt&) const override; 74 IntPoint convertFromScrollbarToContainingView(const Scrollbar*, const IntPoi nt&) const override;
76 IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, const IntPoi nt&) const override; 75 IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, const IntPoi nt&) const override;
77 int scrollSize(ScrollbarOrientation) const override; 76 int scrollSize(ScrollbarOrientation) const override;
78 void setScrollOffset(const IntPoint&) override; 77 void setScrollOffset(const IntPoint&) override;
79 IntPoint scrollPosition() const override; 78 IntPoint scrollPosition() const override;
80 IntPoint minimumScrollPosition() const override; 79 IntPoint minimumScrollPosition() const override;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 IntPoint m_cachedOverlayScrollbarOffset; 187 IntPoint m_cachedOverlayScrollbarOffset;
189 188
190 // For areas with overflow, we have a pair of scrollbars. 189 // For areas with overflow, we have a pair of scrollbars.
191 RefPtr<Scrollbar> m_hBar; 190 RefPtr<Scrollbar> m_hBar;
192 RefPtr<Scrollbar> m_vBar; 191 RefPtr<Scrollbar> m_vBar;
193 }; 192 };
194 193
195 } // namespace blink 194 } // namespace blink
196 195
197 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_ 196 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERSCROLLABLEAREA_H_
OLDNEW
« no previous file with comments | « sky/engine/core/page/ChromeClient.h ('k') | sky/engine/core/rendering/RenderLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698