Chromium Code Reviews| Index: chrome/browser/about_flags.cc |
| diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc |
| index f90c6cc97c4067b60c59bed3b884f6a1f2ee9634..b1438b12a5bcb158725812036ac64ed050f4a213 100644 |
| --- a/chrome/browser/about_flags.cc |
| +++ b/chrome/browser/about_flags.cc |
| @@ -155,14 +155,6 @@ const Experiment::Choice kEnableAcceleratedFixedRootBackgroundChoices[] = { |
| switches::kDisableAcceleratedFixedRootBackground, ""}, |
| }; |
| -const Experiment::Choice kGDIPresentChoices[] = { |
| - { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, |
| - { IDS_FLAGS_PRESENT_WITH_GDI_FIRST_SHOW, |
| - switches::kDoFirstShowPresentWithGDI, ""}, |
| - { IDS_FLAGS_PRESENT_WITH_GDI_ALL_SHOW, |
| - switches::kDoAllShowPresentWithGDI, ""} |
| -}; |
| - |
|
vangelis
2013/12/18 21:32:28
We should also remove the IDS strings for the flag
|
| const Experiment::Choice kTouchEventsChoices[] = { |
| { IDS_GENERIC_EXPERIMENT_CHOICE_AUTOMATIC, "", "" }, |
| { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED, |
| @@ -424,7 +416,7 @@ const Experiment kExperiments[] = { |
| "force-compositing-mode-2", |
| IDS_FLAGS_FORCE_COMPOSITING_MODE_NAME, |
| IDS_FLAGS_FORCE_COMPOSITING_MODE_DESCRIPTION, |
| - kOsMac | kOsWin | kOsLinux, |
| + kOsMac | kOsLinux, |
| ENABLE_DISABLE_VALUE_TYPE(switches::kForceCompositingMode, |
| switches::kDisableForceCompositingMode) |
| }, |
| @@ -432,7 +424,7 @@ const Experiment kExperiments[] = { |
| "threaded-compositing-mode", |
| IDS_FLAGS_THREADED_COMPOSITING_MODE_NAME, |
| IDS_FLAGS_THREADED_COMPOSITING_MODE_DESCRIPTION, |
| - kOsMac | kOsWin | kOsLinux, |
| + kOsMac | kOsLinux, |
| ENABLE_DISABLE_VALUE_TYPE(switches::kEnableThreadedCompositing, |
| switches::kDisableThreadedCompositing) |
| }, |
| @@ -462,13 +454,6 @@ const Experiment kExperiments[] = { |
| switches::kEnableLayerSquashing, |
| switches::kDisableLayerSquashing) |
| }, |
| - { |
| - "present-with-GDI", |
| - IDS_FLAGS_PRESENT_WITH_GDI_NAME, |
| - IDS_FLAGS_PRESENT_WITH_GDI_DESCRIPTION, |
| - kOsWin, |
| - MULTI_VALUE_TYPE(kGDIPresentChoices) |
| - }, |
| #if defined(OS_WIN) |
| { |
| "enable-direct-write", |
| @@ -493,13 +478,6 @@ const Experiment kExperiments[] = { |
| SINGLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas) |
| }, |
| { |
| - "disable-threaded-animation", |
| - IDS_FLAGS_DISABLE_THREADED_ANIMATION_NAME, |
| - IDS_FLAGS_DISABLE_THREADED_ANIMATION_DESCRIPTION, |
| - kOsAll, |
| - SINGLE_VALUE_TYPE(cc::switches::kDisableThreadedAnimation) |
| - }, |
| - { |
| "composited-layer-borders", |
| IDS_FLAGS_COMPOSITED_LAYER_BORDERS, |
| IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, |
| @@ -763,7 +741,7 @@ const Experiment kExperiments[] = { |
| IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, |
| // Can't expose the switch unless the code is compiled in. |
| // On by default for the Mac (different implementation in WebKit). |
| - kOsWin | kOsLinux, |
| + kOsLinux, |
| SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) |
| }, |
| { |