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

Unified Diff: ui/views/controls/textfield/textfield.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/menu/menu_controller.cc ('k') | ui/views/controls/throbber.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield.h
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h
index 593954bf5476e7e79e1c85afdcff928cb03f9986..524ba3bac245c14bc871cc47d479ede245415495 100644
--- a/ui/views/controls/textfield/textfield.h
+++ b/ui/views/controls/textfield/textfield.h
@@ -437,7 +437,7 @@ class VIEWS_EXPORT Textfield : public View,
// The duration and timer to reveal the last typed password character.
base::TimeDelta password_reveal_duration_;
- base::OneShotTimer<Textfield> password_reveal_timer_;
+ base::OneShotTimer password_reveal_timer_;
// Tracks whether a user action is being performed; i.e. OnBeforeUserAction()
// has been called, but OnAfterUserAction() has not yet been called.
@@ -447,7 +447,7 @@ class VIEWS_EXPORT Textfield : public View,
bool skip_input_method_cancel_composition_;
// The text editing cursor repaint timer and visibility.
- base::RepeatingTimer<Textfield> cursor_repaint_timer_;
+ base::RepeatingTimer cursor_repaint_timer_;
bool cursor_visible_;
// The drop cursor is a visual cue for where dragged text will be dropped.
@@ -458,7 +458,7 @@ class VIEWS_EXPORT Textfield : public View,
bool initiating_drag_;
// A timer and point used to modify the selection when dragging.
- base::RepeatingTimer<Textfield> drag_selection_timer_;
+ base::RepeatingTimer drag_selection_timer_;
gfx::Point last_drag_location_;
// State variables used to track double and triple clicks.
« no previous file with comments | « ui/views/controls/menu/menu_controller.cc ('k') | ui/views/controls/throbber.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698