Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: ui/display/chromeos/display_configurator.h

Issue 296183002: Merge 271252 "Fix HDCP in mirror mode." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1985/src/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/display/display_manager.cc ('k') | ui/display/chromeos/display_configurator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ash/display/display_manager.cc ('k') | ui/display/chromeos/display_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698