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

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

Issue 9706093: about:flags options for accelerated compositing and accelerated animation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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) 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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist) 173 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist)
174 }, 174 },
175 { 175 {
176 "force-compositing-mode-2", 176 "force-compositing-mode-2",
177 IDS_FLAGS_FORCE_COMPOSITING_MODE_NAME, 177 IDS_FLAGS_FORCE_COMPOSITING_MODE_NAME,
178 IDS_FLAGS_FORCE_COMPOSITING_MODE_DESCRIPTION, 178 IDS_FLAGS_FORCE_COMPOSITING_MODE_DESCRIPTION,
179 kOsAll, 179 kOsAll,
180 SINGLE_VALUE_TYPE(switches::kForceCompositingMode) 180 SINGLE_VALUE_TYPE(switches::kForceCompositingMode)
181 }, 181 },
182 { 182 {
183 "enable-threaded-compositing",
184 IDS_FLAGS_ENABLE_THREADED_COMPOSITING_NAME,
185 IDS_FLAGS_ENABLE_THREADED_COMPOSITING_DESCRIPTION,
186 kOsAll,
187 SINGLE_VALUE_TYPE(switches::kEnableThreadedCompositing)
188 },
189 {
190 "enable-threaded-animation",
191 IDS_FLAGS_ENABLE_THREADED_ANIMATION_NAME,
192 IDS_FLAGS_ENABLE_THREADED_ANIMATION_DESCRIPTION,
193 kOsAll,
194 SINGLE_VALUE_TYPE(switches::kEnableThreadedAnimation)
195 },
196 {
183 "composited-layer-borders", 197 "composited-layer-borders",
184 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, 198 IDS_FLAGS_COMPOSITED_LAYER_BORDERS,
185 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, 199 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION,
186 kOsAll, 200 kOsAll,
187 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) 201 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders)
188 }, 202 },
189 { 203 {
190 "show-fps-counter", 204 "show-fps-counter",
191 IDS_FLAGS_SHOW_FPS_COUNTER, 205 IDS_FLAGS_SHOW_FPS_COUNTER,
192 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, 206 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION,
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
1028 } 1042 }
1029 1043
1030 const Experiment* GetExperiments(size_t* count) { 1044 const Experiment* GetExperiments(size_t* count) {
1031 *count = num_experiments; 1045 *count = num_experiments;
1032 return experiments; 1046 return experiments;
1033 } 1047 }
1034 1048
1035 } // namespace testing 1049 } // namespace testing
1036 1050
1037 } // namespace about_flags 1051 } // 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