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

Side by Side Diff: chrome/browser/ui/panels/display_settings_provider.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, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_H_
6 #define CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_H_ 6 #define CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_H_
7 7
8 #include "base/observer_list.h" 8 #include "base/observer_list.h"
9 #include "base/timer/timer.h" 9 #include "base/timer/timer.h"
10 #include "ui/gfx/geometry/rect.h" 10 #include "ui/gfx/geometry/rect.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 private: 142 private:
143 // Observers that listen to various display settings changes. 143 // Observers that listen to various display settings changes.
144 base::ObserverList<DisplayObserver> display_observers_; 144 base::ObserverList<DisplayObserver> display_observers_;
145 base::ObserverList<DesktopBarObserver> desktop_bar_observers_; 145 base::ObserverList<DesktopBarObserver> desktop_bar_observers_;
146 base::ObserverList<FullScreenObserver> full_screen_observers_; 146 base::ObserverList<FullScreenObserver> full_screen_observers_;
147 147
148 // True if full screen mode or presentation mode is entered. 148 // True if full screen mode or presentation mode is entered.
149 bool is_full_screen_; 149 bool is_full_screen_;
150 150
151 // Timer used to detect full-screen mode change. 151 // Timer used to detect full-screen mode change.
152 base::RepeatingTimer<DisplaySettingsProvider> full_screen_mode_timer_; 152 base::RepeatingTimer full_screen_mode_timer_;
153 153
154 DISALLOW_COPY_AND_ASSIGN(DisplaySettingsProvider); 154 DISALLOW_COPY_AND_ASSIGN(DisplaySettingsProvider);
155 }; 155 };
156 156
157 #endif // CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_H_ 157 #endif // CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/exclusive_access/exclusive_access_bubble.h ('k') | chrome/browser/ui/panels/panel_mouse_watcher_timer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698