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

Unified Diff: ash/display/display_change_observer_x11.h

Issue 21297003: Add ability to set resolution on external display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adraddressed comment, adjusted test Created 7 years, 5 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/ash.gyp ('k') | 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 3d13e0d0147c44d71ccfe21a6d6f4edb872dab8e..67811515b19af5665c755790bf5f0ccbcf422eea 100644
--- a/ash/display/display_change_observer_x11.h
+++ b/ash/display/display_change_observer_x11.h
@@ -31,6 +31,9 @@ class DisplayChangeObserverX11
// chromeos::OutputConfigurator::StateController overrides:
virtual chromeos::OutputState GetStateForDisplayIds(
const std::vector<int64>& outputs) const OVERRIDE;
+ virtual bool GetResolutionForDisplayId(int64 display_id,
+ int* width,
+ int* height) const OVERRIDE;
// Overriden from chromeos::OutputConfigurator::Observer:
virtual void OnDisplayModeChanged() OVERRIDE;
@@ -48,12 +51,6 @@ class DisplayChangeObserverX11
DISALLOW_COPY_AND_ASSIGN(DisplayChangeObserverX11);
};
-// Returns true if the size info in the output_info isn't valid
-// and should be ignored. This is exposed for testing.
-// |mm_width| and |mm_height| are given in millimeters.
-ASH_EXPORT bool ShouldIgnoreSize(unsigned long mm_width,
- unsigned long mm_height);
-
} // namespace internal
} // namespace ash
« no previous file with comments | « ash/ash.gyp ('k') | ash/display/display_change_observer_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698