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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.h

Issue 2795673002: Added UseCounter for clearing browsing context name on cross-origin name (Closed)
Patch Set: RU Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/loader/DocumentLoader.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.h b/third_party/WebKit/Source/core/loader/DocumentLoader.h
index b0da0e6c76b5b39913d816e008f2b1194f496904..40bb26a7caaa5a3475c9e7c1987d15747ebc3af4 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h
@@ -221,6 +221,10 @@ class CORE_EXPORT DocumentLoader
const SubstituteData&,
ClientRedirectPolicy);
+ static bool shouldClearWindowName(const LocalFrame&,
+ SecurityOrigin* previousSecurityOrigin,
+ const Document& newDocument);
+
Vector<KURL> m_redirectChain;
private:
@@ -229,11 +233,9 @@ class CORE_EXPORT DocumentLoader
// initalizes a bunch of state on the Document (e.g., the state based on
// response headers).
enum class InstallNewDocumentReason { kNavigation, kJavascriptURL };
- void installNewDocument(const DocumentInit&,
- const AtomicString& mimeType,
+ void installNewDocument(const DocumentInit&, const AtomicString& mimeType,
const AtomicString& encoding,
- InstallNewDocumentReason,
- ParserSynchronizationPolicy,
+ InstallNewDocumentReason, ParserSynchronizationPolicy,
const KURL& overridingURL);
void didInstallNewDocument(Document*);
void didCommitNavigation();
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698