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

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

Issue 6898004: Add about:flags entries for --force-compositing-mode and --ignore-gpu-blacklist (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nice sounding strings care of hbridge Created 9 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintProxy) 135 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintProxy)
136 }, 136 },
137 { 137 {
138 "crxless-web-apps", 138 "crxless-web-apps",
139 IDS_FLAGS_CRXLESS_WEB_APPS_NAME, 139 IDS_FLAGS_CRXLESS_WEB_APPS_NAME,
140 IDS_FLAGS_CRXLESS_WEB_APPS_DESCRIPTION, 140 IDS_FLAGS_CRXLESS_WEB_APPS_DESCRIPTION,
141 kOsAll, 141 kOsAll,
142 SINGLE_VALUE_TYPE(switches::kEnableCrxlessWebApps) 142 SINGLE_VALUE_TYPE(switches::kEnableCrxlessWebApps)
143 }, 143 },
144 { 144 {
145 "ignore-gpu-blacklist",
146 IDS_FLAGS_IGNORE_GPU_BLACKLIST_NAME,
147 IDS_FLAGS_IGNORE_GPU_BLACKLIST_DESCRIPTION,
148 kOsAll,
149 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist)
150 },
151 {
152 "force-compositing-mode",
153 IDS_FLAGS_FORCE_COMPOSITING_MODE_NAME,
154 IDS_FLAGS_FORCE_COMPOSITING_MODE_DESCRIPTION,
155 kOsAll,
156 SINGLE_VALUE_TYPE(switches::kForceCompositingMode)
157 },
158 {
145 "composited-layer-borders", 159 "composited-layer-borders",
146 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, 160 IDS_FLAGS_COMPOSITED_LAYER_BORDERS,
147 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, 161 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION,
148 kOsAll, 162 kOsAll,
149 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) 163 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders)
150 }, 164 },
151 { 165 {
152 "show-fps-counter", 166 "show-fps-counter",
153 IDS_FLAGS_SHOW_FPS_COUNTER, 167 IDS_FLAGS_SHOW_FPS_COUNTER,
154 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, 168 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION,
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 } 754 }
741 755
742 const Experiment* GetExperiments(size_t* count) { 756 const Experiment* GetExperiments(size_t* count) {
743 *count = num_experiments; 757 *count = num_experiments;
744 return experiments; 758 return experiments;
745 } 759 }
746 760
747 } // namespace testing 761 } // namespace testing
748 762
749 } // namespace about_flags 763 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698