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

Unified Diff: chrome/browser/ui/panels/panel_mouse_watcher_timer.cc

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/panels/panel_mouse_watcher_timer.cc
diff --git a/chrome/browser/ui/panels/panel_mouse_watcher_timer.cc b/chrome/browser/ui/panels/panel_mouse_watcher_timer.cc
index 774fb60b370df6d8065102a012507e16284eb295..6d786fc9f53315f69b6701401cd005dd66a94798 100644
--- a/chrome/browser/ui/panels/panel_mouse_watcher_timer.cc
+++ b/chrome/browser/ui/panels/panel_mouse_watcher_timer.cc
@@ -25,13 +25,13 @@ class PanelMouseWatcherTimer : public PanelMouseWatcher {
// Timer callback function.
void DoWork();
- friend class base::RepeatingTimer<PanelMouseWatcherTimer>;
+ friend class base::RepeatingTimer;
// Timer used to track mouse movements. Some OSes do not provide an easy way
// of tracking mouse movements across applications. So we use a timer to
// accomplish the same. This could also be more efficient as you end up
// getting a lot of notifications when tracking mouse movements.
- base::RepeatingTimer<PanelMouseWatcherTimer> timer_;
+ base::RepeatingTimer timer_;
DISALLOW_COPY_AND_ASSIGN(PanelMouseWatcherTimer);
};
« no previous file with comments | « chrome/browser/ui/panels/display_settings_provider.h ('k') | chrome/browser/ui/views/app_list/win/activation_tracker_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698