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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 // Disable checking for user opt-in for extensions that want to inject script | 266 // Disable checking for user opt-in for extensions that want to inject script |
267 // into file URLs (ie, always allow it). This is used during automated testing. | 267 // into file URLs (ie, always allow it). This is used during automated testing. |
268 const char kDisableExtensionsFileAccessCheck[] = | 268 const char kDisableExtensionsFileAccessCheck[] = |
269 "disable-extensions-file-access-check"; | 269 "disable-extensions-file-access-check"; |
270 | 270 |
271 // Disable the net::URLRequestThrottlerManager functionality for | 271 // Disable the net::URLRequestThrottlerManager functionality for |
272 // requests originating from extensions. | 272 // requests originating from extensions. |
273 const char kDisableExtensionsHttpThrottling[] = | 273 const char kDisableExtensionsHttpThrottling[] = |
274 "disable-extensions-http-throttling"; | 274 "disable-extensions-http-throttling"; |
275 | 275 |
276 // Disables embedding of Flash fullscreen widgets within the browser window. | |
277 // This restores the old code paths where Flash fullscreen would display in its | |
278 // own separate, always-on-top window. In addition, this disables the new logic | |
279 // which would prevent fullscreening the browser window during screen-capture of | |
280 // a tab. http://crbug.com/256870 and http://crbug.com/290403 | |
281 const char kDisableFullscreenWithinTab[] = "disable-fullscreen-within-tab"; | |
282 | |
283 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging | 276 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging |
284 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file | 277 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file |
285 // bugs if something isn't working properly in the presence of IPv6. This flag | 278 // bugs if something isn't working properly in the presence of IPv6. This flag |
286 // can be overidden by the "enable-ipv6" flag. | 279 // can be overidden by the "enable-ipv6" flag. |
287 const char kDisableIPv6[] = "disable-ipv6"; | 280 const char kDisableIPv6[] = "disable-ipv6"; |
288 | 281 |
289 // Disable the behavior that the second click on a launcher item (the click when | 282 // Disable the behavior that the second click on a launcher item (the click when |
290 // the item is already active) minimizes the item. | 283 // the item is already active) minimizes the item. |
291 const char kDisableMinimizeOnSecondLauncherItemClick[] = | 284 const char kDisableMinimizeOnSecondLauncherItemClick[] = |
292 "disable-minimize-on-second-launcher-item-click"; | 285 "disable-minimize-on-second-launcher-item-click"; |
(...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1407 | 1400 |
1408 // ----------------------------------------------------------------------------- | 1401 // ----------------------------------------------------------------------------- |
1409 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1402 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1410 // | 1403 // |
1411 // You were going to just dump your switches here, weren't you? Instead, please | 1404 // You were going to just dump your switches here, weren't you? Instead, please |
1412 // put them in alphabetical order above, or in order inside the appropriate | 1405 // put them in alphabetical order above, or in order inside the appropriate |
1413 // ifdef at the bottom. The order should match the header. | 1406 // ifdef at the bottom. The order should match the header. |
1414 // ----------------------------------------------------------------------------- | 1407 // ----------------------------------------------------------------------------- |
1415 | 1408 |
1416 } // namespace switches | 1409 } // namespace switches |
OLD | NEW |