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

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

Issue 2416523002: Expose the initiating origin/URL of a navigation in the Blink public API (Closed)
Patch Set: rebase Created 4 years 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 void didDispatchPingLoader(const KURL&) override; 131 void didDispatchPingLoader(const KURL&) override;
132 void didDisplayContentWithCertificateErrors(const KURL&) override; 132 void didDisplayContentWithCertificateErrors(const KURL&) override;
133 void didRunContentWithCertificateErrors(const KURL&) override; 133 void didRunContentWithCertificateErrors(const KURL&) override;
134 void didChangePerformanceTiming() override; 134 void didChangePerformanceTiming() override;
135 void didObserveLoadingBehavior(WebLoadingBehaviorFlag) override; 135 void didObserveLoadingBehavior(WebLoadingBehaviorFlag) override;
136 void selectorMatchChanged(const Vector<String>& addedSelectors, 136 void selectorMatchChanged(const Vector<String>& addedSelectors,
137 const Vector<String>& removedSelectors) override; 137 const Vector<String>& removedSelectors) override;
138 DocumentLoader* createDocumentLoader(LocalFrame*, 138 DocumentLoader* createDocumentLoader(LocalFrame*,
139 const ResourceRequest&, 139 const ResourceRequest&,
140 const SubstituteData&, 140 const SubstituteData&,
141 ClientRedirectPolicy) override; 141 ClientRedirectPolicy,
142 Document* requestorDocument) override;
142 WTF::String userAgent() override; 143 WTF::String userAgent() override;
143 WTF::String doNotTrackValue() override; 144 WTF::String doNotTrackValue() override;
144 void transitionToCommittedForNewPage() override; 145 void transitionToCommittedForNewPage() override;
145 LocalFrame* createFrame(const FrameLoadRequest&, 146 LocalFrame* createFrame(const FrameLoadRequest&,
146 const WTF::AtomicString& name, 147 const WTF::AtomicString& name,
147 HTMLFrameOwnerElement*) override; 148 HTMLFrameOwnerElement*) override;
148 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 149 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
149 Widget* createPlugin(HTMLPlugInElement*, 150 Widget* createPlugin(HTMLPlugInElement*,
150 const KURL&, 151 const KURL&,
151 const Vector<WTF::String>&, 152 const Vector<WTF::String>&,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 238
238 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, 239 DEFINE_TYPE_CASTS(FrameLoaderClientImpl,
239 FrameLoaderClient, 240 FrameLoaderClient,
240 client, 241 client,
241 client->isFrameLoaderClientImpl(), 242 client->isFrameLoaderClientImpl(),
242 client.isFrameLoaderClientImpl()); 243 client.isFrameLoaderClientImpl());
243 244
244 } // namespace blink 245 } // namespace blink
245 246
246 #endif 247 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698