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

Side by Side Diff: content/public/common/url_constants.cc

Issue 11788015: When starting a provisional load, indicate whether the provisional URL is about:srcdoc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « content/public/common/url_constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "content/public/common/url_constants.h" 5 #include "content/public/common/url_constants.h"
6 6
7 #include "content/common/savable_url_schemes.h" 7 #include "content/common/savable_url_schemes.h"
8 8
9 namespace chrome { 9 namespace chrome {
10 10
(...skipping 12 matching lines...) Expand all
23 const char kGuestScheme[] = "chrome-guest"; 23 const char kGuestScheme[] = "chrome-guest";
24 const char kHttpScheme[] = "http"; 24 const char kHttpScheme[] = "http";
25 const char kHttpsScheme[] = "https"; 25 const char kHttpsScheme[] = "https";
26 const char kJavaScriptScheme[] = "javascript"; 26 const char kJavaScriptScheme[] = "javascript";
27 const char kMailToScheme[] = "mailto"; 27 const char kMailToScheme[] = "mailto";
28 const char kMetadataScheme[] = "metadata"; 28 const char kMetadataScheme[] = "metadata";
29 const char kSwappedOutScheme[] = "swappedout"; 29 const char kSwappedOutScheme[] = "swappedout";
30 const char kViewSourceScheme[] = "view-source"; 30 const char kViewSourceScheme[] = "view-source";
31 31
32 const char kAboutBlankURL[] = "about:blank"; 32 const char kAboutBlankURL[] = "about:blank";
33 const char kAboutSrcDocURL[] = "about:srcdoc";
33 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals"; 34 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals";
34 const char kChromeUIBlobInternalsHost[] = "blob-internals"; 35 const char kChromeUIBlobInternalsHost[] = "blob-internals";
35 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz"; 36 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz";
36 const char kChromeUINetworkViewCacheHost[] = "view-http-cache"; 37 const char kChromeUINetworkViewCacheHost[] = "view-http-cache";
37 const char kChromeUITcmallocHost[] = "tcmalloc"; 38 const char kChromeUITcmallocHost[] = "tcmalloc";
38 const char kChromeUIHistogramHost[] = "histograms"; 39 const char kChromeUIHistogramHost[] = "histograms";
39 const char kChromeUICrashURL[] = "chrome://crash"; 40 const char kChromeUICrashURL[] = "chrome://crash";
40 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; 41 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean";
41 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; 42 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash";
42 const char kChromeUIGpuHangURL[] = "chrome://gpuhang"; 43 const char kChromeUIGpuHangURL[] = "chrome://gpuhang";
(...skipping 16 matching lines...) Expand all
59 // This URL is loaded when a page is swapped out and replaced by a page in a 60 // This URL is loaded when a page is swapped out and replaced by a page in a
60 // different renderer process. It must have a unique origin that cannot be 61 // different renderer process. It must have a unique origin that cannot be
61 // scripted by other pages in the process. 62 // scripted by other pages in the process.
62 const char kSwappedOutURL[] = "swappedout://"; 63 const char kSwappedOutURL[] = "swappedout://";
63 64
64 const char* const* GetSavableSchemes() { 65 const char* const* GetSavableSchemes() {
65 return GetSavableSchemesInternal(); 66 return GetSavableSchemesInternal();
66 } 67 }
67 68
68 } // namespace content 69 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/url_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698