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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 9309078: Adding a skeleton MediaStreamCenter. (Closed)
Patch Set: Fixed review comment Created 8 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 namespace WebKit { 113 namespace WebKit {
114 class WebApplicationCacheHost; 114 class WebApplicationCacheHost;
115 class WebApplicationCacheHostClient; 115 class WebApplicationCacheHostClient;
116 class WebDataSource; 116 class WebDataSource;
117 class WebDragData; 117 class WebDragData;
118 class WebGeolocationClient; 118 class WebGeolocationClient;
119 class WebIconURL; 119 class WebIconURL;
120 class WebImage; 120 class WebImage;
121 class WebMediaPlayer; 121 class WebMediaPlayer;
122 class WebMediaPlayerClient; 122 class WebMediaPlayerClient;
123 class WebMediaStreamCenter;
124 class WebMediaStreamCenterClient;
123 class WebMouseEvent; 125 class WebMouseEvent;
124 class WebPeerConnectionHandler; 126 class WebPeerConnectionHandler;
125 class WebPeerConnectionHandlerClient; 127 class WebPeerConnectionHandlerClient;
126 class WebSpeechInputController; 128 class WebSpeechInputController;
127 class WebSpeechInputListener; 129 class WebSpeechInputListener;
128 class WebStorageNamespace; 130 class WebStorageNamespace;
129 class WebTouchEvent; 131 class WebTouchEvent;
130 class WebURLLoader; 132 class WebURLLoader;
131 class WebURLRequest; 133 class WebURLRequest;
132 class WebUserMediaClient; 134 class WebUserMediaClient;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 return p2p_socket_dispatcher_; 216 return p2p_socket_dispatcher_;
215 } 217 }
216 218
217 MouseLockDispatcher* mouse_lock_dispatcher() { 219 MouseLockDispatcher* mouse_lock_dispatcher() {
218 return mouse_lock_dispatcher_; 220 return mouse_lock_dispatcher_;
219 } 221 }
220 222
221 WebKit::WebPeerConnectionHandler* CreatePeerConnectionHandler( 223 WebKit::WebPeerConnectionHandler* CreatePeerConnectionHandler(
222 WebKit::WebPeerConnectionHandlerClient* client); 224 WebKit::WebPeerConnectionHandlerClient* client);
223 225
226 // Creates the embedder implementation of WebMediaStreamCenter.
227 // Only one is created per render process.
piman 2012/02/08 01:52:24 This comment doesn't match the implementation: the
tommyw 2012/02/08 13:14:18 Done.
228 // The resulting object is owned by WebKit and released at tear-down.
229 WebKit::WebMediaStreamCenter* CreateMediaStreamCenter(
230 WebKit::WebMediaStreamCenterClient* client);
231
224 // Functions to add and remove observers for this object. 232 // Functions to add and remove observers for this object.
225 void AddObserver(content::RenderViewObserver* observer); 233 void AddObserver(content::RenderViewObserver* observer);
226 void RemoveObserver(content::RenderViewObserver* observer); 234 void RemoveObserver(content::RenderViewObserver* observer);
227 235
228 // Adds the given file chooser request to the file_chooser_completion_ queue 236 // Adds the given file chooser request to the file_chooser_completion_ queue
229 // (see that var for more) and requests the chooser be displayed if there are 237 // (see that var for more) and requests the chooser be displayed if there are
230 // no other waiting items in the queue. 238 // no other waiting items in the queue.
231 // 239 //
232 // Returns true if the chooser was successfully scheduled. False means we 240 // Returns true if the chooser was successfully scheduled. False means we
233 // didn't schedule anything. 241 // didn't schedule anything.
(...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 // bunch of stuff, you should probably create a helper class and put your 1268 // bunch of stuff, you should probably create a helper class and put your
1261 // data and methods on that to avoid bloating RenderView more. You can 1269 // data and methods on that to avoid bloating RenderView more. You can
1262 // use the Observer interface to filter IPC messages and receive frame change 1270 // use the Observer interface to filter IPC messages and receive frame change
1263 // notifications. 1271 // notifications.
1264 // --------------------------------------------------------------------------- 1272 // ---------------------------------------------------------------------------
1265 1273
1266 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1274 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1267 }; 1275 };
1268 1276
1269 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1277 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698