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

Side by Side Diff: ui/display/chromeos/display_configurator.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 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 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 UI_DISPLAY_CHROMEOS_DISPLAY_CONFIGURATOR_H_ 5 #ifndef UI_DISPLAY_CHROMEOS_DISPLAY_CONFIGURATOR_H_
6 #define UI_DISPLAY_CHROMEOS_DISPLAY_CONFIGURATOR_H_ 6 #define UI_DISPLAY_CHROMEOS_DISPLAY_CONFIGURATOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // |flags| contains bitwise-or-ed kSetDisplayPower* values. Returns true if 179 // |flags| contains bitwise-or-ed kSetDisplayPower* values. Returns true if
180 // the system successfully enters (or was already in) |power_state|. 180 // the system successfully enters (or was already in) |power_state|.
181 bool SetDisplayPower(chromeos::DisplayPowerState power_state, int flags); 181 bool SetDisplayPower(chromeos::DisplayPowerState power_state, int flags);
182 182
183 // Force switching the display mode to |new_state|. Returns false if 183 // Force switching the display mode to |new_state|. Returns false if
184 // switching failed (possibly because |new_state| is invalid for the 184 // switching failed (possibly because |new_state| is invalid for the
185 // current set of connected displays). 185 // current set of connected displays).
186 bool SetDisplayMode(MultipleDisplayState new_state); 186 bool SetDisplayMode(MultipleDisplayState new_state);
187 187
188 // NativeDisplayDelegate::Observer overrides: 188 // NativeDisplayDelegate::Observer overrides:
189 virtual void OnConfigurationChanged() OVERRIDE; 189 virtual void OnConfigurationChanged() override;
190 190
191 void AddObserver(Observer* observer); 191 void AddObserver(Observer* observer);
192 void RemoveObserver(Observer* observer); 192 void RemoveObserver(Observer* observer);
193 193
194 // Sets all the displays into pre-suspend mode; usually this means 194 // Sets all the displays into pre-suspend mode; usually this means
195 // configure them for their resume state. This allows faster resume on 195 // configure them for their resume state. This allows faster resume on
196 // machines where display configuration is slow. 196 // machines where display configuration is slow.
197 void SuspendDisplays(); 197 void SuspendDisplays();
198 198
199 // Reprobes displays to handle changes made while the system was 199 // Reprobes displays to handle changes made while the system was
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 345
346 // Display protection requests of each client. 346 // Display protection requests of each client.
347 ProtectionRequests client_protection_requests_; 347 ProtectionRequests client_protection_requests_;
348 348
349 DISALLOW_COPY_AND_ASSIGN(DisplayConfigurator); 349 DISALLOW_COPY_AND_ASSIGN(DisplayConfigurator);
350 }; 350 };
351 351
352 } // namespace ui 352 } // namespace ui
353 353
354 #endif // UI_DISPLAY_CHROMEOS_DISPLAY_CONFIGURATOR_H_ 354 #endif // UI_DISPLAY_CHROMEOS_DISPLAY_CONFIGURATOR_H_
OLDNEW
« no previous file with comments | « ui/compositor/transform_animation_curve_adapter.h ('k') | ui/display/chromeos/display_configurator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698