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

Unified Diff: ui/views/repeat_controller.h

Issue 2189583004: [not for review - epic CL] Adding Elastic+Momentum+Layered scrolling to views::ScrollView Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Combined rebase 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
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();

Powered by Google App Engine
This is Rietveld 408576698