Chromium Code Reviews| Index: ui/display/chromeos/display_configurator.h |
| diff --git a/ui/display/chromeos/display_configurator.h b/ui/display/chromeos/display_configurator.h |
| index 7a2449f3e56de61715d54f490333e072d18fe8d6..07e391dd62345e0f41ba43820f4656327b5f8c22 100644 |
| --- a/ui/display/chromeos/display_configurator.h |
| +++ b/ui/display/chromeos/display_configurator.h |
| @@ -396,6 +396,9 @@ class DISPLAY_EXPORT DisplayConfigurator : public NativeDisplayObserver { |
| // Stores the requested power state. |
| chromeos::DisplayPowerState requested_power_state_; |
| + // The display power state before suspend. |
| + chromeos::DisplayPowerState saved_power_state_; |
|
Daniel Erat
2016/04/08 20:26:51
here's a possibly-naive question: why is this need
dbasehore
2016/04/08 20:38:11
This is to handle the display state changing out f
Daniel Erat
2016/04/08 20:42:11
yeah, that's the idea. then we don't need to track
|
| + |
| // True if |requested_power_state_| has been changed due to a user request. |
| bool requested_power_state_change_; |