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

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

Issue 6995124: Revert 86510 - Contributed by junov@chromium.org (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 kOsAll, 161 kOsAll,
162 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) 162 SINGLE_VALUE_TYPE(switches::kShowFPSCounter)
163 }, 163 },
164 { 164 {
165 "disable-gpu-vsync", 165 "disable-gpu-vsync",
166 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME, 166 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME,
167 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION, 167 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION,
168 kOsAll, 168 kOsAll,
169 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync) 169 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync)
170 }, 170 },
171 {
172 "gpu-canvas-2d", // FLAGS:RECORD_UMA
173 IDS_FLAGS_ACCELERATED_CANVAS_2D_NAME,
174 IDS_FLAGS_ACCELERATED_CANVAS_2D_DESCRIPTION,
175 kOsWin | kOsLinux | kOsCrOS,
176 SINGLE_VALUE_TYPE(switches::kEnableAccelerated2dCanvas)
177 },
171 #if !defined(GOOGLE_CHROME_BUILD) || defined(OS_MACOSX) 178 #if !defined(GOOGLE_CHROME_BUILD) || defined(OS_MACOSX)
172 // Only expose this for Chromium builds where users may not have the PDF 179 // Only expose this for Chromium builds where users may not have the PDF
173 // plugin. Do not give Google Chrome users the option to disable it here, 180 // plugin. Do not give Google Chrome users the option to disable it here,
174 // except on Mac, where it is disabled. 181 // except on Mac, where it is disabled.
175 { 182 {
176 "print-preview", // FLAGS:RECORD_UMA 183 "print-preview", // FLAGS:RECORD_UMA
177 IDS_FLAGS_PRINT_PREVIEW_NAME, 184 IDS_FLAGS_PRINT_PREVIEW_NAME,
178 IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION, 185 IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION,
179 kOsMac | kOsWin | kOsLinux, // This switch is not available in CrOS. 186 kOsMac | kOsWin | kOsLinux, // This switch is not available in CrOS.
180 SINGLE_VALUE_TYPE(switches::kEnablePrintPreview) 187 SINGLE_VALUE_TYPE(switches::kEnablePrintPreview)
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 } 764 }
758 765
759 const Experiment* GetExperiments(size_t* count) { 766 const Experiment* GetExperiments(size_t* count) {
760 *count = num_experiments; 767 *count = num_experiments;
761 return experiments; 768 return experiments;
762 } 769 }
763 770
764 } // namespace testing 771 } // namespace testing
765 772
766 } // namespace about_flags 773 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698