OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 package org.chromium.content.common; | 5 package org.chromium.content.common; |
6 | 6 |
7 /** | 7 /** |
8 * Contains all of the command line switches that are specific to the content/ | 8 * Contains all of the command line switches that are specific to the content/ |
9 * portion of Chromium on Android. | 9 * portion of Chromium on Android. |
10 */ | 10 */ |
(...skipping 27 matching lines...) Expand all Loading... |
38 public static final String ENABLE_ACCESSIBILITY_SCRIPT_INJECTION = | 38 public static final String ENABLE_ACCESSIBILITY_SCRIPT_INJECTION = |
39 "enable-accessibility-script-injection"; | 39 "enable-accessibility-script-injection"; |
40 | 40 |
41 // Sets the ISO country code that will be used for phone number detection. | 41 // Sets the ISO country code that will be used for phone number detection. |
42 public static final String NETWORK_COUNTRY_ISO = "network-country-iso"; | 42 public static final String NETWORK_COUNTRY_ISO = "network-country-iso"; |
43 | 43 |
44 // Whether to enable the auto-hiding top controls. | 44 // Whether to enable the auto-hiding top controls. |
45 public static final String ENABLE_TOP_CONTROLS_POSITION_CALCULATION = | 45 public static final String ENABLE_TOP_CONTROLS_POSITION_CALCULATION = |
46 "enable-top-controls-position-calculation"; | 46 "enable-top-controls-position-calculation"; |
47 | 47 |
48 // The height of the movable top controls. | |
49 public static final String TOP_CONTROLS_HEIGHT = "top-controls-height"; | |
50 | |
51 // How much of the top controls need to be shown before they will auto show. | 48 // How much of the top controls need to be shown before they will auto show. |
52 public static final String TOP_CONTROLS_SHOW_THRESHOLD = "top-controls-show-
threshold"; | 49 public static final String TOP_CONTROLS_SHOW_THRESHOLD = "top-controls-show-
threshold"; |
53 | 50 |
54 // How much of the top controls need to be hidden before they will auto hide
. | 51 // How much of the top controls need to be hidden before they will auto hide
. |
55 public static final String TOP_CONTROLS_HIDE_THRESHOLD = "top-controls-hide-
threshold"; | 52 public static final String TOP_CONTROLS_HIDE_THRESHOLD = "top-controls-hide-
threshold"; |
56 | 53 |
57 // Native switch - chrome_switches::kEnableInstantExtendedAPI | 54 // Native switch - chrome_switches::kEnableInstantExtendedAPI |
58 public static final String ENABLE_INSTANT_EXTENDED_API = "enable-instant-ext
ended-api"; | 55 public static final String ENABLE_INSTANT_EXTENDED_API = "enable-instant-ext
ended-api"; |
59 | 56 |
60 // Native switch - content_switches::kEnableSpeechRecognition | 57 // Native switch - content_switches::kEnableSpeechRecognition |
61 public static final String ENABLE_SPEECH_RECOGNITION = "enable-speech-recogn
ition"; | 58 public static final String ENABLE_SPEECH_RECOGNITION = "enable-speech-recogn
ition"; |
62 | 59 |
63 // Native switch - shell_switches::kDumpRenderTree | 60 // Native switch - shell_switches::kDumpRenderTree |
64 public static final String DUMP_RENDER_TREE = "dump-render-tree"; | 61 public static final String DUMP_RENDER_TREE = "dump-render-tree"; |
65 | 62 |
66 // Native switch - chrome_switches::kDisablePopupBlocking | 63 // Native switch - chrome_switches::kDisablePopupBlocking |
67 public static final String DISABLE_POPUP_BLOCKING = "disable-popup-blocking"
; | 64 public static final String DISABLE_POPUP_BLOCKING = "disable-popup-blocking"
; |
68 | 65 |
69 // Native switch - gfx_switches::kForceDeviceScaleFactor | 66 // Native switch - gfx_switches::kForceDeviceScaleFactor |
70 public static final String FORCE_DEVICE_SCALE_FACTOR = | 67 public static final String FORCE_DEVICE_SCALE_FACTOR = |
71 "force-device-scale-factor"; | 68 "force-device-scale-factor"; |
72 | 69 |
73 // Prevent instantiation. | 70 // Prevent instantiation. |
74 private ContentSwitches() {} | 71 private ContentSwitches() {} |
75 } | 72 } |
OLD | NEW |