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

Unified Diff: ui/views/controls/scrollbar/base_scroll_bar.h

Issue 2454323002: MacViews: Reveal scrollbars when resting on the trackpad. (Closed)
Patch Set: respond to comments Created 4 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
Index: ui/views/controls/scrollbar/base_scroll_bar.h
diff --git a/ui/views/controls/scrollbar/base_scroll_bar.h b/ui/views/controls/scrollbar/base_scroll_bar.h
index c8ede5bcb99e0621fdc64bf6848004fa67b46aa2..6018576967952db72031b2cd9b2e464db6879a14 100644
--- a/ui/views/controls/scrollbar/base_scroll_bar.h
+++ b/ui/views/controls/scrollbar/base_scroll_bar.h
@@ -116,6 +116,7 @@ class VIEWS_EXPORT BaseScrollBar : public ScrollBar,
FRIEND_TEST_ALL_PREFIXES(ScrollBarViewsTest, ScrollBarFitsToBottom);
FRIEND_TEST_ALL_PREFIXES(ScrollBarViewsTest, ThumbFullLengthOfTrack);
+ static base::Timer* GetHideTimerForTest(BaseScrollBar* scroll_bar);
tapted 2016/11/15 12:22:23 (note: This is a bit of a trade-off. I didn't give
int GetThumbSizeForTest();
// Changes to 'pushed' state and starts a timer to scroll repeatedly.

Powered by Google App Engine
This is Rietveld 408576698