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

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

Issue 284853002: Fix HDCP in mirror mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unittest build 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
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);
« 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