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

Unified Diff: ui/display/chromeos/display_configurator.h

Issue 463633005: On resume perform a delayed call to SetDisplayPower() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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: ui/display/chromeos/display_configurator.h
diff --git a/ui/display/chromeos/display_configurator.h b/ui/display/chromeos/display_configurator.h
index 67de12e9feaca2836f1c2c1a8ceefe502b7d02b4..04262feb0d85e649252148171da0cd19dd2bb2fc 100644
--- a/ui/display/chromeos/display_configurator.h
+++ b/ui/display/chromeos/display_configurator.h
@@ -126,12 +126,12 @@ class DISPLAY_EXPORT DisplayConfigurator : public NativeDisplayObserver {
};
// Flags that can be passed to SetDisplayPower().
- static const int kSetDisplayPowerNoFlags = 0;
+ static const int kSetDisplayPowerNoFlags;
dnicoara 2014/08/12 18:39:44 If no one minds, I'd like to have a followup CL to
oshima 2014/08/12 20:26:13 sgtm
// Configure displays even if the passed-in state matches |power_state_|.
- static const int kSetDisplayPowerForceProbe = 1 << 0;
+ static const int kSetDisplayPowerForceProbe;
// Do not change the state if multiple displays are connected or if the
// only connected display is external.
- static const int kSetDisplayPowerOnlyIfSingleInternalDisplay = 1 << 1;
+ static const int kSetDisplayPowerOnlyIfSingleInternalDisplay;
// Gap between screens so cursor at bottom of active display doesn't
// partially appear on top of inactive display. Higher numbers guard
« no previous file with comments | « no previous file | ui/display/chromeos/display_configurator.cc » ('j') | ui/display/chromeos/display_configurator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698