| Index: chrome/browser/about_flags.cc
|
| diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
| index 91a19aa643477a918832f230ebb24100867114a0..4ec8546563d684ae003517cd24e623666b44bc91 100644
|
| --- a/chrome/browser/about_flags.cc
|
| +++ b/chrome/browser/about_flags.cc
|
| @@ -201,15 +201,15 @@ const Experiment::Choice kNaClDebugMaskChoices[] = {
|
| const Experiment::Choice kImplSidePaintingChoices[] = {
|
| { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
|
| { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
|
| - cc::switches::kEnableImplSidePainting, ""},
|
| + switches::kEnableImplSidePainting, ""},
|
| { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
|
| - cc::switches::kDisableImplSidePainting, ""}
|
| + switches::kDisableImplSidePainting, ""}
|
| };
|
|
|
| const Experiment::Choice kLCDTextChoices[] = {
|
| { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
|
| - { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED, cc::switches::kEnableLCDText, ""},
|
| - { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, cc::switches::kDisableLCDText, ""}
|
| + { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED, switches::kEnableLCDText, ""},
|
| + { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, switches::kDisableLCDText, ""}
|
| };
|
|
|
| const Experiment::Choice kDelegatedRendererChoices[] = {
|
| @@ -299,9 +299,9 @@ const Experiment::Choice kOverlayScrollbarChoices[] = {
|
| const Experiment::Choice kMapImageChoices[] = {
|
| { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
|
| { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
|
| - cc::switches::kEnableMapImage, ""},
|
| + switches::kEnableMapImage, ""},
|
| { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
|
| - cc::switches::kDisableMapImage, ""}
|
| + switches::kDisableMapImage, ""}
|
| };
|
|
|
| #if defined(OS_ANDROID)
|
| @@ -326,6 +326,16 @@ const Experiment::Choice kNumRasterThreadsChoices[] = {
|
| { IDS_FLAGS_NUM_RASTER_THREADS_FOUR, switches::kNumRasterThreads, "4" }
|
| };
|
|
|
| +const Experiment::Choice kEnableGpuRasterizationChoices[] = {
|
| + { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
|
| + { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
|
| + switches::kEnableGpuRasterization, "" },
|
| + { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
|
| + switches::kDisableGpuRasterization, "" },
|
| + { IDS_FLAGS_FORCE_GPU_RASTERIZATION,
|
| + switches::kForceGpuRasterization, "" },
|
| +};
|
| +
|
| // We're using independent flags here (as opposed to a common flag with
|
| // different values) to be able to enable/disable the entire experience
|
| // associated with this feature server-side from the FieldTrial (the complete
|
| @@ -867,7 +877,7 @@ const Experiment kExperiments[] = {
|
| IDS_FLAGS_ENABLE_GPU_RASTERIZATION_NAME,
|
| IDS_FLAGS_ENABLE_GPU_RASTERIZATION_DESCRIPTION,
|
| kOsAndroid,
|
| - SINGLE_VALUE_TYPE(cc::switches::kEnableGPURasterization)
|
| + MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices)
|
| },
|
| {
|
| "enable-experimental-web-platform-features",
|
|
|