| Index: ui/display/chromeos/display_configurator.h
|
| ===================================================================
|
| --- ui/display/chromeos/display_configurator.h (revision 272088)
|
| +++ ui/display/chromeos/display_configurator.h (working copy)
|
| @@ -94,6 +94,7 @@
|
|
|
| // Called when the hardware mirroring failed.
|
| virtual void SetSoftwareMirroring(bool enabled) = 0;
|
| + virtual bool SoftwareMirroringEnabled() const = 0;
|
| };
|
|
|
| class TouchscreenDelegate {
|
| @@ -321,6 +322,9 @@
|
| // (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);
|
|
|
|
|