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

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

Issue 2903053002: Removing canvas rendering mode switching feature (Closed)
Patch Set: fix test failure Created 3 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures)}, 1094 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures)},
1095 {"disable-accelerated-2d-canvas", 1095 {"disable-accelerated-2d-canvas",
1096 flag_descriptions::kAccelerated2dCanvasName, 1096 flag_descriptions::kAccelerated2dCanvasName,
1097 flag_descriptions::kAccelerated2dCanvasDescription, kOsAll, 1097 flag_descriptions::kAccelerated2dCanvasDescription, kOsAll,
1098 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)}, 1098 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)},
1099 {"enable-display-list-2d-canvas", 1099 {"enable-display-list-2d-canvas",
1100 flag_descriptions::kDisplayList2dCanvasName, 1100 flag_descriptions::kDisplayList2dCanvasName,
1101 flag_descriptions::kDisplayList2dCanvasDescription, kOsAll, 1101 flag_descriptions::kDisplayList2dCanvasDescription, kOsAll,
1102 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDisplayList2dCanvas, 1102 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDisplayList2dCanvas,
1103 switches::kDisableDisplayList2dCanvas)}, 1103 switches::kDisableDisplayList2dCanvas)},
1104 {"enable-canvas-2d-dynamic-rendering-mode-switching",
1105 flag_descriptions::kEnable2dCanvasDynamicRenderingModeSwitchingName,
1106 flag_descriptions::kEnable2dCanvasDynamicRenderingModeSwitchingDescription,
1107 kOsAll,
1108 SINGLE_VALUE_TYPE(switches::kEnableCanvas2dDynamicRenderingModeSwitching)},
1109 {"composited-layer-borders", flag_descriptions::kCompositedLayerBordersName, 1104 {"composited-layer-borders", flag_descriptions::kCompositedLayerBordersName,
1110 flag_descriptions::kCompositedLayerBordersDescription, kOsAll, 1105 flag_descriptions::kCompositedLayerBordersDescription, kOsAll,
1111 SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders)}, 1106 SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders)},
1112 {"gl-composited-texture-quad-borders", 1107 {"gl-composited-texture-quad-borders",
1113 flag_descriptions::kGlCompositedTextureQuadBordersName, 1108 flag_descriptions::kGlCompositedTextureQuadBordersName,
1114 flag_descriptions::kGlCompositedTextureQuadBordersDescription, kOsAll, 1109 flag_descriptions::kGlCompositedTextureQuadBordersDescription, kOsAll,
1115 SINGLE_VALUE_TYPE(cc::switches::kGlCompositedTextureQuadBorder)}, 1110 SINGLE_VALUE_TYPE(cc::switches::kGlCompositedTextureQuadBorder)},
1116 {"show-overdraw-feedback", flag_descriptions::kShowOverdrawFeedbackName, 1111 {"show-overdraw-feedback", flag_descriptions::kShowOverdrawFeedbackName,
1117 flag_descriptions::kShowOverdrawFeedbackDescription, kOsAll, 1112 flag_descriptions::kShowOverdrawFeedbackDescription, kOsAll,
1118 SINGLE_VALUE_TYPE(cc::switches::kShowOverdrawFeedback)}, 1113 SINGLE_VALUE_TYPE(cc::switches::kShowOverdrawFeedback)},
(...skipping 2114 matching lines...) Expand 10 before | Expand all | Expand 10 after
3233 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 3228 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
3234 3229
3235 const FeatureEntry* GetFeatureEntries(size_t* count) { 3230 const FeatureEntry* GetFeatureEntries(size_t* count) {
3236 *count = arraysize(kFeatureEntries); 3231 *count = arraysize(kFeatureEntries);
3237 return kFeatureEntries; 3232 return kFeatureEntries;
3238 } 3233 }
3239 3234
3240 } // namespace testing 3235 } // namespace testing
3241 3236
3242 } // namespace about_flags 3237 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698