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

Unified Diff: third_party/WebKit/Source/platform/weborigin/KURL.h

Issue 1444493002: Fix hard-coding of "about:srcdoc" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/weborigin/KURL.h
diff --git a/third_party/WebKit/Source/platform/weborigin/KURL.h b/third_party/WebKit/Source/platform/weborigin/KURL.h
index d6fcb7b37deea2a5caedf37c3230f845c2b75e66..14668c43e3a33502c0a85cf4bcaa3216a7cc7667 100644
--- a/third_party/WebKit/Source/platform/weborigin/KURL.h
+++ b/third_party/WebKit/Source/platform/weborigin/KURL.h
@@ -138,6 +138,7 @@ public:
bool protocolIsInHTTPFamily() const;
bool isLocalFile() const;
bool isAboutBlankURL() const; // Is exactly about:blank.
+ bool isAboutSrcdocURL() const; // Is exactly about:srcdoc.
bool setProtocol(const String&);
void setHost(const String&);
@@ -212,6 +213,7 @@ PLATFORM_EXPORT bool operator!=(const String&, const KURL&);
PLATFORM_EXPORT bool equalIgnoringFragmentIdentifier(const KURL&, const KURL&);
PLATFORM_EXPORT const KURL& blankURL();
+PLATFORM_EXPORT const KURL& srcdocURL();
// Functions to do URL operations on strings.
// These are operations that aren't faster on a parsed URL.
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/platform/weborigin/KURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698