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

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

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/scroll/ScrollableArea.h ('k') | sky/engine/platform/scroll/Scrollbar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/scroll/ScrollableArea.cpp
diff --git a/sky/engine/platform/scroll/ScrollableArea.cpp b/sky/engine/platform/scroll/ScrollableArea.cpp
index 747546efa46d5ce8b5cb9059c95d4e694d4c0ddf..d467c57ef89e9f49c43c0ea6dd56bef33b6d1fd4 100644
--- a/sky/engine/platform/scroll/ScrollableArea.cpp
+++ b/sky/engine/platform/scroll/ScrollableArea.cpp
@@ -385,15 +385,6 @@ void ScrollableArea::invalidateScrollbar(Scrollbar* scrollbar, const IntRect& re
invalidateScrollbarRect(scrollbar, rect);
}
-void ScrollableArea::invalidateScrollCorner(const IntRect& rect)
-{
- if (GraphicsLayer* graphicsLayer = layerForScrollCorner()) {
- graphicsLayer->setNeedsDisplay();
- return;
- }
- invalidateScrollCornerRect(rect);
-}
-
bool ScrollableArea::hasLayerForHorizontalScrollbar() const
{
return layerForHorizontalScrollbar();
@@ -404,11 +395,6 @@ bool ScrollableArea::hasLayerForVerticalScrollbar() const
return layerForVerticalScrollbar();
}
-bool ScrollableArea::hasLayerForScrollCorner() const
-{
- return layerForScrollCorner();
-}
-
bool ScrollableArea::scheduleAnimation()
{
WTF_LOG(ScriptedAnimationController, "ScrollableArea::scheduleAnimation: window = %d",
« no previous file with comments | « sky/engine/platform/scroll/ScrollableArea.h ('k') | sky/engine/platform/scroll/Scrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698