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

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: 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
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 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 // The LSID of the account to use for the service process. 1101 // The LSID of the account to use for the service process.
1102 const char kServiceAccountLsid[] = "service-account-lsid"; 1102 const char kServiceAccountLsid[] = "service-account-lsid";
1103 1103
1104 // See kHideIcons. 1104 // See kHideIcons.
1105 const char kShowIcons[] = "show-icons"; 1105 const char kShowIcons[] = "show-icons";
1106 1106
1107 // Renders a border around composited Render Layers to help debug and study 1107 // Renders a border around composited Render Layers to help debug and study
1108 // layer compositing. 1108 // layer compositing.
1109 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; 1109 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";
1110 1110
1111 // Draws a textual dump of the compositor layer tree to help debug and study
1112 // layer compositing.
1113 const char kShowCompositedLayerTree[] = "show-composited-layer-tree";
1114
1115 // Draws a FPS indicator
1116 const char kShowFPSCounter[] = "show-fps-counter";
Vangelis Kokkevis 2011/02/24 07:07:11 For consistency, please align the '=' sign with al
nduca 2011/03/03 20:04:06 Done.
1117
1111 // Visibly render a border around paint rects in the web page to help debug 1118 // Visibly render a border around paint rects in the web page to help debug
1112 // and study painting behavior. 1119 // and study painting behavior.
1113 const char kShowPaintRects[] = "show-paint-rects"; 1120 const char kShowPaintRects[] = "show-paint-rects";
1114 1121
1115 // Change the DCHECKS to dump memory and continue instead of displaying error 1122 // Change the DCHECKS to dump memory and continue instead of displaying error
1116 // dialog. This is valid only in Release mode when --enable-dcheck is 1123 // dialog. This is valid only in Release mode when --enable-dcheck is
1117 // specified. 1124 // specified.
1118 const char kSilentDumpOnDCHECK[] = "silent-dump-on-dcheck"; 1125 const char kSilentDumpOnDCHECK[] = "silent-dump-on-dcheck";
1119 1126
1120 // Replaces the buffered data source for <audio> and <video> with a simplified 1127 // Replaces the buffered data source for <audio> and <video> with a simplified
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
1427 1434
1428 // ----------------------------------------------------------------------------- 1435 // -----------------------------------------------------------------------------
1429 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1436 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1430 // 1437 //
1431 // You were going to just dump your switches here, weren't you? Instead, 1438 // You were going to just dump your switches here, weren't you? Instead,
1432 // please put them in alphabetical order above, or in order inside the 1439 // please put them in alphabetical order above, or in order inside the
1433 // appropriate ifdef at the bottom. The order should match the header. 1440 // appropriate ifdef at the bottom. The order should match the header.
1434 // ----------------------------------------------------------------------------- 1441 // -----------------------------------------------------------------------------
1435 1442
1436 } // namespace switches 1443 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698