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

Unified Diff: chrome/browser/ui/exclusive_access/exclusive_access_bubble.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
Index: chrome/browser/ui/exclusive_access/exclusive_access_bubble.h
diff --git a/chrome/browser/ui/exclusive_access/exclusive_access_bubble.h b/chrome/browser/ui/exclusive_access/exclusive_access_bubble.h
index 63bbc48ae7d6bd10f105067f83742384edfc9149..b93fd75ca847f9812046265ccdf049b25b66fa2e 100644
--- a/chrome/browser/ui/exclusive_access/exclusive_access_bubble.h
+++ b/chrome/browser/ui/exclusive_access/exclusive_access_bubble.h
@@ -110,22 +110,22 @@ class ExclusiveAccessBubble : public gfx::AnimationDelegate {
// When this timer is active, prevent the bubble from hiding. This ensures it
// will be displayed for a minimum amount of time (which can be extended by
// the user moving the mouse to the top of the screen and holding it there).
- base::OneShotTimer<ExclusiveAccessBubble> hide_timeout_;
+ base::OneShotTimer hide_timeout_;
// Timer to see how long the mouse has been idle.
- base::OneShotTimer<ExclusiveAccessBubble> idle_timeout_;
+ base::OneShotTimer idle_timeout_;
// When this timer has elapsed, on the next mouse input, we will notify the
// user about any currently active exclusive access. This is used to enact
// both the initial debounce period, and the snooze period before re-notifying
// the user (see notification display design note above).
- base::OneShotTimer<ExclusiveAccessBubble> suppress_notify_timeout_;
+ base::OneShotTimer suppress_notify_timeout_;
// Timer to poll the current mouse position. We can't just listen for mouse
// events without putting a non-empty HWND onscreen (or hooking Windows, which
// has other problems), so instead we run a low-frequency poller to see if the
// user has moved in or out of our show/hide regions.
- base::RepeatingTimer<ExclusiveAccessBubble> mouse_position_checker_;
+ base::RepeatingTimer mouse_position_checker_;
// The most recently seen mouse position, in screen coordinates. Used to see
// if the mouse has moved since our last check.
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_impl.h ('k') | chrome/browser/ui/panels/display_settings_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698