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

Unified Diff: ui/views/repeat_controller.h

Issue 2192443003: MacViews: Fix scrolling when clicking on the views::ScrollView scroll track (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: static const Created 4 years, 5 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 | « ui/views/controls/scrollbar/native_scroll_bar.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/repeat_controller.h
diff --git a/ui/views/repeat_controller.h b/ui/views/repeat_controller.h
index 5eef95961ed6eefd3e91f9753dc1ce01dbb71fe1..aff5a35fbf360958dbb0d4bd3c0affe45d79db32 100644
--- a/ui/views/repeat_controller.h
+++ b/ui/views/repeat_controller.h
@@ -33,6 +33,8 @@ class RepeatController {
// Stop repeating.
void Stop();
+ const base::OneShotTimer& timer_for_testing() const { return timer_; }
+
private:
// Called when the timer expires.
void Run();
« no previous file with comments | « ui/views/controls/scrollbar/native_scroll_bar.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698