| 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 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1111 #if defined(OS_MACOSX) | 1111 #if defined(OS_MACOSX) |
| 1112 // Enables the tabs expose feature ( http://crbug.com/50307 ). | 1112 // Enables the tabs expose feature ( http://crbug.com/50307 ). |
| 1113 const char kEnableExposeForTabs[] = "enable-expose-for-tabs"; | 1113 const char kEnableExposeForTabs[] = "enable-expose-for-tabs"; |
| 1114 #endif | 1114 #endif |
| 1115 | 1115 |
| 1116 #if !defined(OS_MACOSX) | 1116 #if !defined(OS_MACOSX) |
| 1117 // Enable Kiosk mode. | 1117 // Enable Kiosk mode. |
| 1118 const char kKioskMode[] = "kiosk"; | 1118 const char kKioskMode[] = "kiosk"; |
| 1119 #endif | 1119 #endif |
| 1120 | 1120 |
| 1121 #if defined(TOOLKIT_GTK) |
| 1122 // Enables the global bookmark menu in our global menu bar on Ubuntu |
| 1123 // Natty. This is disabled because of issues where dbus will hang for over a |
| 1124 // minute because it doesn't like it when we thrown hundreds of kilobytes (or |
| 1125 // even megabytes) of favicon data at it. |
| 1126 const char kEnableGlobalBookmarkMenu[] = "enable-global-bookmark-menu"; |
| 1127 #endif |
| 1128 |
| 1121 #if defined(TOOLKIT_VIEWS) | 1129 #if defined(TOOLKIT_VIEWS) |
| 1122 // Enables debug paint in views framework. Enabling this causes the damaged | 1130 // Enables debug paint in views framework. Enabling this causes the damaged |
| 1123 // region being painted to flash in red. | 1131 // region being painted to flash in red. |
| 1124 const char kDebugViewsPaint[] = "debug-views-paint"; | 1132 const char kDebugViewsPaint[] = "debug-views-paint"; |
| 1125 | 1133 |
| 1126 // Runs Chrome inside the views desktop shell. | 1134 // Runs Chrome inside the views desktop shell. |
| 1127 const char kViewsDesktop[] = "views-desktop"; | 1135 const char kViewsDesktop[] = "views-desktop"; |
| 1128 #endif | 1136 #endif |
| 1129 | 1137 |
| 1130 // Debug only switch to prevent the mouse cursor from disappearing when | 1138 // Debug only switch to prevent the mouse cursor from disappearing when |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1186 | 1194 |
| 1187 // ----------------------------------------------------------------------------- | 1195 // ----------------------------------------------------------------------------- |
| 1188 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1196 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1189 // | 1197 // |
| 1190 // You were going to just dump your switches here, weren't you? Instead, | 1198 // You were going to just dump your switches here, weren't you? Instead, |
| 1191 // please put them in alphabetical order above, or in order inside the | 1199 // please put them in alphabetical order above, or in order inside the |
| 1192 // appropriate ifdef at the bottom. The order should match the header. | 1200 // appropriate ifdef at the bottom. The order should match the header. |
| 1193 // ----------------------------------------------------------------------------- | 1201 // ----------------------------------------------------------------------------- |
| 1194 | 1202 |
| 1195 } // namespace switches | 1203 } // namespace switches |
| OLD | NEW |