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

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: Fix typo Created 4 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 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 void didDispatchPingLoader(const KURL&) override; 130 void didDispatchPingLoader(const KURL&) override;
131 void didDisplayContentWithCertificateErrors(const KURL&) override; 131 void didDisplayContentWithCertificateErrors(const KURL&) override;
132 void didRunContentWithCertificateErrors(const KURL&) override; 132 void didRunContentWithCertificateErrors(const KURL&) override;
133 void didChangePerformanceTiming() override; 133 void didChangePerformanceTiming() override;
134 void didObserveLoadingBehavior(WebLoadingBehaviorFlag) override; 134 void didObserveLoadingBehavior(WebLoadingBehaviorFlag) override;
135 void selectorMatchChanged(const Vector<String>& addedSelectors, 135 void selectorMatchChanged(const Vector<String>& addedSelectors,
136 const Vector<String>& removedSelectors) override; 136 const Vector<String>& removedSelectors) override;
137 DocumentLoader* createDocumentLoader(LocalFrame*, 137 DocumentLoader* createDocumentLoader(LocalFrame*,
138 const ResourceRequest&, 138 const ResourceRequest&,
139 const SubstituteData&, 139 const SubstituteData&,
140 ClientRedirectPolicy) override; 140 ClientRedirectPolicy,
141 Document* requestorDocument) override;
141 WTF::String userAgent() override; 142 WTF::String userAgent() override;
142 WTF::String doNotTrackValue() override; 143 WTF::String doNotTrackValue() override;
143 void transitionToCommittedForNewPage() override; 144 void transitionToCommittedForNewPage() override;
144 LocalFrame* createFrame(const FrameLoadRequest&, 145 LocalFrame* createFrame(const FrameLoadRequest&,
145 const WTF::AtomicString& name, 146 const WTF::AtomicString& name,
146 HTMLFrameOwnerElement*) override; 147 HTMLFrameOwnerElement*) override;
147 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 148 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
148 Widget* createPlugin(HTMLPlugInElement*, 149 Widget* createPlugin(HTMLPlugInElement*,
149 const KURL&, 150 const KURL&,
150 const Vector<WTF::String>&, 151 const Vector<WTF::String>&,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 234
234 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, 235 DEFINE_TYPE_CASTS(FrameLoaderClientImpl,
235 FrameLoaderClient, 236 FrameLoaderClient,
236 client, 237 client,
237 client->isFrameLoaderClientImpl(), 238 client->isFrameLoaderClientImpl(),
238 client.isFrameLoaderClientImpl()); 239 client.isFrameLoaderClientImpl());
239 240
240 } // namespace blink 241 } // namespace blink
241 242
242 #endif 243 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698