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

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

Issue 652073002: chromeos: Don't apply stale display power state after resume (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a test 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/display/chromeos/display_configurator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/chromeos/display_configurator.h
diff --git a/ui/display/chromeos/display_configurator.h b/ui/display/chromeos/display_configurator.h
index bbc7b533ec7594398340674abcc51f8ac05a19a2..f4b10d0904ef92503900df84e4b489193e162be2 100644
--- a/ui/display/chromeos/display_configurator.h
+++ b/ui/display/chromeos/display_configurator.h
@@ -267,9 +267,13 @@ class DISPLAY_EXPORT DisplayConfigurator : public NativeDisplayObserver {
bool try_panel_fitting,
bool preserve_aspect);
- // Configures displays.
+ // Configures displays. Invoked by |configure_timer_|.
void ConfigureDisplays();
+ // Restores |requested_power_state_| after the system has resumed,
+ // additionally forcing a probe. Invoked by |configure_timer_|.
+ void RestoreRequestedPowerStateAfterResume();
+
// Notifies observers about an attempted state change.
void NotifyObservers(bool success, MultipleDisplayState attempted_state);
« no previous file with comments | « no previous file | ui/display/chromeos/display_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698