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

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

Issue 1271313003: Allow execution of JavaScript in Distiller pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
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 #ifndef CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_
6 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ 6 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "url/url_constants.h" 9 #include "url/url_constants.h"
10 10
11 // Contains constants for known URLs and portions thereof. 11 // Contains constants for known URLs and portions thereof.
12 12
13 namespace content { 13 namespace content {
14 14
15 // Canonical schemes you can use as input to GURL.SchemeIs(). 15 // Canonical schemes you can use as input to GURL.SchemeIs().
16 // TODO(jam): some of these don't below in the content layer, but are accessed 16 // TODO(jam): some of these don't below in the content layer, but are accessed
17 // from there. 17 // from there.
18 CONTENT_EXPORT extern const char kChromeDevToolsScheme[]; 18 CONTENT_EXPORT extern const char kChromeDevToolsScheme[];
19 CONTENT_EXPORT extern const char kChromeDistillerScheme[];
19 CONTENT_EXPORT extern const char kChromeUIScheme[]; // Used for WebUIs. 20 CONTENT_EXPORT extern const char kChromeUIScheme[]; // Used for WebUIs.
20 CONTENT_EXPORT extern const char kGuestScheme[]; 21 CONTENT_EXPORT extern const char kGuestScheme[];
21 CONTENT_EXPORT extern const char kMetadataScheme[]; 22 CONTENT_EXPORT extern const char kMetadataScheme[];
22 CONTENT_EXPORT extern const char kSwappedOutScheme[]; 23 CONTENT_EXPORT extern const char kSwappedOutScheme[];
23 CONTENT_EXPORT extern const char kViewSourceScheme[]; 24 CONTENT_EXPORT extern const char kViewSourceScheme[];
24 #if defined(OS_CHROMEOS) 25 #if defined(OS_CHROMEOS)
25 CONTENT_EXPORT extern const char kExternalFileScheme[]; 26 CONTENT_EXPORT extern const char kExternalFileScheme[];
26 #endif 27 #endif
27 28
28 // Hosts for about URLs. 29 // Hosts for about URLs.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Full about URLs (including schemes). 65 // Full about URLs (including schemes).
65 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; 66 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[];
66 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; 67 CONTENT_EXPORT extern const char kChromeUIShorthangURL[];
67 68
68 // Special URL used to swap out a view being rendered by another process. 69 // Special URL used to swap out a view being rendered by another process.
69 CONTENT_EXPORT extern const char kSwappedOutURL[]; 70 CONTENT_EXPORT extern const char kSwappedOutURL[];
70 71
71 } // namespace content 72 } // namespace content
72 73
73 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ 74 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/public/common/url_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698