| Index: chromeos/display/output_configurator.h
|
| diff --git a/chromeos/display/output_configurator.h b/chromeos/display/output_configurator.h
|
| index db6e8517e1ef2fefad23a8a54c11fbc50041bcd5..16807d1887aa002bbc4aa4d890ba3a82a193e124 100644
|
| --- a/chromeos/display/output_configurator.h
|
| +++ b/chromeos/display/output_configurator.h
|
| @@ -378,6 +378,9 @@ class CHROMEOS_EXPORT OutputConfigurator
|
| const base::NativeEvent& event) OVERRIDE;
|
| virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE;
|
|
|
| + // Called when a screen sharing session is started or stopped.
|
| + void OnScreenSharingStateChanged(bool started);
|
| +
|
| void AddObserver(Observer* observer);
|
| void RemoveObserver(Observer* observer);
|
|
|
| @@ -502,6 +505,9 @@ class CHROMEOS_EXPORT OutputConfigurator
|
| // Applies output protections according to requests.
|
| bool ApplyProtections(const DisplayProtections& requests);
|
|
|
| + // Sends the current projecting state to power manager.
|
| + void SendProjectingStateToPowerManager();
|
| +
|
| StateController* state_controller_;
|
| SoftwareMirroringController* mirroring_controller_;
|
| scoped_ptr<Delegate> delegate_;
|
| @@ -550,6 +556,9 @@ class CHROMEOS_EXPORT OutputConfigurator
|
| // Output protection requests of each client.
|
| ProtectionRequests client_protection_requests_;
|
|
|
| + // Number of outstanding screen sharing sessions.
|
| + int screen_sharing_count_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(OutputConfigurator);
|
| };
|
|
|
|
|