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

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

Issue 205983005: [Android] Rewrite old-style NTP URLs to new-style URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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 "content/public/common/url_constants.h" 10 #include "content/public/common/url_constants.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const char kChromeUIThemeURL[] = "chrome://theme/"; 86 const char kChromeUIThemeURL[] = "chrome://theme/";
87 const char kChromeUIThumbnailURL[] = "chrome://thumb/"; 87 const char kChromeUIThumbnailURL[] = "chrome://thumb/";
88 const char kChromeUIThumbnailListURL[] = "chrome://thumbnails/"; 88 const char kChromeUIThumbnailListURL[] = "chrome://thumbnails/";
89 const char kChromeUIUberURL[] = "chrome://chrome/"; 89 const char kChromeUIUberURL[] = "chrome://chrome/";
90 const char kChromeUIUberFrameURL[] = "chrome://uber-frame/"; 90 const char kChromeUIUberFrameURL[] = "chrome://uber-frame/";
91 const char kChromeUIUserActionsURL[] = "chrome://user-actions/"; 91 const char kChromeUIUserActionsURL[] = "chrome://user-actions/";
92 const char kChromeUIVersionURL[] = "chrome://version/"; 92 const char kChromeUIVersionURL[] = "chrome://version/";
93 93
94 #if defined(OS_ANDROID) 94 #if defined(OS_ANDROID)
95 const char kChromeUINativeNewTabURL[] = "chrome-native://newtab/"; 95 const char kChromeUINativeNewTabURL[] = "chrome-native://newtab/";
96 const char kChromeUINativeBookmarksURL[] = "chrome-native://bookmarks/";
97 const char kChromeUINativeRecentTabsURL[] = "chrome-native://recent-tabs/";
96 const char kChromeUIWelcomeURL[] = "chrome://welcome/"; 98 const char kChromeUIWelcomeURL[] = "chrome://welcome/";
97 #endif 99 #endif
98 100
99 #if defined(OS_CHROMEOS) 101 #if defined(OS_CHROMEOS)
100 const char kChromeUIActivationMessage[] = "chrome://activationmessage/"; 102 const char kChromeUIActivationMessage[] = "chrome://activationmessage/";
101 const char kChromeUIBluetoothPairingURL[] = "chrome://bluetooth-pairing/"; 103 const char kChromeUIBluetoothPairingURL[] = "chrome://bluetooth-pairing/";
102 const char kChromeUICertificateManagerDialogURL[] = 104 const char kChromeUICertificateManagerDialogURL[] =
103 "chrome://certificate-manager/"; 105 "chrome://certificate-manager/";
104 const char kChromeUIChargerReplacementURL[] = "chrome://charger-replacement/"; 106 const char kChromeUIChargerReplacementURL[] = "chrome://charger-replacement/";
105 const char kChromeUIChooseMobileNetworkURL[] = 107 const char kChromeUIChooseMobileNetworkURL[] =
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 #if defined(OS_MACOSX) 705 #if defined(OS_MACOSX)
704 const char kMac32BitDeprecationURL[] = 706 const char kMac32BitDeprecationURL[] =
705 #if !defined(ARCH_CPU_64_BITS) 707 #if !defined(ARCH_CPU_64_BITS)
706 "https://support.google.com/chrome/?p=ui_mac_32bit_support"; 708 "https://support.google.com/chrome/?p=ui_mac_32bit_support";
707 #else 709 #else
708 ""; 710 "";
709 #endif 711 #endif
710 #endif 712 #endif
711 713
712 } // namespace chrome 714 } // namespace chrome
OLDNEW
« chrome/browser/android/new_tab_page_url_handler.cc ('K') | « chrome/common/url_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698