Index: chromeos/monitor/output_configurator.h |
diff --git a/chromeos/monitor/output_configurator.h b/chromeos/monitor/output_configurator.h |
index b59474f28dd56ed9cef003d453db4ba02c51e89f..4e6bb5f27ae32a2e69dc88fcc094e42b6022a213 100644 |
--- a/chromeos/monitor/output_configurator.h |
+++ b/chromeos/monitor/output_configurator.h |
@@ -103,6 +103,13 @@ class CHROMEOS_EXPORT OutputConfigurator : public MessageLoop::Dispatcher { |
// displays. |
State GetDefaultState() const; |
+ // Called during start-up to determine what the current state of the displays |
+ // appears to be, by investigating how the outputs compare to the data stored |
+ // in |output_cache_|. Returns STATE_INVALID if the current display state |
+ // doesn't match any supported state. |output_cache_| must be up-to-date with |
+ // regards to the state of X or this method may return incorrect results. |
+ State InferCurrentState(Display* display, XRRScreenResources* screen) const; |
+ |
// This is detected by the constructor to determine whether or not we should |
// be enabled. If we aren't running on ChromeOS, we can't assume that the |
// Xrandr X11 extension is supported. |