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

Unified Diff: chrome/browser/about_flags.cc

Issue 967733005: [ozone] Add an about flag to enable ozone overlay testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « chrome/app/generated_resources.grd ('k') | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 45b254561762a6e180a25bff872cab9ab2e37a92..fa498080f9561ff2218414b3dfb0215a7ee6b0ef 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -66,6 +66,10 @@
#include "extensions/common/switches.h"
#endif
+#if defined(USE_OZONE)
+#include "ui/ozone/public/ozone_switches.h"
+#endif
+
namespace about_flags {
// Macros to simplify specifying the type.
@@ -2208,6 +2212,15 @@ const Experiment kExperiments[] = {
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableChildAccountDetection,
switches::kDisableChildAccountDetection)
},
+#if defined(OS_CHROMEOS) && defined(USE_OZONE)
+ {
+ "ozone-test-single-overlay-support",
+ IDS_FLAGS_OZONE_TEST_SINGLE_HARDWARE_OVERLAY,
+ IDS_FLAGS_OZONE_TEST_SINGLE_HARDWARE_OVERLAY_DESCRIPTION,
+ kOsCrOS,
+ SINGLE_VALUE_TYPE(switches::kOzoneTestSingleOverlaySupport)
+ },
+#endif // defined(OS_CHROMEOS) && defined(USE_OZONE)
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698