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 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1104 #if defined(OS_MACOSX) | 1104 #if defined(OS_MACOSX) |
1105 // Enables the tabs expose feature ( http://crbug.com/50307 ). | 1105 // Enables the tabs expose feature ( http://crbug.com/50307 ). |
1106 const char kEnableExposeForTabs[] = "enable-expose-for-tabs"; | 1106 const char kEnableExposeForTabs[] = "enable-expose-for-tabs"; |
1107 #endif | 1107 #endif |
1108 | 1108 |
1109 #if !defined(OS_MACOSX) | 1109 #if !defined(OS_MACOSX) |
1110 // Enable Kiosk mode. | 1110 // Enable Kiosk mode. |
1111 const char kKioskMode[] = "kiosk"; | 1111 const char kKioskMode[] = "kiosk"; |
1112 #endif | 1112 #endif |
1113 | 1113 |
| 1114 #if defined(TOOLKIT_VIEWS) |
1114 // Enables debug paint in views framework. Enabling this causes the damaged | 1115 // Enables debug paint in views framework. Enabling this causes the damaged |
1115 // region being painted to flash in red. | 1116 // region being painted to flash in red. |
1116 #if defined(TOOLKIT_VIEWS) | |
1117 const char kDebugViewsPaint[] = "debug-views-paint"; | 1117 const char kDebugViewsPaint[] = "debug-views-paint"; |
| 1118 |
| 1119 // Runs Chrome inside the views desktop shell. |
| 1120 const char kViewsDesktop[] = "views-desktop"; |
1118 #endif | 1121 #endif |
1119 | 1122 |
1120 // Debug only switch to prevent the mouse cursor from disappearing when | 1123 // Debug only switch to prevent the mouse cursor from disappearing when |
1121 // touch is enabled | 1124 // touch is enabled |
1122 #if defined(TOUCH_UI) | 1125 #if defined(TOUCH_UI) |
1123 const char kKeepMouseCursor[] = "keep-mouse-cursor"; | 1126 const char kKeepMouseCursor[] = "keep-mouse-cursor"; |
1124 #endif | 1127 #endif |
1125 | 1128 |
1126 #ifndef NDEBUG | 1129 #ifndef NDEBUG |
1127 // Clear the token service before using it. This allows simulating | 1130 // Clear the token service before using it. This allows simulating |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1176 | 1179 |
1177 // ----------------------------------------------------------------------------- | 1180 // ----------------------------------------------------------------------------- |
1178 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1181 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1179 // | 1182 // |
1180 // You were going to just dump your switches here, weren't you? Instead, | 1183 // You were going to just dump your switches here, weren't you? Instead, |
1181 // please put them in alphabetical order above, or in order inside the | 1184 // please put them in alphabetical order above, or in order inside the |
1182 // appropriate ifdef at the bottom. The order should match the header. | 1185 // appropriate ifdef at the bottom. The order should match the header. |
1183 // ----------------------------------------------------------------------------- | 1186 // ----------------------------------------------------------------------------- |
1184 | 1187 |
1185 } // namespace switches | 1188 } // namespace switches |
OLD | NEW |