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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.h

Issue 1846143003: Propogate loading behavior data from Blink to content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: japhet@ review Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 void loadURLExternally(const ResourceRequest&, NavigationPolicy, const Strin g& suggestedName, bool shouldReplaceCurrentEntry) override; 111 void loadURLExternally(const ResourceRequest&, NavigationPolicy, const Strin g& suggestedName, bool shouldReplaceCurrentEntry) override;
112 bool navigateBackForward(int offset) const override; 112 bool navigateBackForward(int offset) const override;
113 void didAccessInitialDocument() override; 113 void didAccessInitialDocument() override;
114 void didDisplayInsecureContent() override; 114 void didDisplayInsecureContent() override;
115 void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) overrid e; 115 void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) overrid e;
116 void didDetectXSS(const KURL&, bool didBlockEntirePage) override; 116 void didDetectXSS(const KURL&, bool didBlockEntirePage) override;
117 void didDispatchPingLoader(const KURL&) override; 117 void didDispatchPingLoader(const KURL&) override;
118 void didDisplayContentWithCertificateErrors(const KURL&, const CString& secu rityInfo, const WebURL& mainResourceUrl, const CString& mainResourceSecurityInfo ) override; 118 void didDisplayContentWithCertificateErrors(const KURL&, const CString& secu rityInfo, const WebURL& mainResourceUrl, const CString& mainResourceSecurityInfo ) override;
119 void didRunContentWithCertificateErrors(const KURL&, const CString& security Info, const WebURL& mainResourceUrl, const CString& mainResourceSecurityInfo) ov erride; 119 void didRunContentWithCertificateErrors(const KURL&, const CString& security Info, const WebURL& mainResourceUrl, const CString& mainResourceSecurityInfo) ov erride;
120 void didChangePerformanceTiming() override; 120 void didChangePerformanceTiming() override;
121 void didObserveLoadingBehavior(WebLoadingBehaviorFlag) override;
121 void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector <String>& removedSelectors) override; 122 void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector <String>& removedSelectors) override;
122 DocumentLoader* createDocumentLoader(LocalFrame*, const ResourceRequest&, co nst SubstituteData&) override; 123 DocumentLoader* createDocumentLoader(LocalFrame*, const ResourceRequest&, co nst SubstituteData&) override;
123 WTF::String userAgent() override; 124 WTF::String userAgent() override;
124 WTF::String doNotTrackValue() override; 125 WTF::String doNotTrackValue() override;
125 void transitionToCommittedForNewPage() override; 126 void transitionToCommittedForNewPage() override;
126 LocalFrame* createFrame(const FrameLoadRequest&, const WTF::AtomicString& na me, HTMLFrameOwnerElement*) override; 127 LocalFrame* createFrame(const FrameLoadRequest&, const WTF::AtomicString& na me, HTMLFrameOwnerElement*) override;
127 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 128 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
128 Widget* createPlugin( 129 Widget* createPlugin(
129 HTMLPlugInElement*, const KURL&, 130 HTMLPlugInElement*, const KURL&,
130 const Vector<WTF::String>&, const Vector<WTF::String>&, 131 const Vector<WTF::String>&, const Vector<WTF::String>&,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 Member<WebLocalFrameImpl> m_webFrame; 197 Member<WebLocalFrameImpl> m_webFrame;
197 198
198 String m_userAgent; 199 String m_userAgent;
199 }; 200 };
200 201
201 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 202 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
202 203
203 } // namespace blink 204 } // namespace blink
204 205
205 #endif 206 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoaderClient.h ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698