Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(808)

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/UrlConstants.java

Issue 2343363005: [Download Home] Open supported files in Custom Tabs (Closed)
Patch Set: Comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CUSTOM_TAB_SCHEME = "customtab"; 13 public static final String CUSTOM_TAB_SCHEME = "customtab";
14 public static final String DOCUMENT_SCHEME = "document"; 14 public static final String DOCUMENT_SCHEME = "document";
15 public static final String FILE_SCHEME = "file://";
15 public static final String HTTP_SCHEME = "http://"; 16 public static final String HTTP_SCHEME = "http://";
16 public static final String HTTPS_SCHEME = "https://"; 17 public static final String HTTPS_SCHEME = "https://";
17 18
18 public static final String NTP_URL = "chrome-native://newtab/"; 19 public static final String NTP_URL = "chrome-native://newtab/";
19 public static final String NTP_HOST = "newtab"; 20 public static final String NTP_HOST = "newtab";
20 public static final String BOOKMARKS_URL = "chrome-native://bookmarks/"; 21 public static final String BOOKMARKS_URL = "chrome-native://bookmarks/";
21 public static final String BOOKMARKS_FILTER_URL = "chrome-native://bookmarks /filter/"; 22 public static final String BOOKMARKS_FILTER_URL = "chrome-native://bookmarks /filter/";
22 public static final String BOOKMARKS_FOLDER_URL = "chrome-native://bookmarks /folder/"; 23 public static final String BOOKMARKS_FOLDER_URL = "chrome-native://bookmarks /folder/";
23 public static final String 24 public static final String
24 BOOKMARKS_UNCATEGORIZED_URL = "chrome-native://bookmarks/uncategoriz ed/"; 25 BOOKMARKS_UNCATEGORIZED_URL = "chrome-native://bookmarks/uncategoriz ed/";
25 public static final String BOOKMARKS_HOST = "bookmarks"; 26 public static final String BOOKMARKS_HOST = "bookmarks";
26 public static final String DOWNLOADS_URL = "chrome-native://downloads/"; 27 public static final String DOWNLOADS_URL = "chrome-native://downloads/";
27 public static final String DOWNLOADS_FILTER_URL = "chrome-native://downloads /filter/"; 28 public static final String DOWNLOADS_FILTER_URL = "chrome-native://downloads /filter/";
28 public static final String DOWNLOADS_HOST = "downloads"; 29 public static final String DOWNLOADS_HOST = "downloads";
29 public static final String RECENT_TABS_URL = "chrome-native://recent-tabs/"; 30 public static final String RECENT_TABS_URL = "chrome-native://recent-tabs/";
30 public static final String RECENT_TABS_HOST = "recent-tabs"; 31 public static final String RECENT_TABS_HOST = "recent-tabs";
31 public static final String HISTORY_URL = "chrome://history/"; 32 public static final String HISTORY_URL = "chrome://history/";
32 public static final String INTERESTS_URL = "chrome-native://interests/"; 33 public static final String INTERESTS_URL = "chrome-native://interests/";
33 public static final String INTERESTS_HOST = "interests"; 34 public static final String INTERESTS_HOST = "interests";
34 public static final String PHYSICAL_WEB_URL = "chrome-native://physical-web/ "; 35 public static final String PHYSICAL_WEB_URL = "chrome-native://physical-web/ ";
35 public static final String PHYSICAL_WEB_HOST = "physical-web"; 36 public static final String PHYSICAL_WEB_HOST = "physical-web";
36 public static final String ABOUT_BLANK = "about:blank"; 37 public static final String ABOUT_BLANK = "about:blank";
37 38
38 public static final String GOOGLE_ACCOUNT_ACTIVITY_CONTROLS_URL = 39 public static final String GOOGLE_ACCOUNT_ACTIVITY_CONTROLS_URL =
39 "https://myaccount.google.com/activitycontrols/search"; 40 "https://myaccount.google.com/activitycontrols/search";
40 } 41 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698