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

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

Issue 304113002: Pass render frame ID to WebSocketBridge (Blink side) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed #2 Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/modules/websockets/MainThreadWebSocketChannel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 namespace v8 { 42 namespace v8 {
43 class Context; 43 class Context;
44 template<class T> class Handle; 44 template<class T> class Handle;
45 } 45 }
46 46
47 namespace blink { 47 namespace blink {
48 class WebCookieJar; 48 class WebCookieJar;
49 class WebRTCPeerConnectionHandler; 49 class WebRTCPeerConnectionHandler;
50 class WebServiceWorkerProvider; 50 class WebServiceWorkerProvider;
51 class WebServiceWorkerProviderClient; 51 class WebServiceWorkerProviderClient;
52 class WebSocketHandle;
52 class WebApplicationCacheHost; 53 class WebApplicationCacheHost;
53 class WebApplicationCacheHostClient; 54 class WebApplicationCacheHostClient;
54 } 55 }
55 56
56 namespace WebCore { 57 namespace WebCore {
57 58
58 class Color; 59 class Color;
59 class Dictionary; 60 class Dictionary;
60 class DOMWindowExtension; 61 class DOMWindowExtension;
61 class DOMWrapperWorld; 62 class DOMWrapperWorld;
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 virtual void didNotAllowPlugins() { } 198 virtual void didNotAllowPlugins() { }
198 199
199 virtual blink::WebCookieJar* cookieJar() const = 0; 200 virtual blink::WebCookieJar* cookieJar() const = 0;
200 201
201 // Returns true if the embedder intercepted the postMessage call 202 // Returns true if the embedder intercepted the postMessage call
202 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/ , MessageEvent*) const { return false; } 203 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/ , MessageEvent*) const { return false; }
203 204
204 virtual void didChangeName(const String&) { } 205 virtual void didChangeName(const String&) { }
205 206
206 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) { } 207 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) { }
208 virtual void dispatchWillOpenWebSocket(blink::WebSocketHandle*) { }
207 209
208 virtual void dispatchWillStartUsingPeerConnectionHandler(blink::WebRTCPe erConnectionHandler*) { } 210 virtual void dispatchWillStartUsingPeerConnectionHandler(blink::WebRTCPe erConnectionHandler*) { }
209 211
210 virtual void didRequestAutocomplete(HTMLFormElement*, const Dictionary&) = 0; 212 virtual void didRequestAutocomplete(HTMLFormElement*, const Dictionary&) = 0;
211 213
212 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett ings; } 214 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett ings; }
213 // Informs the embedder that a WebGL canvas inside this frame received a lost context 215 // Informs the embedder that a WebGL canvas inside this frame received a lost context
214 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h). 216 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h).
215 virtual void didLoseWebGLContext(int) { } 217 virtual void didLoseWebGLContext(int) { }
216 218
(...skipping 11 matching lines...) Expand all
228 virtual void didStopAllLoaders() { } 230 virtual void didStopAllLoaders() { }
229 231
230 virtual void dispatchDidChangeManifest() { } 232 virtual void dispatchDidChangeManifest() { }
231 233
232 virtual bool isFrameLoaderClientImpl() const { return false; } 234 virtual bool isFrameLoaderClientImpl() const { return false; }
233 }; 235 };
234 236
235 } // namespace WebCore 237 } // namespace WebCore
236 238
237 #endif // FrameLoaderClient_h 239 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/websockets/MainThreadWebSocketChannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698