| 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 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 633 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
| 634 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 634 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
| 635 | 635 |
| 636 // Causes the process to run as a renderer zygote. | 636 // Causes the process to run as a renderer zygote. |
| 637 const char kZygoteProcess[] = "zygote"; | 637 const char kZygoteProcess[] = "zygote"; |
| 638 | 638 |
| 639 // Enables moving cursor by word in visual order. | 639 // Enables moving cursor by word in visual order. |
| 640 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; | 640 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; |
| 641 | 641 |
| 642 #if defined(OS_ANDROID) | 642 #if defined(OS_ANDROID) |
| 643 // Disable history logging for media elements. |
| 644 const char kDisableMediaHistoryLogging[] = "disable-media-history"; |
| 645 |
| 646 // Whether to run media elements in the renderer process. |
| 647 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process"; |
| 648 |
| 643 // Set when Chromium should use a mobile user agent. | 649 // Set when Chromium should use a mobile user agent. |
| 644 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 650 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
| 645 // Omnibus flag setting an Android graphics mode. May be: | 651 // Omnibus flag setting an Android graphics mode. May be: |
| 646 // "basic" (untiled software path) | 652 // "basic" (untiled software path) |
| 647 // "compositor" (hardware-accelerated compositing), | 653 // "compositor" (hardware-accelerated compositing), |
| 648 const char kGraphicsMode[] = "graphics-mode"; | 654 const char kGraphicsMode[] = "graphics-mode"; |
| 649 const char kGraphicsModeValueBasic[] = "basic"; | 655 const char kGraphicsModeValueBasic[] = "basic"; |
| 650 const char kGraphicsModeValueCompositor[] = "compositor"; | 656 const char kGraphicsModeValueCompositor[] = "compositor"; |
| 651 | 657 |
| 652 // The telephony region (ISO country code) to use in phone number detection. | 658 // The telephony region (ISO country code) to use in phone number detection. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 693 // Sets the width and height above which a composited layer will get tiled. | 699 // Sets the width and height above which a composited layer will get tiled. |
| 694 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 700 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 695 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 701 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 696 | 702 |
| 697 const char kEnableFixedPositionCreatesStackingContext[] | 703 const char kEnableFixedPositionCreatesStackingContext[] |
| 698 = "enable-fixed-position-creates-stacking-context"; | 704 = "enable-fixed-position-creates-stacking-context"; |
| 699 const char kDisableFixedPositionCreatesStackingContext[] | 705 const char kDisableFixedPositionCreatesStackingContext[] |
| 700 = "disable-fixed-position-creates-stacking-context"; | 706 = "disable-fixed-position-creates-stacking-context"; |
| 701 | 707 |
| 702 } // namespace switches | 708 } // namespace switches |
| OLD | NEW |