summaryrefslogtreecommitdiff
path: root/chromium/ui/display/display_features.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-03-12 09:13:00 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-03-16 09:58:26 +0000
commit03561cae90f1d99b5c54b1ef3be69f10e882b25e (patch)
treecc5f0958e823c044e7ae51cc0117fe51432abe5e /chromium/ui/display/display_features.cc
parentfa98118a45f7e169f8846086dc2c22c49a8ba310 (diff)
downloadqtwebengine-chromium-03561cae90f1d99b5c54b1ef3be69f10e882b25e.tar.gz
BASELINE: Update Chromium to 88.0.4324.208
Change-Id: I3ae87d23e4eff4b4a469685658740a213600c667 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/ui/display/display_features.cc')
-rw-r--r--chromium/ui/display/display_features.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/chromium/ui/display/display_features.cc b/chromium/ui/display/display_features.cc
index 9d5a08ed60f..3b9e4de733c 100644
--- a/chromium/ui/display/display_features.cc
+++ b/chromium/ui/display/display_features.cc
@@ -32,5 +32,15 @@ bool IsListAllDisplayModesEnabled() {
return base::FeatureList::IsEnabled(kListAllDisplayModes);
}
+// TODO(crbug.com/1161556): Add a flag to control hardware mirroring as the
+// first step towards permanently disabling hardware mirroring. This will be
+// removed once no critical regression is seen by removing HW mirroring.
+const base::Feature kEnableHardwareMirrorMode{
+ "EnableHardwareMirrorMode", base::FEATURE_DISABLED_BY_DEFAULT};
+
+bool IsHardwareMirrorModeEnabled() {
+ return base::FeatureList::IsEnabled(kEnableHardwareMirrorMode);
+}
+
} // namespace features
} // namespace display