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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) {} 165 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) {}
166 166
167 // Transmits the change in the set of watched CSS selectors property that 167 // Transmits the change in the set of watched CSS selectors property that
168 // match any element on the frame. 168 // match any element on the frame.
169 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, 169 virtual void selectorMatchChanged(const Vector<String>& addedSelectors,
170 const Vector<String>& removedSelectors) = 0; 170 const Vector<String>& removedSelectors) = 0;
171 171
172 virtual DocumentLoader* createDocumentLoader(LocalFrame*, 172 virtual DocumentLoader* createDocumentLoader(LocalFrame*,
173 const ResourceRequest&, 173 const ResourceRequest&,
174 const SubstituteData&, 174 const SubstituteData&,
175 ClientRedirectPolicy) = 0; 175 ClientRedirectPolicy,
176 Document* requestorDocument) = 0;
176 177
177 virtual String userAgent() = 0; 178 virtual String userAgent() = 0;
178 179
179 virtual String doNotTrackValue() = 0; 180 virtual String doNotTrackValue() = 0;
180 181
181 virtual void transitionToCommittedForNewPage() = 0; 182 virtual void transitionToCommittedForNewPage() = 0;
182 183
183 virtual LocalFrame* createFrame(const FrameLoadRequest&, 184 virtual LocalFrame* createFrame(const FrameLoadRequest&,
184 const AtomicString& name, 185 const AtomicString& name,
185 HTMLFrameOwnerElement*) = 0; 186 HTMLFrameOwnerElement*) = 0;
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 } 339 }
339 340
340 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is 341 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is
341 // returned if the URL is not overriden. 342 // returned if the URL is not overriden.
342 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 343 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
343 }; 344 };
344 345
345 } // namespace blink 346 } // namespace blink
346 347
347 #endif // FrameLoaderClient_h 348 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698