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

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

Issue 1130823003: Wait for display configuration to finish before suspending (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 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 | « ash/system/chromeos/power/power_event_observer.cc ('k') | 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 96f93eccae994c35e26f7104df0c8de9a9bd6ba7..309c92331c02b2fcf3de38ea8a4ebe2b96e681db 100644
--- a/ui/display/chromeos/display_configurator.h
+++ b/ui/display/chromeos/display_configurator.h
@@ -224,8 +224,9 @@ class DISPLAY_EXPORT DisplayConfigurator : public NativeDisplayObserver {
// Sets all the displays into pre-suspend mode; usually this means
// configure them for their resume state. This allows faster resume on
- // machines where display configuration is slow.
- void SuspendDisplays();
+ // machines where display configuration is slow. On completion of the display
+ // configuration |callback| is executed.
+ void SuspendDisplays(const ConfigurationCallback& callback);
// Reprobes displays to handle changes made while the system was
// suspended.
« no previous file with comments | « ash/system/chromeos/power/power_event_observer.cc ('k') | ui/display/chromeos/display_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698