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

Unified Diff: sky/engine/platform/scroll/ScrollableArea.h

Issue 689283003: Remove scroll corners and resizers. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/platform/graphics/CompositingReasons.cpp ('k') | sky/engine/platform/scroll/ScrollableArea.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/scroll/ScrollableArea.h
diff --git a/sky/engine/platform/scroll/ScrollableArea.h b/sky/engine/platform/scroll/ScrollableArea.h
index c8f76f2f559d0dffe0255a13ce8ed99c8f2aa0f2..1aebc648ce3ac32d0679f9588b74182f500f72d9 100644
--- a/sky/engine/platform/scroll/ScrollableArea.h
+++ b/sky/engine/platform/scroll/ScrollableArea.h
@@ -129,9 +129,6 @@ public:
virtual bool isActive() const = 0;
virtual int scrollSize(ScrollbarOrientation) const = 0;
virtual void invalidateScrollbar(Scrollbar*, const IntRect&);
- virtual bool isScrollCornerVisible() const = 0;
- virtual IntRect scrollCornerRect() const = 0;
- virtual void invalidateScrollCorner(const IntRect&);
// Convert points and rects between the scrollbar and its containing view.
// The client needs to implement these in order to be aware of layout effects
@@ -209,10 +206,8 @@ public:
virtual GraphicsLayer* layerForScrolling() const { return 0; }
virtual GraphicsLayer* layerForHorizontalScrollbar() const { return 0; }
virtual GraphicsLayer* layerForVerticalScrollbar() const { return 0; }
- virtual GraphicsLayer* layerForScrollCorner() const { return 0; }
bool hasLayerForHorizontalScrollbar() const;
bool hasLayerForVerticalScrollbar() const;
- bool hasLayerForScrollCorner() const;
void cancelProgrammaticScrollAnimation();
@@ -224,7 +219,6 @@ protected:
void resetScrollOriginChanged() { m_scrollOriginChanged = false; }
virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) = 0;
- virtual void invalidateScrollCornerRect(const IntRect&) = 0;
private:
void scrollPositionChanged(const IntPoint&);
« no previous file with comments | « sky/engine/platform/graphics/CompositingReasons.cpp ('k') | sky/engine/platform/scroll/ScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698