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 25 matching lines...) Expand all Loading... |
36 | 36 |
37 // How much of the top controls need to be shown before they will auto show. | 37 // How much of the top controls need to be shown before they will auto show. |
38 public static final String TOP_CONTROLS_SHOW_THRESHOLD = "top-controls-show-
threshold"; | 38 public static final String TOP_CONTROLS_SHOW_THRESHOLD = "top-controls-show-
threshold"; |
39 | 39 |
40 // How much of the top controls need to be hidden before they will auto hide
. | 40 // How much of the top controls need to be hidden before they will auto hide
. |
41 public static final String TOP_CONTROLS_HIDE_THRESHOLD = "top-controls-hide-
threshold"; | 41 public static final String TOP_CONTROLS_HIDE_THRESHOLD = "top-controls-hide-
threshold"; |
42 | 42 |
43 // Native switch - chrome_switches::kEnableInstantExtendedAPI | 43 // Native switch - chrome_switches::kEnableInstantExtendedAPI |
44 public static final String ENABLE_INSTANT_EXTENDED_API = "enable-instant-ext
ended-api"; | 44 public static final String ENABLE_INSTANT_EXTENDED_API = "enable-instant-ext
ended-api"; |
45 | 45 |
46 // Native switch - shell_switches::kDumpRenderTree | |
47 public static final String DUMP_RENDER_TREE = "dump-render-tree"; | |
48 | |
49 // Native switch - shell_switches::kRunLayoutTest | 46 // Native switch - shell_switches::kRunLayoutTest |
50 public static final String RUN_LAYOUT_TEST = "run-layout-test"; | 47 public static final String RUN_LAYOUT_TEST = "run-layout-test"; |
51 | 48 |
52 // Native switch - chrome_switches::kDisablePopupBlocking | 49 // Native switch - chrome_switches::kDisablePopupBlocking |
53 public static final String DISABLE_POPUP_BLOCKING = "disable-popup-blocking"
; | 50 public static final String DISABLE_POPUP_BLOCKING = "disable-popup-blocking"
; |
54 | 51 |
55 // Native switch - gfx_switches::kForceDeviceScaleFactor | 52 // Native switch - gfx_switches::kForceDeviceScaleFactor |
56 public static final String FORCE_DEVICE_SCALE_FACTOR = | 53 public static final String FORCE_DEVICE_SCALE_FACTOR = |
57 "force-device-scale-factor"; | 54 "force-device-scale-factor"; |
58 | 55 |
59 // Enable mouse hover emulation by holding your finger just over the screen. | 56 // Enable mouse hover emulation by holding your finger just over the screen. |
60 public static final String ENABLE_TOUCH_HOVER = "enable-touch-hover"; | 57 public static final String ENABLE_TOUCH_HOVER = "enable-touch-hover"; |
61 | 58 |
62 // Native switch kEnableCredentialManagerAPI | 59 // Native switch kEnableCredentialManagerAPI |
63 public static final String ENABLE_CREDENTIAL_MANAGER_API = "enable-credentia
l-manager-api"; | 60 public static final String ENABLE_CREDENTIAL_MANAGER_API = "enable-credentia
l-manager-api"; |
64 | 61 |
65 // Native switch kDisableGestureRequirementForMediaPlayback | 62 // Native switch kDisableGestureRequirementForMediaPlayback |
66 public static final String DISABLE_GESTURE_REQUIREMENT_FOR_MEDIA_PLAYBACK = | 63 public static final String DISABLE_GESTURE_REQUIREMENT_FOR_MEDIA_PLAYBACK = |
67 "disable-gesture-requirement-for-media-playback"; | 64 "disable-gesture-requirement-for-media-playback"; |
68 | 65 |
69 // Native switch kRendererProcessLimit | 66 // Native switch kRendererProcessLimit |
70 public static final String RENDER_PROCESS_LIMIT = "renderer-process-limit"; | 67 public static final String RENDER_PROCESS_LIMIT = "renderer-process-limit"; |
71 | 68 |
72 // Native switch kInProcessGPU | 69 // Native switch kInProcessGPU |
73 public static final String IN_PROCESS_GPU = "in-process-gpu"; | 70 public static final String IN_PROCESS_GPU = "in-process-gpu"; |
74 | 71 |
75 // Prevent instantiation. | 72 // Prevent instantiation. |
76 private ContentSwitches() {} | 73 private ContentSwitches() {} |
77 } | 74 } |
OLD | NEW |