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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 6581004: Add command line switches and about:flag to enable FPS indicator and compositor layer tree. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes based on feedback Created 9 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
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/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 // The LSID of the account to use for the service process. 1134 // The LSID of the account to use for the service process.
1135 const char kServiceAccountLsid[] = "service-account-lsid"; 1135 const char kServiceAccountLsid[] = "service-account-lsid";
1136 1136
1137 // See kHideIcons. 1137 // See kHideIcons.
1138 const char kShowIcons[] = "show-icons"; 1138 const char kShowIcons[] = "show-icons";
1139 1139
1140 // Renders a border around composited Render Layers to help debug and study 1140 // Renders a border around composited Render Layers to help debug and study
1141 // layer compositing. 1141 // layer compositing.
1142 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; 1142 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";
1143 1143
1144 // Draws a textual dump of the compositor layer tree to help debug and study
1145 // layer compositing.
1146 const char kShowCompositedLayerTree[] = "show-composited-layer-tree";
1147
1148 // Draws a FPS indicator
1149 const char kShowFPSCounter[] = "show-fps-counter";
1150
1144 // Visibly render a border around paint rects in the web page to help debug 1151 // Visibly render a border around paint rects in the web page to help debug
1145 // and study painting behavior. 1152 // and study painting behavior.
1146 const char kShowPaintRects[] = "show-paint-rects"; 1153 const char kShowPaintRects[] = "show-paint-rects";
1147 1154
1148 // Change the DCHECKS to dump memory and continue instead of displaying error 1155 // Change the DCHECKS to dump memory and continue instead of displaying error
1149 // dialog. This is valid only in Release mode when --enable-dcheck is 1156 // dialog. This is valid only in Release mode when --enable-dcheck is
1150 // specified. 1157 // specified.
1151 const char kSilentDumpOnDCHECK[] = "silent-dump-on-dcheck"; 1158 const char kSilentDumpOnDCHECK[] = "silent-dump-on-dcheck";
1152 1159
1153 // Replaces the buffered data source for <audio> and <video> with a simplified 1160 // Replaces the buffered data source for <audio> and <video> with a simplified
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
1457 1464
1458 // ----------------------------------------------------------------------------- 1465 // -----------------------------------------------------------------------------
1459 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1466 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1460 // 1467 //
1461 // You were going to just dump your switches here, weren't you? Instead, 1468 // You were going to just dump your switches here, weren't you? Instead,
1462 // please put them in alphabetical order above, or in order inside the 1469 // please put them in alphabetical order above, or in order inside the
1463 // appropriate ifdef at the bottom. The order should match the header. 1470 // appropriate ifdef at the bottom. The order should match the header.
1464 // ----------------------------------------------------------------------------- 1471 // -----------------------------------------------------------------------------
1465 1472
1466 } // namespace switches 1473 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698