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

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

Issue 856443005: Delete some noop and dead scrollbar code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/platform/scroll/ScrollableArea.cpp ('k') | sky/engine/platform/scroll/Scrollbar.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/scroll/Scrollbar.h
diff --git a/sky/engine/platform/scroll/Scrollbar.h b/sky/engine/platform/scroll/Scrollbar.h
index 8fcf3c7bed5405d08338e937f9534169d4e190dd..5936913d74ae72e4eabca10fc1380dbc0e0bece4 100644
--- a/sky/engine/platform/scroll/Scrollbar.h
+++ b/sky/engine/platform/scroll/Scrollbar.h
@@ -47,7 +47,6 @@ public:
virtual ~Scrollbar();
- ScrollbarOverlayStyle scrollbarOverlayStyle() const;
bool isScrollableAreaActive() const;
ScrollbarOrientation orientation() const { return m_orientation; }
@@ -59,9 +58,6 @@ public:
int totalSize() const { return m_totalSize; }
int maximum() const { return m_totalSize - m_visibleSize; }
- bool enabled() const { return m_enabled; }
- void setEnabled(bool);
-
// Called by the ScrollableArea when the scroll offset changes.
void offsetDidChange();
@@ -152,8 +148,6 @@ protected:
float m_scrollPos;
int m_documentDragPos;
- bool m_enabled;
-
Timer<Scrollbar> m_scrollTimer;
bool m_overlapsResizer;
« no previous file with comments | « sky/engine/platform/scroll/ScrollableArea.cpp ('k') | sky/engine/platform/scroll/Scrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698