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

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

Issue 9020019: Add --enable-accelerated-filters to about:flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 9 years 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedPainting) 191 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedPainting)
192 }, 192 },
193 { 193 {
194 "show-fps-counter", 194 "show-fps-counter",
195 IDS_FLAGS_SHOW_FPS_COUNTER, 195 IDS_FLAGS_SHOW_FPS_COUNTER,
196 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, 196 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION,
197 kOsAll, 197 kOsAll,
198 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) 198 SINGLE_VALUE_TYPE(switches::kShowFPSCounter)
199 }, 199 },
200 { 200 {
201 "accelerated-filters",
202 IDS_FLAGS_ACCELERATED_FILTERS,
203 IDS_FLAGS_ACCELERATED_FILTERS_DESCRIPTION,
204 kOsAll,
205 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedFilters)
206 },
207 {
201 "disable-gpu-vsync", 208 "disable-gpu-vsync",
202 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME, 209 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME,
203 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION, 210 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION,
204 kOsAll, 211 kOsAll,
205 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync) 212 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync)
206 }, 213 },
207 { 214 {
208 "disable-webgl", 215 "disable-webgl",
209 IDS_FLAGS_DISABLE_WEBGL_NAME, 216 IDS_FLAGS_DISABLE_WEBGL_NAME,
210 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, 217 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION,
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 } 934 }
928 935
929 const Experiment* GetExperiments(size_t* count) { 936 const Experiment* GetExperiments(size_t* count) {
930 *count = num_experiments; 937 *count = num_experiments;
931 return experiments; 938 return experiments;
932 } 939 }
933 940
934 } // namespace testing 941 } // namespace testing
935 942
936 } // namespace about_flags 943 } // 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