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

Side by Side Diff: chrome/common/url_constants.cc

Issue 1459793002: Android: Allow compiling browser without Java UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/common/url_constants.h" 5 #include "chrome/common/url_constants.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "chrome/common/features.h"
10 #include "content/public/common/url_constants.h" 11 #include "content/public/common/url_constants.h"
11 #include "url/url_util.h" 12 #include "url/url_util.h"
12 13
13 namespace chrome { 14 namespace chrome {
14 15
15 #if defined(OS_CHROMEOS) 16 #if defined(OS_CHROMEOS)
16 const char kCrosScheme[] = "cros"; 17 const char kCrosScheme[] = "cros";
17 #endif 18 #endif
18 19
19 // Add Chrome UI URLs as necessary, in alphabetical order. 20 // Add Chrome UI URLs as necessary, in alphabetical order.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 const char kChromeUISupervisedUserPassphrasePageURL[] = 81 const char kChromeUISupervisedUserPassphrasePageURL[] =
81 "chrome://managed-user-passphrase/"; 82 "chrome://managed-user-passphrase/";
82 const char kChromeUITermsURL[] = "chrome://terms/"; 83 const char kChromeUITermsURL[] = "chrome://terms/";
83 const char kChromeUIThemeURL[] = "chrome://theme/"; 84 const char kChromeUIThemeURL[] = "chrome://theme/";
84 const char kChromeUIThumbnailURL[] = "chrome://thumb/"; 85 const char kChromeUIThumbnailURL[] = "chrome://thumb/";
85 const char kChromeUIThumbnailListURL[] = "chrome://thumbnails/"; 86 const char kChromeUIThumbnailListURL[] = "chrome://thumbnails/";
86 const char kChromeUIUberFrameURL[] = "chrome://uber-frame/"; 87 const char kChromeUIUberFrameURL[] = "chrome://uber-frame/";
87 const char kChromeUIUserActionsURL[] = "chrome://user-actions/"; 88 const char kChromeUIUserActionsURL[] = "chrome://user-actions/";
88 const char kChromeUIVersionURL[] = "chrome://version/"; 89 const char kChromeUIVersionURL[] = "chrome://version/";
89 90
90 #if defined(OS_ANDROID) 91 #if BUILDFLAG(ANDROID_JAVA_UI)
91 const char kChromeUIContextualSearchPromoURL[] = 92 const char kChromeUIContextualSearchPromoURL[] =
92 "chrome://contextual-search-promo"; 93 "chrome://contextual-search-promo";
93 const char kChromeUINativeScheme[] = "chrome-native"; 94 const char kChromeUINativeScheme[] = "chrome-native";
94 const char kChromeUINativeNewTabURL[] = "chrome-native://newtab/"; 95 const char kChromeUINativeNewTabURL[] = "chrome-native://newtab/";
95 const char kChromeUINativeBookmarksURL[] = "chrome-native://bookmarks/"; 96 const char kChromeUINativeBookmarksURL[] = "chrome-native://bookmarks/";
96 const char kChromeUINativeRecentTabsURL[] = "chrome-native://recent-tabs/"; 97 const char kChromeUINativeRecentTabsURL[] = "chrome-native://recent-tabs/";
97 #endif 98 #endif
98 99
99 #if defined(OS_CHROMEOS) 100 #if defined(OS_CHROMEOS)
100 const char kChromeUIBluetoothPairingURL[] = "chrome://bluetooth-pairing/"; 101 const char kChromeUIBluetoothPairingURL[] = "chrome://bluetooth-pairing/";
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 const char kMac10_678_DeprecationURL[] = 753 const char kMac10_678_DeprecationURL[] =
753 "http://chrome.blogspot.com/2015/11/updates-to-chrome-platform-support.html" ; 754 "http://chrome.blogspot.com/2015/11/updates-to-chrome-platform-support.html" ;
754 #endif 755 #endif
755 756
756 #if defined(OS_WIN) 757 #if defined(OS_WIN)
757 const char kWindowsXPVistaDeprecationURL[] = 758 const char kWindowsXPVistaDeprecationURL[] =
758 "https://support.google.com/chrome/answer/95346"; 759 "https://support.google.com/chrome/answer/95346";
759 #endif 760 #endif
760 761
761 } // namespace chrome 762 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698