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

Unified Diff: chrome/browser/about_flags.cc

Issue 10667023: Revert 143931 - Enable Pointer Lock by default, change about:flags option to multi-select. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
===================================================================
--- chrome/browser/about_flags.cc (revision 144010)
+++ chrome/browser/about_flags.cc (working copy)
@@ -131,15 +131,7 @@
switches::kTouchOptimizedUIDisabled }
};
-const Experiment::Choice kPointerLockUIChoices[] = {
- { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
- { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
- switches::kEnablePointerLock, ""},
- { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
- switches::kDisablePointerLock, ""}
-};
-
// RECORDING USER METRICS FOR FLAGS:
// -----------------------------------------------------------------------------
// The first line of the experiment is the internal name. If you'd like to
@@ -526,7 +518,7 @@
IDS_FLAGS_ENABLE_POINTER_LOCK_NAME,
IDS_FLAGS_ENABLE_POINTER_LOCK_DESCRIPTION,
kOsAll,
- MULTI_VALUE_TYPE(kPointerLockUIChoices)
+ SINGLE_VALUE_TYPE(switches::kEnablePointerLock)
},
#if defined(USE_ASH)
{
Property changes on: chrome/browser/about_flags.cc
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698