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..ace04fa51a133c3166b7521aeaa2d0333552035a 100644 |
--- a/ash/display/display_change_observer_x11.h |
+++ b/ash/display/display_change_observer_x11.h |
@@ -31,6 +31,10 @@ class DisplayChangeObserverX11 |
// chromeos::OutputConfigurator::StateController overrides: |
virtual chromeos::OutputState GetStateForDisplayIds( |
const std::vector<int64>& outputs) const OVERRIDE; |
+ virtual bool GetResolutionForDisplayId( |
+ int64 display_id, |
+ size_t* width, |
Daniel Erat
2013/07/31 17:34:05
why size_t? are you worried that these won't fit i
oshima
2013/07/31 21:59:49
sorry I forgot to fix this. I first thought this i
|
+ size_t* height) const OVERRIDE; |
// Overriden from chromeos::OutputConfigurator::Observer: |
virtual void OnDisplayModeChanged() OVERRIDE; |
@@ -48,12 +52,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 |