Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 163 // propogates renderer loading behavior to the browser process for histograms. | 163 // propogates renderer loading behavior to the browser process for histograms. |
| 164 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) {} | 164 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) {} |
| 165 | 165 |
| 166 // Transmits the change in the set of watched CSS selectors property that | 166 // Transmits the change in the set of watched CSS selectors property that |
| 167 // match any element on the frame. | 167 // match any element on the frame. |
| 168 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, | 168 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, |
| 169 const Vector<String>& removedSelectors) = 0; | 169 const Vector<String>& removedSelectors) = 0; |
| 170 | 170 |
| 171 virtual DocumentLoader* createDocumentLoader(LocalFrame*, | 171 virtual DocumentLoader* createDocumentLoader(LocalFrame*, |
| 172 const ResourceRequest&, | 172 const ResourceRequest&, |
| 173 const SubstituteData&) = 0; | 173 const SubstituteData&, |
| 174 bool clientRedirect) = 0; | |
|
Nate Chapin
2016/10/31 23:06:36
Nit: here and throughout, pass the enum instead of
ananta
2016/11/01 02:49:50
Done.
| |
| 174 | 175 |
| 175 virtual String userAgent() = 0; | 176 virtual String userAgent() = 0; |
| 176 | 177 |
| 177 virtual String doNotTrackValue() = 0; | 178 virtual String doNotTrackValue() = 0; |
| 178 | 179 |
| 179 virtual void transitionToCommittedForNewPage() = 0; | 180 virtual void transitionToCommittedForNewPage() = 0; |
| 180 | 181 |
| 181 virtual LocalFrame* createFrame(const FrameLoadRequest&, | 182 virtual LocalFrame* createFrame(const FrameLoadRequest&, |
| 182 const AtomicString& name, | 183 const AtomicString& name, |
| 183 HTMLFrameOwnerElement*) = 0; | 184 HTMLFrameOwnerElement*) = 0; |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 332 } | 333 } |
| 333 | 334 |
| 334 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is | 335 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is |
| 335 // returned if the URL is not overriden. | 336 // returned if the URL is not overriden. |
| 336 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 337 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
| 337 }; | 338 }; |
| 338 | 339 |
| 339 } // namespace blink | 340 } // namespace blink |
| 340 | 341 |
| 341 #endif // FrameLoaderClient_h | 342 #endif // FrameLoaderClient_h |
| OLD | NEW |