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: ui/views/controls/throbber.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 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/textfield/textfield.h ('k') | ui/views/controls/throbber.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/throbber.h
diff --git a/ui/views/controls/throbber.h b/ui/views/controls/throbber.h
index 43288158b8c8bbe611a04eadd4af792ee4801f90..f88ee57e25b0185bf859b6df443fabc26d124807 100644
--- a/ui/views/controls/throbber.h
+++ b/ui/views/controls/throbber.h
@@ -37,7 +37,7 @@ class VIEWS_EXPORT Throbber : public View {
private:
base::TimeTicks start_time_; // Time when Start was called.
- base::RepeatingTimer<Throbber> timer_; // Used to schedule Run calls.
+ base::RepeatingTimer timer_; // Used to schedule Run calls.
// Whether or not we should display a checkmark.
bool checked_;
@@ -75,8 +75,8 @@ class VIEWS_EXPORT SmoothedThrobber : public Throbber {
// Delay after work stops before stopping, in milliseconds.
int stop_delay_ms_;
- base::OneShotTimer<SmoothedThrobber> start_timer_;
- base::OneShotTimer<SmoothedThrobber> stop_timer_;
+ base::OneShotTimer start_timer_;
+ base::OneShotTimer stop_timer_;
DISALLOW_COPY_AND_ASSIGN(SmoothedThrobber);
};
« no previous file with comments | « ui/views/controls/textfield/textfield.h ('k') | ui/views/controls/throbber.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698