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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months 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 13 matching lines...) Expand all
24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef FrameLoaderClient_h 31 #ifndef FrameLoaderClient_h
32 #define FrameLoaderClient_h 32 #define FrameLoaderClient_h
33 33
34 #include <v8.h>
35 #include <memory>
34 #include "core/CoreExport.h" 36 #include "core/CoreExport.h"
35 #include "core/dom/Document.h" 37 #include "core/dom/Document.h"
36 #include "core/dom/IconURL.h" 38 #include "core/dom/IconURL.h"
37 #include "core/frame/FrameClient.h" 39 #include "core/frame/FrameClient.h"
38 #include "core/frame/FrameTypes.h" 40 #include "core/frame/FrameTypes.h"
39 #include "core/html/LinkResource.h" 41 #include "core/html/LinkResource.h"
40 #include "core/loader/FrameLoadRequest.h" 42 #include "core/loader/FrameLoadRequest.h"
41 #include "core/loader/FrameLoaderTypes.h" 43 #include "core/loader/FrameLoaderTypes.h"
42 #include "core/loader/NavigationPolicy.h" 44 #include "core/loader/NavigationPolicy.h"
43 #include "platform/heap/Handle.h" 45 #include "platform/heap/Handle.h"
44 #include "platform/loader/fetch/ResourceLoaderOptions.h" 46 #include "platform/loader/fetch/ResourceLoaderOptions.h"
45 #include "platform/network/ContentSecurityPolicyParsers.h" 47 #include "platform/network/ContentSecurityPolicyParsers.h"
46 #include "platform/network/ResourceLoadPriority.h" 48 #include "platform/network/ResourceLoadPriority.h"
47 #include "platform/weborigin/Referrer.h" 49 #include "platform/weborigin/Referrer.h"
48 #include "public/platform/WebEffectiveConnectionType.h" 50 #include "public/platform/WebEffectiveConnectionType.h"
49 #include "public/platform/WebFeaturePolicy.h" 51 #include "public/platform/WebFeaturePolicy.h"
50 #include "public/platform/WebInsecureRequestPolicy.h" 52 #include "public/platform/WebInsecureRequestPolicy.h"
51 #include "public/platform/WebLoadingBehaviorFlag.h" 53 #include "public/platform/WebLoadingBehaviorFlag.h"
52 #include "wtf/Forward.h" 54 #include "wtf/Forward.h"
53 #include "wtf/Vector.h" 55 #include "wtf/Vector.h"
54 #include <memory>
55 #include <v8.h>
56 56
57 namespace blink { 57 namespace blink {
58 58
59 class Document; 59 class Document;
60 class DocumentLoader; 60 class DocumentLoader;
61 struct FrameLoadRequest; 61 struct FrameLoadRequest;
62 class HTMLFormElement; 62 class HTMLFormElement;
63 class HTMLFrameElementBase; 63 class HTMLFrameElementBase;
64 class HTMLFrameOwnerElement; 64 class HTMLFrameOwnerElement;
65 class HTMLMediaElement; 65 class HTMLMediaElement;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 const KURL&, 210 const KURL&,
211 const String& mimeType, 211 const String& mimeType,
212 bool shouldPreferPlugInsForImages) = 0; 212 bool shouldPreferPlugInsForImages) = 0;
213 213
214 virtual void didCreateNewDocument() = 0; 214 virtual void didCreateNewDocument() = 0;
215 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; 215 virtual void dispatchDidClearWindowObjectInMainWorld() = 0;
216 virtual void documentElementAvailable() = 0; 216 virtual void documentElementAvailable() = 0;
217 virtual void runScriptsAtDocumentElementAvailable() = 0; 217 virtual void runScriptsAtDocumentElementAvailable() = 0;
218 virtual void runScriptsAtDocumentReady(bool documentIsEmpty) = 0; 218 virtual void runScriptsAtDocumentReady(bool documentIsEmpty) = 0;
219 219
220 virtual void didCreateScriptContext(v8::Local<v8::Context>, 220 virtual void didCreateScriptContext(v8::Local<v8::Context>, int worldId) = 0;
221 int worldId) = 0;
222 virtual void willReleaseScriptContext(v8::Local<v8::Context>, 221 virtual void willReleaseScriptContext(v8::Local<v8::Context>,
223 int worldId) = 0; 222 int worldId) = 0;
224 virtual bool allowScriptExtensions() = 0; 223 virtual bool allowScriptExtensions() = 0;
225 224
226 virtual void didChangeScrollOffset() {} 225 virtual void didChangeScrollOffset() {}
227 virtual void didUpdateCurrentHistoryItem() {} 226 virtual void didUpdateCurrentHistoryItem() {}
228 227
229 virtual bool allowScript(bool enabledPerSettings) { 228 virtual bool allowScript(bool enabledPerSettings) {
230 return enabledPerSettings; 229 return enabledPerSettings;
231 } 230 }
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 337 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
339 338
340 virtual BlameContext* frameBlameContext() { return nullptr; } 339 virtual BlameContext* frameBlameContext() { return nullptr; }
341 340
342 virtual void setHasReceivedUserGesture() {} 341 virtual void setHasReceivedUserGesture() {}
343 }; 342 };
344 343
345 } // namespace blink 344 } // namespace blink
346 345
347 #endif // FrameLoaderClient_h 346 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.h ('k') | third_party/WebKit/Source/core/loader/ImageLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698