| OLD | NEW |
| 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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 // renderer. This binding happens on per-frame basis and hence can potentially | 424 // renderer. This binding happens on per-frame basis and hence can potentially |
| 425 // be a performance bottleneck. One should only enable it when automating | 425 // be a performance bottleneck. One should only enable it when automating |
| 426 // dom based tests. | 426 // dom based tests. |
| 427 const char kDomAutomationController[] = "dom-automation"; | 427 const char kDomAutomationController[] = "dom-automation"; |
| 428 | 428 |
| 429 // Dump any accumualted histograms to the log when browser terminates (requires | 429 // Dump any accumualted histograms to the log when browser terminates (requires |
| 430 // logging to be enabled to really do anything). Used by developers and test | 430 // logging to be enabled to really do anything). Used by developers and test |
| 431 // scripts. | 431 // scripts. |
| 432 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; | 432 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; |
| 433 | 433 |
| 434 // Enable eliding tab title prefixes that are common to multiple tabs. |
| 435 const char kElideTabTitlePrefix[] = "elide-tab-title-prefix"; |
| 436 |
| 434 // Enable displaying net log events on the command line. | 437 // Enable displaying net log events on the command line. |
| 435 extern const char kLogNetLog[] = "log-net-log"; | 438 extern const char kLogNetLog[] = "log-net-log"; |
| 436 | 439 |
| 437 // Enable gpu-accelerated 2d canvas. | 440 // Enable gpu-accelerated 2d canvas. |
| 438 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; | 441 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; |
| 439 | 442 |
| 440 // Enables the hardware acceleration of plugins. | 443 // Enables the hardware acceleration of plugins. |
| 441 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins"; | 444 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins"; |
| 442 | 445 |
| 443 // Enables WebKit accessibility within the renderer process. | 446 // Enables WebKit accessibility within the renderer process. |
| (...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1440 | 1443 |
| 1441 // ----------------------------------------------------------------------------- | 1444 // ----------------------------------------------------------------------------- |
| 1442 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1445 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1443 // | 1446 // |
| 1444 // You were going to just dump your switches here, weren't you? Instead, | 1447 // You were going to just dump your switches here, weren't you? Instead, |
| 1445 // please put them in alphabetical order above, or in order inside the | 1448 // please put them in alphabetical order above, or in order inside the |
| 1446 // appropriate ifdef at the bottom. The order should match the header. | 1449 // appropriate ifdef at the bottom. The order should match the header. |
| 1447 // ----------------------------------------------------------------------------- | 1450 // ----------------------------------------------------------------------------- |
| 1448 | 1451 |
| 1449 } // namespace switches | 1452 } // namespace switches |
| OLD | NEW |