OLD | NEW |
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/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 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 // Allows us to use our dev tools to debug browser windows itself. | 24 // Allows us to use our dev tools to debug browser windows itself. |
25 const char kAlwaysEnableDevTools[] = "always-enable-dev-tools"; | 25 const char kAlwaysEnableDevTools[] = "always-enable-dev-tools"; |
26 | 26 |
27 // Specifies that the associated value should be launched in "application" mode. | 27 // Specifies that the associated value should be launched in "application" mode. |
28 const char kApp[] = "app"; | 28 const char kApp[] = "app"; |
29 | 29 |
30 // The value of this switch tells the app to listen for and broadcast | 30 // The value of this switch tells the app to listen for and broadcast |
31 // automation-related messages on IPC channel with the given ID. | 31 // automation-related messages on IPC channel with the given ID. |
32 const char kAutomationClientChannelID[] = "automation-channel"; | 32 const char kAutomationClientChannelID[] = "automation-channel"; |
33 | 33 |
| 34 // Makes Chrome translate any page loaded which is not in the locale Chrome |
| 35 // is running in. |
| 36 const char kAutoPageTranslate[] = "auto-translate"; |
| 37 |
34 // Enables the bookmark menu. | 38 // Enables the bookmark menu. |
35 const char kBookmarkMenu[] = "bookmark-menu"; | 39 const char kBookmarkMenu[] = "bookmark-menu"; |
36 | 40 |
37 // Causes the browser process to throw an assertion on startup. | 41 // Causes the browser process to throw an assertion on startup. |
38 const char kBrowserAssertTest[] = "assert-test"; | 42 const char kBrowserAssertTest[] = "assert-test"; |
39 | 43 |
40 // Causes the browser process to crash on startup. | 44 // Causes the browser process to crash on startup. |
41 const char kBrowserCrashTest[] = "crash-test"; | 45 const char kBrowserCrashTest[] = "crash-test"; |
42 | 46 |
43 // Path to the exe to run for the renderer and plugin subprocesses. | 47 // Path to the exe to run for the renderer and plugin subprocesses. |
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 | 755 |
752 // ----------------------------------------------------------------------------- | 756 // ----------------------------------------------------------------------------- |
753 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 757 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
754 // | 758 // |
755 // You were going to just dump your switches here, weren't you? Instead, | 759 // You were going to just dump your switches here, weren't you? Instead, |
756 // please put them in alphabetical order above, or in order inside the | 760 // please put them in alphabetical order above, or in order inside the |
757 // appropriate ifdef at the bottom. The order should match the header. | 761 // appropriate ifdef at the bottom. The order should match the header. |
758 // ----------------------------------------------------------------------------- | 762 // ----------------------------------------------------------------------------- |
759 | 763 |
760 } // namespace switches | 764 } // namespace switches |
OLD | NEW |