OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |