| Index: chromeos/display/output_configurator.h
|
| diff --git a/chromeos/display/output_configurator.h b/chromeos/display/output_configurator.h
|
| index db6e8517e1ef2fefad23a8a54c11fbc50041bcd5..f2c6c1b85cfa3887350dea7f61e8cacab0e47a9d 100644
|
| --- a/chromeos/display/output_configurator.h
|
| +++ b/chromeos/display/output_configurator.h
|
| @@ -425,6 +425,9 @@ class CHROMEOS_EXPORT OutputConfigurator
|
| int64 display_id,
|
| uint32_t desired_protection_mask);
|
|
|
| + // Updates number of active screen sharing sessions.
|
| + void SetScreenSharingCount(int screen_sharing_count);
|
| +
|
| private:
|
| // Mapping a display_id to a protection request bitmask.
|
| typedef std::map<int64, uint32_t> DisplayProtections;
|
| @@ -502,6 +505,9 @@ class CHROMEOS_EXPORT OutputConfigurator
|
| // Applies output protections according to requests.
|
| bool ApplyProtections(const DisplayProtections& requests);
|
|
|
| + // Determines if we are projecting to an external display.
|
| + bool IsProjecting() const;
|
| +
|
| 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);
|
| };
|
|
|
|
|