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 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1321 // Prints version information and quits. | 1321 // Prints version information and quits. |
1322 const char kVersion[] = "version"; | 1322 const char kVersion[] = "version"; |
1323 | 1323 |
1324 // Cycle through a series of URLs listed in the specified file. | 1324 // Cycle through a series of URLs listed in the specified file. |
1325 const char kVisitURLs[] = "visit-urls"; | 1325 const char kVisitURLs[] = "visit-urls"; |
1326 | 1326 |
1327 // Enable the "native services" feature of web-intents. | 1327 // Enable the "native services" feature of web-intents. |
1328 const char kWebIntentsNativeServicesEnabled[] = | 1328 const char kWebIntentsNativeServicesEnabled[] = |
1329 "web-intents-native-services-enabled"; | 1329 "web-intents-native-services-enabled"; |
1330 | 1330 |
| 1331 // Enable invocation of web intents from web content. |
| 1332 const char kWebIntentsEnabledForWebContent[] = |
| 1333 "web-intents-enabled-for-web-content"; |
| 1334 |
1331 // Adds the given extension ID to all the permission whitelists. | 1335 // Adds the given extension ID to all the permission whitelists. |
1332 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; | 1336 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; |
1333 | 1337 |
1334 // Specify the initial window position: --window-position=x,y | 1338 // Specify the initial window position: --window-position=x,y |
1335 const char kWindowPosition[] = "window-position"; | 1339 const char kWindowPosition[] = "window-position"; |
1336 | 1340 |
1337 // Specify the initial window size: --window-size=w,h | 1341 // Specify the initial window size: --window-size=w,h |
1338 const char kWindowSize[] = "window-size"; | 1342 const char kWindowSize[] = "window-size"; |
1339 | 1343 |
1340 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to | 1344 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1584 return true; | 1588 return true; |
1585 #elif defined(OS_WIN) | 1589 #elif defined(OS_WIN) |
1586 return true; | 1590 return true; |
1587 #else | 1591 #else |
1588 return CommandLine::ForCurrentProcess()->HasSwitch( | 1592 return CommandLine::ForCurrentProcess()->HasSwitch( |
1589 switches::kEnableFramelessConstrainedDialogs); | 1593 switches::kEnableFramelessConstrainedDialogs); |
1590 #endif | 1594 #endif |
1591 } | 1595 } |
1592 | 1596 |
1593 } // namespace chrome | 1597 } // namespace chrome |
OLD | NEW |