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 23 matching lines...) Expand all Loading... |
34 // Disables exposing web content using Android's accessibility | 34 // Disables exposing web content using Android's accessibility |
35 // framework and enables the (older) javascript injection accessibility. | 35 // framework and enables the (older) javascript injection accessibility. |
36 // TODO(dmazzoni): remove this after native accessibility is in stable. | 36 // TODO(dmazzoni): remove this after native accessibility is in stable. |
37 // http://crbug.com/356775 | 37 // http://crbug.com/356775 |
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. |
| 45 public static final String ENABLE_TOP_CONTROLS_POSITION_CALCULATION = |
| 46 "enable-top-controls-position-calculation"; |
| 47 |
44 // 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. |
45 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"; |
46 | 50 |
47 // 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
. |
48 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"; |
49 | 53 |
50 // Native switch - chrome_switches::kEnableInstantExtendedAPI | 54 // Native switch - chrome_switches::kEnableInstantExtendedAPI |
51 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"; |
52 | 56 |
53 // Native switch - shell_switches::kDumpRenderTree | 57 // Native switch - shell_switches::kDumpRenderTree |
54 public static final String DUMP_RENDER_TREE = "dump-render-tree"; | 58 public static final String DUMP_RENDER_TREE = "dump-render-tree"; |
55 | 59 |
56 // Native switch - shell_switches::kRunLayoutTest | 60 // Native switch - shell_switches::kRunLayoutTest |
57 public static final String RUN_LAYOUT_TEST = "run-layout-test"; | 61 public static final String RUN_LAYOUT_TEST = "run-layout-test"; |
58 | 62 |
59 // Native switch - chrome_switches::kDisablePopupBlocking | 63 // Native switch - chrome_switches::kDisablePopupBlocking |
60 public static final String DISABLE_POPUP_BLOCKING = "disable-popup-blocking"
; | 64 public static final String DISABLE_POPUP_BLOCKING = "disable-popup-blocking"
; |
61 | 65 |
62 // Native switch - gfx_switches::kForceDeviceScaleFactor | 66 // Native switch - gfx_switches::kForceDeviceScaleFactor |
63 public static final String FORCE_DEVICE_SCALE_FACTOR = | 67 public static final String FORCE_DEVICE_SCALE_FACTOR = |
64 "force-device-scale-factor"; | 68 "force-device-scale-factor"; |
65 | 69 |
66 // Enable mouse hover emulation by holding your finger just over the screen. | 70 // Enable mouse hover emulation by holding your finger just over the screen. |
67 public static final String ENABLE_TOUCH_HOVER = "enable-touch-hover"; | 71 public static final String ENABLE_TOUCH_HOVER = "enable-touch-hover"; |
68 | 72 |
69 // Prevent instantiation. | 73 // Prevent instantiation. |
70 private ContentSwitches() {} | 74 private ContentSwitches() {} |
71 } | 75 } |
OLD | NEW |