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

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

Issue 7064032: Turns on the gpu accelerated canvas by default (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 kOsAll, 153 kOsAll,
154 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) 154 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders)
155 }, 155 },
156 { 156 {
157 "show-fps-counter", 157 "show-fps-counter",
158 IDS_FLAGS_SHOW_FPS_COUNTER, 158 IDS_FLAGS_SHOW_FPS_COUNTER,
159 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, 159 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION,
160 kOsAll, 160 kOsAll,
161 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) 161 SINGLE_VALUE_TYPE(switches::kShowFPSCounter)
162 }, 162 },
163 {
164 "gpu-canvas-2d", // FLAGS:RECORD_UMA
165 IDS_FLAGS_ACCELERATED_CANVAS_2D_NAME,
166 IDS_FLAGS_ACCELERATED_CANVAS_2D_DESCRIPTION,
167 kOsWin | kOsLinux | kOsCrOS,
168 SINGLE_VALUE_TYPE(switches::kEnableAccelerated2dCanvas)
169 },
170 #if !defined(GOOGLE_CHROME_BUILD) 163 #if !defined(GOOGLE_CHROME_BUILD)
171 // Only expose this for Chromium builds where users may not have the PDF 164 // Only expose this for Chromium builds where users may not have the PDF
172 // plugin. Do not give Google Chrome users the option to disable it here. 165 // plugin. Do not give Google Chrome users the option to disable it here.
173 { 166 {
174 "print-preview", // FLAGS:RECORD_UMA 167 "print-preview", // FLAGS:RECORD_UMA
175 IDS_FLAGS_PRINT_PREVIEW_NAME, 168 IDS_FLAGS_PRINT_PREVIEW_NAME,
176 IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION, 169 IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION,
177 kOsMac | kOsWin | kOsLinux, // This switch is not available in CrOS. 170 kOsMac | kOsWin | kOsLinux, // This switch is not available in CrOS.
178 SINGLE_VALUE_TYPE(switches::kEnablePrintPreview) 171 SINGLE_VALUE_TYPE(switches::kEnablePrintPreview)
179 }, 172 },
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 } 753 }
761 754
762 const Experiment* GetExperiments(size_t* count) { 755 const Experiment* GetExperiments(size_t* count) {
763 *count = num_experiments; 756 *count = num_experiments;
764 return experiments; 757 return experiments;
765 } 758 }
766 759
767 } // namespace testing 760 } // namespace testing
768 761
769 } // namespace about_flags 762 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/tab_contents/render_view_host_delegate_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698