| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 namespace WebKit { | 115 namespace WebKit { |
| 116 class WebApplicationCacheHost; | 116 class WebApplicationCacheHost; |
| 117 class WebApplicationCacheHostClient; | 117 class WebApplicationCacheHostClient; |
| 118 class WebDataSource; | 118 class WebDataSource; |
| 119 class WebDragData; | 119 class WebDragData; |
| 120 class WebGeolocationClient; | 120 class WebGeolocationClient; |
| 121 class WebIconURL; | 121 class WebIconURL; |
| 122 class WebImage; | 122 class WebImage; |
| 123 class WebMediaPlayer; | 123 class WebMediaPlayer; |
| 124 class WebMediaPlayerClient; | 124 class WebMediaPlayerClient; |
| 125 class WebMediaStreamCenter; |
| 126 class WebMediaStreamCenterClient; |
| 125 class WebMouseEvent; | 127 class WebMouseEvent; |
| 126 class WebPeerConnectionHandler; | 128 class WebPeerConnectionHandler; |
| 127 class WebPeerConnectionHandlerClient; | 129 class WebPeerConnectionHandlerClient; |
| 128 class WebSpeechInputController; | 130 class WebSpeechInputController; |
| 129 class WebSpeechInputListener; | 131 class WebSpeechInputListener; |
| 130 class WebStorageNamespace; | 132 class WebStorageNamespace; |
| 131 class WebTouchEvent; | 133 class WebTouchEvent; |
| 132 class WebURLLoader; | 134 class WebURLLoader; |
| 133 class WebURLRequest; | 135 class WebURLRequest; |
| 134 class WebUserMediaClient; | 136 class WebUserMediaClient; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 return p2p_socket_dispatcher_; | 221 return p2p_socket_dispatcher_; |
| 220 } | 222 } |
| 221 | 223 |
| 222 MouseLockDispatcher* mouse_lock_dispatcher() { | 224 MouseLockDispatcher* mouse_lock_dispatcher() { |
| 223 return mouse_lock_dispatcher_; | 225 return mouse_lock_dispatcher_; |
| 224 } | 226 } |
| 225 | 227 |
| 226 WebKit::WebPeerConnectionHandler* CreatePeerConnectionHandler( | 228 WebKit::WebPeerConnectionHandler* CreatePeerConnectionHandler( |
| 227 WebKit::WebPeerConnectionHandlerClient* client); | 229 WebKit::WebPeerConnectionHandlerClient* client); |
| 228 | 230 |
| 231 // Creates the embedder implementation of WebMediaStreamCenter. |
| 232 // Only one is created per frame. |
| 233 // The resulting object is owned by WebKit and released at tear-down. |
| 234 WebKit::WebMediaStreamCenter* CreateMediaStreamCenter( |
| 235 WebKit::WebMediaStreamCenterClient* client); |
| 236 |
| 229 // Functions to add and remove observers for this object. | 237 // Functions to add and remove observers for this object. |
| 230 void AddObserver(content::RenderViewObserver* observer); | 238 void AddObserver(content::RenderViewObserver* observer); |
| 231 void RemoveObserver(content::RenderViewObserver* observer); | 239 void RemoveObserver(content::RenderViewObserver* observer); |
| 232 | 240 |
| 233 // Adds the given file chooser request to the file_chooser_completion_ queue | 241 // Adds the given file chooser request to the file_chooser_completion_ queue |
| 234 // (see that var for more) and requests the chooser be displayed if there are | 242 // (see that var for more) and requests the chooser be displayed if there are |
| 235 // no other waiting items in the queue. | 243 // no other waiting items in the queue. |
| 236 // | 244 // |
| 237 // Returns true if the chooser was successfully scheduled. False means we | 245 // Returns true if the chooser was successfully scheduled. False means we |
| 238 // didn't schedule anything. | 246 // didn't schedule anything. |
| (...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1277 // bunch of stuff, you should probably create a helper class and put your | 1285 // bunch of stuff, you should probably create a helper class and put your |
| 1278 // data and methods on that to avoid bloating RenderView more. You can | 1286 // data and methods on that to avoid bloating RenderView more. You can |
| 1279 // use the Observer interface to filter IPC messages and receive frame change | 1287 // use the Observer interface to filter IPC messages and receive frame change |
| 1280 // notifications. | 1288 // notifications. |
| 1281 // --------------------------------------------------------------------------- | 1289 // --------------------------------------------------------------------------- |
| 1282 | 1290 |
| 1283 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1291 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1284 }; | 1292 }; |
| 1285 | 1293 |
| 1286 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1294 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |