OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1158 // Enables the showing of an info-bar instructing user they can search directly | 1158 // Enables the showing of an info-bar instructing user they can search directly |
1159 // from the omnibox. | 1159 // from the omnibox. |
1160 const char kSearchInOmniboxHint[] = "search-in-omnibox-hint"; | 1160 const char kSearchInOmniboxHint[] = "search-in-omnibox-hint"; |
1161 | 1161 |
1162 // Sets a token in the token service, for testing. | 1162 // Sets a token in the token service, for testing. |
1163 const char kSetToken[] = "set-token"; | 1163 const char kSetToken[] = "set-token"; |
1164 | 1164 |
1165 // If true the app list will be shown. | 1165 // If true the app list will be shown. |
1166 const char kShowAppList[] = "show-app-list"; | 1166 const char kShowAppList[] = "show-app-list"; |
1167 | 1167 |
| 1168 // If true an app list shortcut will be shown in the taskbar. |
| 1169 const char kShowAppListShortcut[] = "show-app-list-shortcut"; |
| 1170 |
1168 // Annotates forms with Autofill field type predictions. | 1171 // Annotates forms with Autofill field type predictions. |
1169 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; | 1172 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; |
1170 | 1173 |
1171 // Makes component extensions appear in chrome://settings/extensions. | 1174 // Makes component extensions appear in chrome://settings/extensions. |
1172 const char kShowComponentExtensionOptions[] = | 1175 const char kShowComponentExtensionOptions[] = |
1173 "show-component-extension-options"; | 1176 "show-component-extension-options"; |
1174 | 1177 |
1175 // See kHideIcons. | 1178 // See kHideIcons. |
1176 const char kShowIcons[] = "show-icons"; | 1179 const char kShowIcons[] = "show-icons"; |
1177 | 1180 |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1600 return true; | 1603 return true; |
1601 #elif defined(OS_WIN) | 1604 #elif defined(OS_WIN) |
1602 return true; | 1605 return true; |
1603 #else | 1606 #else |
1604 return CommandLine::ForCurrentProcess()->HasSwitch( | 1607 return CommandLine::ForCurrentProcess()->HasSwitch( |
1605 switches::kEnableFramelessConstrainedDialogs); | 1608 switches::kEnableFramelessConstrainedDialogs); |
1606 #endif | 1609 #endif |
1607 } | 1610 } |
1608 | 1611 |
1609 } // namespace chrome | 1612 } // namespace chrome |
OLD | NEW |