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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 | 624 |
625 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 625 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
626 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 626 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
627 | 627 |
628 // Causes the process to run as a renderer zygote. | 628 // Causes the process to run as a renderer zygote. |
629 const char kZygoteProcess[] = "zygote"; | 629 const char kZygoteProcess[] = "zygote"; |
630 | 630 |
631 // Enables moving cursor by word in visual order. | 631 // Enables moving cursor by word in visual order. |
632 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; | 632 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; |
633 | 633 |
| 634 #if defined(OS_ANDROID) |
| 635 // Set when Chromium should use a mobile user agent. |
| 636 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
| 637 #endif |
| 638 |
634 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 639 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
635 // Specify the amount the trackpad should scroll by. | 640 // Specify the amount the trackpad should scroll by. |
636 const char kScrollPixels[] = "scroll-pixels"; | 641 const char kScrollPixels[] = "scroll-pixels"; |
637 #endif | 642 #endif |
638 | 643 |
639 #if defined(OS_MACOSX) || defined(OS_WIN) | 644 #if defined(OS_MACOSX) || defined(OS_WIN) |
640 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) | 645 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) |
641 // instead of NSS for SSL. | 646 // instead of NSS for SSL. |
642 const char kUseSystemSSL[] = "use-system-ssl"; | 647 const char kUseSystemSSL[] = "use-system-ssl"; |
643 #endif | 648 #endif |
(...skipping 19 matching lines...) Expand all Loading... |
663 const char kDefaultTileWidth[] = "default-tile-width"; | 668 const char kDefaultTileWidth[] = "default-tile-width"; |
664 const char kDefaultTileHeight[] = "default-tile-height"; | 669 const char kDefaultTileHeight[] = "default-tile-height"; |
665 | 670 |
666 // Sets the width and height above which a composited layer will get tiled. | 671 // Sets the width and height above which a composited layer will get tiled. |
667 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 672 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
668 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 673 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
669 | 674 |
670 const char kFixedPositionCreatesStackingContext[] | 675 const char kFixedPositionCreatesStackingContext[] |
671 = "fixed-position-creates-stacking-context"; | 676 = "fixed-position-creates-stacking-context"; |
672 } // namespace switches | 677 } // namespace switches |
OLD | NEW |