OLD | NEW |
---|---|
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 Loading... | |
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 Loading... | |
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 WebKit::WebMediaStreamCenter* CreateMediaStreamCenter( | |
tommi (sloooow) - chröme
2012/02/03 14:39:45
documentation?
particularly about ownership and ho
tommyw
2012/02/03 14:58:25
Done.
| |
227 WebKit::WebMediaStreamCenterClient* client); | |
228 | |
224 // Functions to add and remove observers for this object. | 229 // Functions to add and remove observers for this object. |
225 void AddObserver(content::RenderViewObserver* observer); | 230 void AddObserver(content::RenderViewObserver* observer); |
226 void RemoveObserver(content::RenderViewObserver* observer); | 231 void RemoveObserver(content::RenderViewObserver* observer); |
227 | 232 |
228 // Adds the given file chooser request to the file_chooser_completion_ queue | 233 // 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 | 234 // (see that var for more) and requests the chooser be displayed if there are |
230 // no other waiting items in the queue. | 235 // no other waiting items in the queue. |
231 // | 236 // |
232 // Returns true if the chooser was successfully scheduled. False means we | 237 // Returns true if the chooser was successfully scheduled. False means we |
233 // didn't schedule anything. | 238 // didn't schedule anything. |
(...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1260 // bunch of stuff, you should probably create a helper class and put your | 1265 // 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 | 1266 // 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 | 1267 // use the Observer interface to filter IPC messages and receive frame change |
1263 // notifications. | 1268 // notifications. |
1264 // --------------------------------------------------------------------------- | 1269 // --------------------------------------------------------------------------- |
1265 | 1270 |
1266 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1271 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1267 }; | 1272 }; |
1268 | 1273 |
1269 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1274 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |