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

Side by Side Diff: public/web/WebFrameClient.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 | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | 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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 class WebCookieJar; 62 class WebCookieJar;
63 class WebDataSource; 63 class WebDataSource;
64 class WebDOMEvent; 64 class WebDOMEvent;
65 class WebFormElement; 65 class WebFormElement;
66 class WebInputEvent; 66 class WebInputEvent;
67 class WebMediaPlayer; 67 class WebMediaPlayer;
68 class WebMediaPlayerClient; 68 class WebMediaPlayerClient;
69 class WebNotificationPresenter; 69 class WebNotificationPresenter;
70 class WebServiceWorkerProvider; 70 class WebServiceWorkerProvider;
71 class WebServiceWorkerProviderClient; 71 class WebServiceWorkerProviderClient;
72 class WebSocketHandle;
72 class WebNode; 73 class WebNode;
73 class WebPlugin; 74 class WebPlugin;
74 class WebRTCPeerConnectionHandler; 75 class WebRTCPeerConnectionHandler;
75 class WebSharedWorker; 76 class WebSharedWorker;
76 class WebSharedWorkerClient; 77 class WebSharedWorkerClient;
77 class WebSocketStreamHandle; 78 class WebSocketStreamHandle;
78 class WebString; 79 class WebString;
79 class WebURL; 80 class WebURL;
80 class WebURLLoader; 81 class WebURLLoader;
81 class WebURLResponse; 82 class WebURLResponse;
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 // is called with an error code otherwise. 433 // is called with an error code otherwise.
433 // Note that the requesting quota size may not always be granted and 434 // Note that the requesting quota size may not always be granted and
434 // a smaller amount of quota than requested might be returned. 435 // a smaller amount of quota than requested might be returned.
435 virtual void requestStorageQuota( 436 virtual void requestStorageQuota(
436 WebLocalFrame*, WebStorageQuotaType, 437 WebLocalFrame*, WebStorageQuotaType,
437 unsigned long long newQuotaInBytes, 438 unsigned long long newQuotaInBytes,
438 WebStorageQuotaCallbacks) { } 439 WebStorageQuotaCallbacks) { }
439 440
440 // WebSocket ----------------------------------------------------- 441 // WebSocket -----------------------------------------------------
441 442
442 // A WebSocket object is going to open new stream connection. 443 // A WebSocket object is going to open a new socket stream connection. Used
444 // by the old WebSocket implementation.
443 virtual void willOpenSocketStream(WebSocketStreamHandle*) { } 445 virtual void willOpenSocketStream(WebSocketStreamHandle*) { }
444 446
447 // A WebSocket object is going to open a new WebSocket connection. Used by
448 // the new WebSocket implementation.
449 virtual void willOpenWebSocket(WebSocketHandle*) { }
450
445 451
446 // MediaStream ----------------------------------------------------- 452 // MediaStream -----------------------------------------------------
447 453
448 // A new WebRTCPeerConnectionHandler is created. 454 // A new WebRTCPeerConnectionHandler is created.
449 virtual void willStartUsingPeerConnectionHandler(WebLocalFrame*, WebRTCPeerC onnectionHandler*) { } 455 virtual void willStartUsingPeerConnectionHandler(WebLocalFrame*, WebRTCPeerC onnectionHandler*) { }
450 456
451 virtual WebUserMediaClient* userMediaClient() { return 0; } 457 virtual WebUserMediaClient* userMediaClient() { return 0; }
452 458
453 459
454 // Messages ------------------------------------------------------ 460 // Messages ------------------------------------------------------
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 // Send initial drawing parameters to a child frame that is being rendered o ut of process. 498 // Send initial drawing parameters to a child frame that is being rendered o ut of process.
493 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } 499 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { }
494 500
495 protected: 501 protected:
496 ~WebFrameClient() { } 502 ~WebFrameClient() { }
497 }; 503 };
498 504
499 } // namespace blink 505 } // namespace blink
500 506
501 #endif 507 #endif
OLDNEW
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698