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 | |
48 // How much of the top controls need to be shown before they will auto show. | 44 // How much of the top controls need to be shown before they will auto show. |
49 public static final String TOP_CONTROLS_SHOW_THRESHOLD = "top-controls-show-
threshold"; | 45 public static final String TOP_CONTROLS_SHOW_THRESHOLD = "top-controls-show-
threshold"; |
50 | 46 |
51 // How much of the top controls need to be hidden before they will auto hide
. | 47 // How much of the top controls need to be hidden before they will auto hide
. |
52 public static final String TOP_CONTROLS_HIDE_THRESHOLD = "top-controls-hide-
threshold"; | 48 public static final String TOP_CONTROLS_HIDE_THRESHOLD = "top-controls-hide-
threshold"; |
53 | 49 |
54 // Native switch - chrome_switches::kEnableInstantExtendedAPI | 50 // Native switch - chrome_switches::kEnableInstantExtendedAPI |
55 public static final String ENABLE_INSTANT_EXTENDED_API = "enable-instant-ext
ended-api"; | 51 public static final String ENABLE_INSTANT_EXTENDED_API = "enable-instant-ext
ended-api"; |
56 | 52 |
57 // Native switch - shell_switches::kDumpRenderTree | 53 // Native switch - shell_switches::kDumpRenderTree |
58 public static final String DUMP_RENDER_TREE = "dump-render-tree"; | 54 public static final String DUMP_RENDER_TREE = "dump-render-tree"; |
59 | 55 |
60 // Native switch - shell_switches::kRunLayoutTest | 56 // Native switch - shell_switches::kRunLayoutTest |
61 public static final String RUN_LAYOUT_TEST = "run-layout-test"; | 57 public static final String RUN_LAYOUT_TEST = "run-layout-test"; |
62 | 58 |
63 // Native switch - chrome_switches::kDisablePopupBlocking | 59 // Native switch - chrome_switches::kDisablePopupBlocking |
64 public static final String DISABLE_POPUP_BLOCKING = "disable-popup-blocking"
; | 60 public static final String DISABLE_POPUP_BLOCKING = "disable-popup-blocking"
; |
65 | 61 |
66 // Native switch - gfx_switches::kForceDeviceScaleFactor | 62 // Native switch - gfx_switches::kForceDeviceScaleFactor |
67 public static final String FORCE_DEVICE_SCALE_FACTOR = | 63 public static final String FORCE_DEVICE_SCALE_FACTOR = |
68 "force-device-scale-factor"; | 64 "force-device-scale-factor"; |
69 | 65 |
70 // Enable mouse hover emulation by holding your finger just over the screen. | 66 // Enable mouse hover emulation by holding your finger just over the screen. |
71 public static final String ENABLE_TOUCH_HOVER = "enable-touch-hover"; | 67 public static final String ENABLE_TOUCH_HOVER = "enable-touch-hover"; |
72 | 68 |
73 // Prevent instantiation. | 69 // Prevent instantiation. |
74 private ContentSwitches() {} | 70 private ContentSwitches() {} |
75 } | 71 } |
OLD | NEW |