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

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

Issue 6507033: Turning on accelerated layers by default (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 | « no previous file | chrome/browser/tab_contents/render_view_host_delegate_helper.cc » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintProxy) 141 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintProxy)
142 }, 142 },
143 { 143 {
144 "crxless-web-apps", 144 "crxless-web-apps",
145 IDS_FLAGS_CRXLESS_WEB_APPS_NAME, 145 IDS_FLAGS_CRXLESS_WEB_APPS_NAME,
146 IDS_FLAGS_CRXLESS_WEB_APPS_DESCRIPTION, 146 IDS_FLAGS_CRXLESS_WEB_APPS_DESCRIPTION,
147 kOsAll, 147 kOsAll,
148 SINGLE_VALUE_TYPE(switches::kEnableCrxlessWebApps) 148 SINGLE_VALUE_TYPE(switches::kEnableCrxlessWebApps)
149 }, 149 },
150 { 150 {
151 "gpu-compositing",
152 IDS_FLAGS_ACCELERATED_COMPOSITING_NAME,
153 IDS_FLAGS_ACCELERATED_COMPOSITING_DESCRIPTION,
154 kOsAll,
155 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedLayers)
156 },
157 {
158 "composited-layer-borders", 151 "composited-layer-borders",
159 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, 152 IDS_FLAGS_COMPOSITED_LAYER_BORDERS,
160 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, 153 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION,
161 kOsAll, 154 kOsAll,
162 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) 155 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders)
163 }, 156 },
164 { 157 {
165 "gpu-canvas-2d", // FLAGS:RECORD_UMA 158 "gpu-canvas-2d", // FLAGS:RECORD_UMA
166 IDS_FLAGS_ACCELERATED_CANVAS_2D_NAME, 159 IDS_FLAGS_ACCELERATED_CANVAS_2D_NAME,
167 IDS_FLAGS_ACCELERATED_CANVAS_2D_DESCRIPTION, 160 IDS_FLAGS_ACCELERATED_CANVAS_2D_DESCRIPTION,
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 } 678 }
686 679
687 const Experiment* GetExperiments(size_t* count) { 680 const Experiment* GetExperiments(size_t* count) {
688 *count = num_experiments; 681 *count = num_experiments;
689 return experiments; 682 return experiments;
690 } 683 }
691 684
692 } // namespace testing 685 } // namespace testing
693 686
694 } // namespace about_flags 687 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | 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