| 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 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 | 630 |
| 631 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 631 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
| 632 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 632 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
| 633 | 633 |
| 634 // Causes the process to run as a renderer zygote. | 634 // Causes the process to run as a renderer zygote. |
| 635 const char kZygoteProcess[] = "zygote"; | 635 const char kZygoteProcess[] = "zygote"; |
| 636 | 636 |
| 637 // Enables moving cursor by word in visual order. | 637 // Enables moving cursor by word in visual order. |
| 638 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; | 638 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; |
| 639 | 639 |
| 640 #if defined(OS_ANDROID) |
| 641 // Omnibus flag setting an Android graphics mode. May be: |
| 642 // "basic" (untiled software path) |
| 643 // "compositor" (hardware-accelerated compositing), |
| 644 const char kGraphicsMode[] = "graphics-mode"; |
| 645 const char kGraphicsModeValueBasic[] = "basic"; |
| 646 const char kGraphicsModeValueCompositor[] = "compositor"; |
| 647 #endif |
| 648 |
| 640 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 649 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 641 // Specify the amount the trackpad should scroll by. | 650 // Specify the amount the trackpad should scroll by. |
| 642 const char kScrollPixels[] = "scroll-pixels"; | 651 const char kScrollPixels[] = "scroll-pixels"; |
| 643 #endif | 652 #endif |
| 644 | 653 |
| 645 #if defined(OS_MACOSX) || defined(OS_WIN) | 654 #if defined(OS_MACOSX) || defined(OS_WIN) |
| 646 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) | 655 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) |
| 647 // instead of NSS for SSL. | 656 // instead of NSS for SSL. |
| 648 const char kUseSystemSSL[] = "use-system-ssl"; | 657 const char kUseSystemSSL[] = "use-system-ssl"; |
| 649 #endif | 658 #endif |
| (...skipping 19 matching lines...) Expand all Loading... |
| 669 const char kDefaultTileWidth[] = "default-tile-width"; | 678 const char kDefaultTileWidth[] = "default-tile-width"; |
| 670 const char kDefaultTileHeight[] = "default-tile-height"; | 679 const char kDefaultTileHeight[] = "default-tile-height"; |
| 671 | 680 |
| 672 // Sets the width and height above which a composited layer will get tiled. | 681 // Sets the width and height above which a composited layer will get tiled. |
| 673 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 682 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 674 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 683 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 675 | 684 |
| 676 const char kFixedPositionCreatesStackingContext[] | 685 const char kFixedPositionCreatesStackingContext[] |
| 677 = "fixed-position-creates-stacking-context"; | 686 = "fixed-position-creates-stacking-context"; |
| 678 } // namespace switches | 687 } // namespace switches |
| OLD | NEW |