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

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: fix test build 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
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..b61d3653a490975bdf4bbe7774e4678ae6cdd73a 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 detected when failed.
+ // |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_unittest.cc ('k') | ui/display/chromeos/display_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698