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

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

Issue 923273003: Update diplays even if configuration failed during startup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/display/display_error_observer_chromeos.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 c77b96acd7c577321319de331724aa77829e3ab6..b317b630aab57f178fdb4eb9d48cc2e66232b04a 100644
--- a/ui/display/chromeos/display_configurator.h
+++ b/ui/display/chromeos/display_configurator.h
@@ -65,11 +65,13 @@ class DISPLAY_EXPORT DisplayConfigurator : public NativeDisplayObserver {
// when this method is called, so the actual configuration could've changed
// already.
virtual void OnDisplayModeChanged(
- const std::vector<DisplayState>& displays) {}
+ const DisplayStateList& displays) {}
- // Called after a display mode change attempt failed. |failed_new_state| is
- // the new state which the system failed to enter.
+ // Called after a display mode change attempt failed. |displays| contains
+ // displays that are deteced when faield.
dnicoara 2015/02/23 17:08:25 s/deteced/detected/ s/faield/failed/
oshima 2015/02/23 17:58:29 Done.
+ // |failed_new_state| is the new state which the system failed to enter.
virtual void OnDisplayModeChangeFailed(
+ const DisplayStateList& displays,
MultipleDisplayState failed_new_state) {}
};
« no previous file with comments | « ash/display/display_error_observer_chromeos.cc ('k') | ui/display/chromeos/display_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698