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

Side by Side Diff: ash/content/display/screen_orientation_controller_chromeos.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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
« no previous file with comments | « apps/app_lifetime_monitor.h ('k') | ash/desktop_background/desktop_background_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ASH_CONTENT_DISPLAY_SCREEN_ORIENTATION_CONTROLLER_CHROMEOS_H_ 5 #ifndef ASH_CONTENT_DISPLAY_SCREEN_ORIENTATION_CONTROLLER_CHROMEOS_H_
6 #define ASH_CONTENT_DISPLAY_SCREEN_ORIENTATION_CONTROLLER_CHROMEOS_H_ 6 #define ASH_CONTENT_DISPLAY_SCREEN_ORIENTATION_CONTROLLER_CHROMEOS_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 // The rotation of the display set by the user. This rotation will be 173 // The rotation of the display set by the user. This rotation will be
174 // restored upon exiting maximize mode. 174 // restored upon exiting maximize mode.
175 gfx::Display::Rotation user_rotation_; 175 gfx::Display::Rotation user_rotation_;
176 176
177 // The current rotation set by ScreenOrientationController for the internal 177 // The current rotation set by ScreenOrientationController for the internal
178 // display. 178 // display.
179 gfx::Display::Rotation current_rotation_; 179 gfx::Display::Rotation current_rotation_;
180 180
181 // Rotation Lock observers. 181 // Rotation Lock observers.
182 ObserverList<Observer> observers_; 182 base::ObserverList<Observer> observers_;
183 183
184 // Tracks all windows that have requested a lock, as well as the requested 184 // Tracks all windows that have requested a lock, as well as the requested
185 // orientation. 185 // orientation.
186 std::map<aura::Window*, blink::WebScreenOrientationLockType> locking_windows_; 186 std::map<aura::Window*, blink::WebScreenOrientationLockType> locking_windows_;
187 187
188 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationController); 188 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationController);
189 }; 189 };
190 190
191 } // namespace ash 191 } // namespace ash
192 192
193 #endif // ASH_CONTENT_DISPLAY_SCREEN_ORIENTATION_CONTROLLER_CHROMEOS_H_ 193 #endif // ASH_CONTENT_DISPLAY_SCREEN_ORIENTATION_CONTROLLER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « apps/app_lifetime_monitor.h ('k') | ash/desktop_background/desktop_background_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698