Chromium Code Reviews| Index: ash/system/chromeos/power/power_event_observer.h |
| diff --git a/ash/system/chromeos/power/power_event_observer.h b/ash/system/chromeos/power/power_event_observer.h |
| index 941e234edd938db53e5fe6c8832c67c4f896e53b..6650d2c27f1ec1bc745311049208b4c16eb0f607 100644 |
| --- a/ash/system/chromeos/power/power_event_observer.h |
| +++ b/ash/system/chromeos/power/power_event_observer.h |
| @@ -40,6 +40,14 @@ class ASH_EXPORT PowerEventObserver |
| base::Closure screen_lock_callback_; |
| private: |
| + // Tells the compositor for each of the displays to resume sending rendering |
| + // requests to the GPU. |
| + void ResumeRenderingRequests(); |
| + |
| + // Tells the compositor for each of the displays to finish all pending |
| + // rendering requests and block any new ones. |
| + void StopRenderingRequests(); |
|
Daniel Erat
2015/02/11 14:11:42
nit: switch the order of these two methods to mirr
|
| + |
| DISALLOW_COPY_AND_ASSIGN(PowerEventObserver); |
| }; |