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

Unified Diff: chromeos/display/real_output_configurator_delegate.h

Issue 22871010: chromeos: Include mode details in OutputSnapshot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor changes Created 7 years, 4 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: chromeos/display/real_output_configurator_delegate.h
diff --git a/chromeos/display/real_output_configurator_delegate.h b/chromeos/display/real_output_configurator_delegate.h
index 9f083cf59bb338f5e6f08740dedf12378dfbef24..660b0c8ff2d0a3af7ceacb3cb54f4856d0f35e6f 100644
--- a/chromeos/display/real_output_configurator_delegate.h
+++ b/chromeos/display/real_output_configurator_delegate.h
@@ -39,11 +39,6 @@ class RealOutputConfiguratorDelegate : public OutputConfigurator::Delegate {
virtual void ForceDPMSOn() OVERRIDE;
virtual std::vector<OutputConfigurator::OutputSnapshot> GetOutputs(
const OutputConfigurator::StateController* state_controller) OVERRIDE;
- virtual bool GetModeDetails(
- RRMode mode,
- int* width,
- int* height,
- bool* interlaced) OVERRIDE;
virtual bool ConfigureCrtc(
RRCrtc crtc,
RRMode mode,
@@ -60,6 +55,10 @@ class RealOutputConfiguratorDelegate : public OutputConfigurator::Delegate {
virtual void SendProjectingStateToPowerManager(bool projecting) OVERRIDE;
private:
+ // Gets details corresponding to |mode|. Parameters may be NULL. Returns
+ // true on success.
+ bool GetModeDetails(RRMode mode, int* width, int* height, bool* interlaced);
+
// Destroys unused CRTCs and parks used CRTCs in a way which allows a
// framebuffer resize. This is faster than turning them off, resizing,
// then turning them back on.

Powered by Google App Engine
This is Rietveld 408576698