| 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 * Java side version of chrome/common/url_constants.cc | 8 * Java side version of chrome/common/url_constants.cc |
| 9 */ | 9 */ |
| 10 public class UrlConstants { | 10 public class UrlConstants { |
| 11 public static final String CHROME_SCHEME = "chrome://"; | 11 public static final String CHROME_SCHEME = "chrome://"; |
| 12 public static final String CHROME_NATIVE_SCHEME = "chrome-native://"; | 12 public static final String CHROME_NATIVE_SCHEME = "chrome-native://"; |
| 13 public static final String DOCUMENT_SCHEME = "document"; | 13 public static final String DOCUMENT_SCHEME = "document"; |
| 14 public static final String HTTP_SCHEME = "http://"; | 14 public static final String HTTP_SCHEME = "http://"; |
| 15 public static final String HTTPS_SCHEME = "https://"; | 15 public static final String HTTPS_SCHEME = "https://"; |
| 16 | 16 |
| 17 public static final String NTP_URL = "chrome-native://newtab/"; | 17 public static final String NTP_URL = "chrome-native://newtab/"; |
| 18 public static final String NTP_HOST = "newtab"; | 18 public static final String NTP_HOST = "newtab"; |
| 19 public static final String BOOKMARKS_URL = "chrome-native://bookmarks/"; | 19 public static final String BOOKMARKS_URL = "chrome-native://bookmarks/"; |
| 20 public static final String BOOKMARKS_FILTER_URL = "chrome-native://bookmarks
/filter/"; | 20 public static final String BOOKMARKS_FILTER_URL = "chrome-native://bookmarks
/filter/"; |
| 21 public static final String BOOKMARKS_FOLDER_URL = "chrome-native://bookmarks
/folder/"; | 21 public static final String BOOKMARKS_FOLDER_URL = "chrome-native://bookmarks
/folder/"; |
| 22 public static final String | 22 public static final String |
| 23 BOOKMARKS_UNCATEGORIZED_URL = "chrome-native://bookmarks/uncategoriz
ed/"; | 23 BOOKMARKS_UNCATEGORIZED_URL = "chrome-native://bookmarks/uncategoriz
ed/"; |
| 24 public static final String BOOKMARKS_HOST = "bookmarks"; | 24 public static final String BOOKMARKS_HOST = "bookmarks"; |
| 25 public static final String RECENT_TABS_URL = "chrome-native://recent-tabs/"; | 25 public static final String RECENT_TABS_URL = "chrome-native://recent-tabs/"; |
| 26 public static final String RECENT_TABS_HOST = "recent-tabs"; | 26 public static final String RECENT_TABS_HOST = "recent-tabs"; |
| 27 public static final String HISTORY_URL = "chrome://history/"; | 27 public static final String HISTORY_URL = "chrome://history/"; |
| 28 public static final String INTERESTS_URL = "chrome-native://interests/"; |
| 29 public static final String INTERESTS_HOST = "interests"; |
| 28 } | 30 } |
| OLD | NEW |