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

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: 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) 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) {} 162 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) {}
163 163
164 // Transmits the change in the set of watched CSS selectors property that 164 // Transmits the change in the set of watched CSS selectors property that
165 // match any element on the frame. 165 // match any element on the frame.
166 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, 166 virtual void selectorMatchChanged(const Vector<String>& addedSelectors,
167 const Vector<String>& removedSelectors) = 0; 167 const Vector<String>& removedSelectors) = 0;
168 168
169 virtual DocumentLoader* createDocumentLoader(LocalFrame*, 169 virtual DocumentLoader* createDocumentLoader(LocalFrame*,
170 const ResourceRequest&, 170 const ResourceRequest&,
171 const SubstituteData&, 171 const SubstituteData&,
172 ClientRedirectPolicy) = 0; 172 ClientRedirectPolicy,
173 Document* requestorDocument) = 0;
173 174
174 virtual String userAgent() = 0; 175 virtual String userAgent() = 0;
175 176
176 virtual String doNotTrackValue() = 0; 177 virtual String doNotTrackValue() = 0;
177 178
178 virtual void transitionToCommittedForNewPage() = 0; 179 virtual void transitionToCommittedForNewPage() = 0;
179 180
180 virtual LocalFrame* createFrame(const FrameLoadRequest&, 181 virtual LocalFrame* createFrame(const FrameLoadRequest&,
181 const AtomicString& name, 182 const AtomicString& name,
182 HTMLFrameOwnerElement*) = 0; 183 HTMLFrameOwnerElement*) = 0;
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 } 332 }
332 333
333 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is 334 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is
334 // returned if the URL is not overriden. 335 // returned if the URL is not overriden.
335 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 336 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
336 }; 337 };
337 338
338 } // namespace blink 339 } // namespace blink
339 340
340 #endif // FrameLoaderClient_h 341 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698