Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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.chrome.browser; | 5 package org.chromium.chrome.browser; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * Contains all of the command line switches that are specific to the chrome/ | 8 * Contains all of the command line switches that are specific to the chrome/ |
| 9 * portion of Chromium on Android. | 9 * portion of Chromium on Android. |
| 10 */ | 10 */ |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 86 @Deprecated | 86 @Deprecated |
| 87 public static final String ENABLE_EMBEDDED_MODE = "enable-hosted-mode"; | 87 public static final String ENABLE_EMBEDDED_MODE = "enable-hosted-mode"; |
| 88 | 88 |
| 89 // How many thumbnails should we allow in the cache (per tab stack)? | 89 // How many thumbnails should we allow in the cache (per tab stack)? |
| 90 public static final String THUMBNAILS = "thumbnails"; | 90 public static final String THUMBNAILS = "thumbnails"; |
| 91 | 91 |
| 92 // How many "approximated" thumbnails should we allow in the cache | 92 // How many "approximated" thumbnails should we allow in the cache |
| 93 // (per tab stack)? These take very low memory but have poor quality. | 93 // (per tab stack)? These take very low memory but have poor quality. |
| 94 public static final String APPROXIMATION_THUMBNAILS = "approximation-thumbna ils"; | 94 public static final String APPROXIMATION_THUMBNAILS = "approximation-thumbna ils"; |
| 95 | 95 |
| 96 /** | |
| 97 * Disable bottom infobar-like Reader Mode panel. | |
| 98 */ | |
| 99 public static final String DISABLE_READER_MODE_BOTTOM_BAR = "disable-reader- mode-bottom-bar"; | |
|
newt (away)
2015/05/26 14:14:04
nit: I'd put DISABLE_READER_MODE_BOTTOM_BAR and EN
| |
| 100 | |
| 96 //////////////////////////////////////////////////////////////////////////// /////////////////// | 101 //////////////////////////////////////////////////////////////////////////// /////////////////// |
| 97 // Native Switches | 102 // Native Switches |
| 98 //////////////////////////////////////////////////////////////////////////// /////////////////// | 103 //////////////////////////////////////////////////////////////////////////// /////////////////// |
| 99 | 104 |
| 100 /** | 105 /** |
| 101 * Sets the max number of render processes to use. | 106 * Sets the max number of render processes to use. |
| 102 * Native switch - content_switches::kRendererProcessLimit. | 107 * Native switch - content_switches::kRendererProcessLimit. |
| 103 */ | 108 */ |
| 104 public static final String RENDER_PROCESS_LIMIT = "renderer-process-limit"; | 109 public static final String RENDER_PROCESS_LIMIT = "renderer-process-limit"; |
| 105 | 110 |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 135 */ | 140 */ |
| 136 public static final String GOOGLE_BASE_URL = "google-base-url"; | 141 public static final String GOOGLE_BASE_URL = "google-base-url"; |
| 137 | 142 |
| 138 /** | 143 /** |
| 139 * Use fake device for Media Stream to replace actual camera and microphone. | 144 * Use fake device for Media Stream to replace actual camera and microphone. |
| 140 * Native switch - switches::kUseFakeDeviceForMediaStream. | 145 * Native switch - switches::kUseFakeDeviceForMediaStream. |
| 141 */ | 146 */ |
| 142 public static final String USE_FAKE_DEVICE_FOR_MEDIA_STREAM = | 147 public static final String USE_FAKE_DEVICE_FOR_MEDIA_STREAM = |
| 143 "use-fake-device-for-media-stream"; | 148 "use-fake-device-for-media-stream"; |
| 144 | 149 |
| 150 /** | |
| 151 * Disables the new icon-centric NTP design. | |
| 152 * Native switch - switches::kDisableIconNtp | |
| 153 */ | |
| 154 public static final String DISABLE_ICON_NTP = "disable-icon-ntp"; | |
| 155 | |
| 156 /** | |
| 157 * Enables the new icon-centric NTP design. | |
| 158 * Native switch - switches::kEnableIconNtp | |
| 159 */ | |
| 160 public static final String ENABLE_ICON_NTP = "enable-icon-ntp"; | |
| 161 | |
| 162 /** | |
| 163 * Enable Reader Mode button. | |
| 164 * Native switch - switches::kEnableReaderModeToolbarIcon | |
| 165 */ | |
| 166 public static final String ENABLE_READER_MODE_BUTTON = "enable-reader-mode-t oolbar-icon"; | |
| 167 | |
| 145 // Prevent instantiation. | 168 // Prevent instantiation. |
| 146 private ChromeSwitches() {} | 169 private ChromeSwitches() {} |
| 147 } | 170 } |
| OLD | NEW |