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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.h

Issue 2461043003: Fix for the RedirectTest.ClientServerServer test. (Closed)
Patch Set: More build error fixes 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 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #ifndef FrameLoaderClient_h 31 #ifndef FrameLoaderClient_h
32 #define FrameLoaderClient_h 32 #define FrameLoaderClient_h
33 33
34 #include "core/CoreExport.h" 34 #include "core/CoreExport.h"
35 #include "core/dom/Document.h" 35 #include "core/dom/Document.h"
36 #include "core/dom/IconURL.h" 36 #include "core/dom/IconURL.h"
37 #include "core/fetch/ResourceLoaderOptions.h" 37 #include "core/fetch/ResourceLoaderOptions.h"
38 #include "core/frame/FrameClient.h" 38 #include "core/frame/FrameClient.h"
39 #include "core/frame/FrameTypes.h"
39 #include "core/html/LinkResource.h" 40 #include "core/html/LinkResource.h"
40 #include "core/loader/FrameLoadRequest.h" 41 #include "core/loader/FrameLoadRequest.h"
41 #include "core/loader/FrameLoaderTypes.h" 42 #include "core/loader/FrameLoaderTypes.h"
42 #include "core/loader/NavigationPolicy.h" 43 #include "core/loader/NavigationPolicy.h"
43 #include "platform/heap/Handle.h" 44 #include "platform/heap/Handle.h"
44 #include "platform/network/ContentSecurityPolicyParsers.h" 45 #include "platform/network/ContentSecurityPolicyParsers.h"
45 #include "platform/network/ResourceLoadPriority.h" 46 #include "platform/network/ResourceLoadPriority.h"
46 #include "platform/weborigin/Referrer.h" 47 #include "platform/weborigin/Referrer.h"
47 #include "public/platform/WebEffectiveConnectionType.h" 48 #include "public/platform/WebEffectiveConnectionType.h"
48 #include "public/platform/WebInsecureRequestPolicy.h" 49 #include "public/platform/WebInsecureRequestPolicy.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 // propogates renderer loading behavior to the browser process for histograms. 164 // propogates renderer loading behavior to the browser process for histograms.
164 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) {} 165 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) {}
165 166
166 // 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
167 // match any element on the frame. 168 // match any element on the frame.
168 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, 169 virtual void selectorMatchChanged(const Vector<String>& addedSelectors,
169 const Vector<String>& removedSelectors) = 0; 170 const Vector<String>& removedSelectors) = 0;
170 171
171 virtual DocumentLoader* createDocumentLoader(LocalFrame*, 172 virtual DocumentLoader* createDocumentLoader(LocalFrame*,
172 const ResourceRequest&, 173 const ResourceRequest&,
173 const SubstituteData&) = 0; 174 const SubstituteData&,
175 ClientRedirectPolicy) = 0;
174 176
175 virtual String userAgent() = 0; 177 virtual String userAgent() = 0;
176 178
177 virtual String doNotTrackValue() = 0; 179 virtual String doNotTrackValue() = 0;
178 180
179 virtual void transitionToCommittedForNewPage() = 0; 181 virtual void transitionToCommittedForNewPage() = 0;
180 182
181 virtual LocalFrame* createFrame(const FrameLoadRequest&, 183 virtual LocalFrame* createFrame(const FrameLoadRequest&,
182 const AtomicString& name, 184 const AtomicString& name,
183 HTMLFrameOwnerElement*) = 0; 185 HTMLFrameOwnerElement*) = 0;
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 } 334 }
333 335
334 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is 336 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is
335 // returned if the URL is not overriden. 337 // returned if the URL is not overriden.
336 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 338 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
337 }; 339 };
338 340
339 } // namespace blink 341 } // namespace blink
340 342
341 #endif // FrameLoaderClient_h 343 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698