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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 2903053002: Removing canvas rendering mode switching feature (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after
1088 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures)}, 1088 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures)},
1089 {"disable-accelerated-2d-canvas", 1089 {"disable-accelerated-2d-canvas",
1090 flag_descriptions::kAccelerated2dCanvasName, 1090 flag_descriptions::kAccelerated2dCanvasName,
1091 flag_descriptions::kAccelerated2dCanvasDescription, kOsAll, 1091 flag_descriptions::kAccelerated2dCanvasDescription, kOsAll,
1092 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)}, 1092 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)},
1093 {"enable-display-list-2d-canvas", 1093 {"enable-display-list-2d-canvas",
1094 flag_descriptions::kDisplayList2dCanvasName, 1094 flag_descriptions::kDisplayList2dCanvasName,
1095 flag_descriptions::kDisplayList2dCanvasDescription, kOsAll, 1095 flag_descriptions::kDisplayList2dCanvasDescription, kOsAll,
1096 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDisplayList2dCanvas, 1096 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDisplayList2dCanvas,
1097 switches::kDisableDisplayList2dCanvas)}, 1097 switches::kDisableDisplayList2dCanvas)},
1098 {"enable-canvas-2d-dynamic-rendering-mode-switching",
1099 flag_descriptions::kEnable2dCanvasDynamicRenderingModeSwitchingName,
1100 flag_descriptions::kEnable2dCanvasDynamicRenderingModeSwitchingDescription,
1101 kOsAll,
1102 SINGLE_VALUE_TYPE(switches::kEnableCanvas2dDynamicRenderingModeSwitching)},
1103 {"composited-layer-borders", flag_descriptions::kCompositedLayerBordersName, 1098 {"composited-layer-borders", flag_descriptions::kCompositedLayerBordersName,
1104 flag_descriptions::kCompositedLayerBordersDescription, kOsAll, 1099 flag_descriptions::kCompositedLayerBordersDescription, kOsAll,
1105 SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders)}, 1100 SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders)},
1106 {"gl-composited-texture-quad-borders", 1101 {"gl-composited-texture-quad-borders",
1107 flag_descriptions::kGlCompositedTextureQuadBordersName, 1102 flag_descriptions::kGlCompositedTextureQuadBordersName,
1108 flag_descriptions::kGlCompositedTextureQuadBordersDescription, kOsAll, 1103 flag_descriptions::kGlCompositedTextureQuadBordersDescription, kOsAll,
1109 SINGLE_VALUE_TYPE(cc::switches::kGlCompositedTextureQuadBorder)}, 1104 SINGLE_VALUE_TYPE(cc::switches::kGlCompositedTextureQuadBorder)},
1110 {"show-overdraw-feedback", flag_descriptions::kShowOverdrawFeedbackName, 1105 {"show-overdraw-feedback", flag_descriptions::kShowOverdrawFeedbackName,
1111 flag_descriptions::kShowOverdrawFeedbackDescription, kOsAll, 1106 flag_descriptions::kShowOverdrawFeedbackDescription, kOsAll,
1112 SINGLE_VALUE_TYPE(cc::switches::kShowOverdrawFeedback)}, 1107 SINGLE_VALUE_TYPE(cc::switches::kShowOverdrawFeedback)},
(...skipping 2105 matching lines...) Expand 10 before | Expand all | Expand 10 after
3218 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 3213 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
3219 3214
3220 const FeatureEntry* GetFeatureEntries(size_t* count) { 3215 const FeatureEntry* GetFeatureEntries(size_t* count) {
3221 *count = arraysize(kFeatureEntries); 3216 *count = arraysize(kFeatureEntries);
3222 return kFeatureEntries; 3217 return kFeatureEntries;
3223 } 3218 }
3224 3219
3225 } // namespace testing 3220 } // namespace testing
3226 3221
3227 } // namespace about_flags 3222 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698