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

Unified Diff: ash/display/display_change_observer_x11.h

Issue 12505005: Store rotation/ui scale to local state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | ash/display/display_change_observer_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_change_observer_x11.h
diff --git a/ash/display/display_change_observer_x11.h b/ash/display/display_change_observer_x11.h
index e0456fcb4c8229d20e1ee94898039e4ab059614f..f663fe06ab42accdbab1da6981d97c4fef1e8d2e 100644
--- a/ash/display/display_change_observer_x11.h
+++ b/ash/display/display_change_observer_x11.h
@@ -18,11 +18,16 @@ namespace internal {
// An object that observes changes in display configuration and
// update DisplayManagers.
-class DisplayChangeObserverX11 : public chromeos::OutputConfigurator::Observer {
+class DisplayChangeObserverX11 : public chromeos::OutputConfigurator::Delegate,
+ public chromeos::OutputConfigurator::Observer {
public:
DisplayChangeObserverX11();
virtual ~DisplayChangeObserverX11();
+ // chromeos::OutputConfigurator::Delegate overrides:
+ virtual chromeos::OutputState GetStateForOutputs(
+ const std::vector<RROutput>& outputs) const OVERRIDE;
+
// Overriden from chromeos::OutputConfigurator::Observer:
virtual void OnDisplayModeChanged() OVERRIDE;
« no previous file with comments | « no previous file | ash/display/display_change_observer_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698