| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 164 | 164 | 
| 165     /** | 165     /** | 
| 166      * Specifies Android NTP behaviour on clicking a Most{Visited/Likely} tile. | 166      * Specifies Android NTP behaviour on clicking a Most{Visited/Likely} tile. | 
| 167      * Specifically whether to refocus an existing tab with the same url or host
      or to load the url | 167      * Specifically whether to refocus an existing tab with the same url or host
      or to load the url | 
| 168      * in the current tab. | 168      * in the current tab. | 
| 169      * Native switch - switches::kNtpSwitchToExistingTab | 169      * Native switch - switches::kNtpSwitchToExistingTab | 
| 170      */ | 170      */ | 
| 171     public static final String NTP_SWITCH_TO_EXISTING_TAB = "ntp-switch-to-exist
     ing-tab"; | 171     public static final String NTP_SWITCH_TO_EXISTING_TAB = "ntp-switch-to-exist
     ing-tab"; | 
| 172 | 172 | 
| 173     /** | 173     /** | 
| 174      * Enables offline pages. |  | 
| 175      * Native switch - switches::kEnableOfflinePages |  | 
| 176      */ |  | 
| 177     public static final String ENABLE_OFFLINE_PAGES = "enable-offline-pages"; |  | 
| 178 |  | 
| 179     /** |  | 
| 180      * Enables offline pages, showing 'bookmarks' name in UI strings. |  | 
| 181      * Native switch - switches::kEnableOfflinePagesAsBookmarks |  | 
| 182      */ |  | 
| 183     public static final String ENABLE_OFFLINE_PAGES_AS_BOOKMARKS = |  | 
| 184             "enable-offline-pages-as-bookmarks"; |  | 
| 185 |  | 
| 186     /** |  | 
| 187      * Enables offline pages, showing 'saved pages' name in UI strings. |  | 
| 188      * Native switch - switches::kEnableOfflinePagesAsSavedPages |  | 
| 189      */ |  | 
| 190     public static final String ENABLE_OFFLINE_PAGES_AS_SAVED_PAGES = |  | 
| 191             "enable-offline-pages-as-saved-pages"; |  | 
| 192 |  | 
| 193     /** |  | 
| 194      * Disables offline pages. |  | 
| 195      * Native switch - switches::kDisableOfflinePages |  | 
| 196      */ |  | 
| 197     public static final String DISABLE_OFFLINE_PAGES = "disable-offline-pages"; |  | 
| 198 |  | 
| 199     /** |  | 
| 200      * Enable keyboard accessory view that shows autofill suggestions on top of 
     the keyboard. | 174      * Enable keyboard accessory view that shows autofill suggestions on top of 
     the keyboard. | 
| 201      * Native switch - autofill::switches::kEnableAccessorySuggestionView | 175      * Native switch - autofill::switches::kEnableAccessorySuggestionView | 
| 202      */ | 176      */ | 
| 203     public static final String ENABLE_AUTOFILL_KEYBOARD_ACCESSORY = | 177     public static final String ENABLE_AUTOFILL_KEYBOARD_ACCESSORY = | 
| 204             "enable-autofill-keyboard-accessory-view"; | 178             "enable-autofill-keyboard-accessory-view"; | 
| 205 | 179 | 
| 206     /** | 180     /** | 
| 207      * Enables overscroll of the on screen keyboard. With this flag on, the OSK 
     will only resize the | 181      * Enables overscroll of the on screen keyboard. With this flag on, the OSK 
     will only resize the | 
| 208      * visual viewport. | 182      * visual viewport. | 
| 209      * Native switch - switches::kEnableOSKOverscroll | 183      * Native switch - switches::kEnableOSKOverscroll | 
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 259             "enable-tab-switcher-in-document-mode"; | 233             "enable-tab-switcher-in-document-mode"; | 
| 260 | 234 | 
| 261     /** | 235     /** | 
| 262      * Set the partner-defined homepage URL, for testing. | 236      * Set the partner-defined homepage URL, for testing. | 
| 263      */ | 237      */ | 
| 264     public static final String PARTNER_HOMEPAGE_FOR_TESTING = "partner-homepage-
     for-testing"; | 238     public static final String PARTNER_HOMEPAGE_FOR_TESTING = "partner-homepage-
     for-testing"; | 
| 265 | 239 | 
| 266     // Prevent instantiation. | 240     // Prevent instantiation. | 
| 267     private ChromeSwitches() {} | 241     private ChromeSwitches() {} | 
| 268 } | 242 } | 
| OLD | NEW | 
|---|