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

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

Issue 2284473002: Move WebSocketHandleImpl into Blink (take 2) (Closed)
Patch Set: Rebase Created 4 years, 3 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 reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) { } 224 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) { }
225 225
226 // Called when a new Content Security Policy is added to the frame's 226 // Called when a new Content Security Policy is added to the frame's
227 // document. This can be triggered by handling of HTTP headers, handling 227 // document. This can be triggered by handling of HTTP headers, handling
228 // of <meta> element, or by inheriting CSP from the parent (in case of 228 // of <meta> element, or by inheriting CSP from the parent (in case of
229 // about:blank). 229 // about:blank).
230 virtual void didAddContentSecurityPolicy(const String& headerValue, ContentS ecurityPolicyHeaderType, ContentSecurityPolicyHeaderSource) { } 230 virtual void didAddContentSecurityPolicy(const String& headerValue, ContentS ecurityPolicyHeaderType, ContentSecurityPolicyHeaderSource) { }
231 231
232 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { } 232 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { }
233 233
234 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { }
235
236 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) { } 234 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) { }
237 235
238 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings ; } 236 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings ; }
239 237
240 // If an HTML document is being loaded, informs the embedder that the docume nt will have its <body> attached soon. 238 // If an HTML document is being loaded, informs the embedder that the docume nt will have its <body> attached soon.
241 virtual void dispatchWillInsertBody() { } 239 virtual void dispatchWillInsertBody() { }
242 240
243 virtual std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvide r() = 0; 241 virtual std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvide r() = 0;
244 242
245 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0; 243 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0;
(...skipping 25 matching lines...) Expand all
271 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web EffectiveConnectionType::TypeUnknown; } 269 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web EffectiveConnectionType::TypeUnknown; }
272 270
273 // Overwrites the given URL to use an HTML5 embed if possible. 271 // Overwrites the given URL to use an HTML5 embed if possible.
274 // An empty URL is returned if the URL is not overriden. 272 // An empty URL is returned if the URL is not overriden.
275 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 273 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
276 }; 274 };
277 275
278 } // namespace blink 276 } // namespace blink
279 277
280 #endif // FrameLoaderClient_h 278 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « content/renderer/websockethandle_impl.cc ('k') | third_party/WebKit/Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698