| Index: ui/display/chromeos/display_configurator.h
|
| diff --git a/ui/display/chromeos/display_configurator.h b/ui/display/chromeos/display_configurator.h
|
| index 028a902ef48535579157169f3f0e7c3a6fc77746..e9fda5c9eb48d41ee9b3c64644131d5f00bc2939 100644
|
| --- a/ui/display/chromeos/display_configurator.h
|
| +++ b/ui/display/chromeos/display_configurator.h
|
| @@ -105,6 +105,7 @@ class DISPLAY_EXPORT DisplayConfigurator : public NativeDisplayObserver {
|
|
|
| // Called when the hardware mirroring failed.
|
| virtual void SetSoftwareMirroring(bool enabled) = 0;
|
| + virtual bool SoftwareMirroringEnabled() const = 0;
|
| };
|
|
|
| class TouchscreenDelegate {
|
| @@ -354,6 +355,9 @@ class DISPLAY_EXPORT DisplayConfigurator : public NativeDisplayObserver {
|
| // (mirror_mode_width * mirrow_mode_height) / (native_width * native_height)
|
| float GetMirroredDisplayAreaRatio(const DisplayState& display);
|
|
|
| + // Returns true if in either hardware or software mirroring mode.
|
| + bool IsMirroring() const;
|
| +
|
| // Applies display protections according to requests.
|
| bool ApplyProtections(const ContentProtections& requests);
|
|
|
|
|