| 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 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 MouseLockDispatcher* mouse_lock_dispatcher() { | 259 MouseLockDispatcher* mouse_lock_dispatcher() { |
| 260 return mouse_lock_dispatcher_; | 260 return mouse_lock_dispatcher_; |
| 261 } | 261 } |
| 262 | 262 |
| 263 #if defined(OS_ANDROID) | 263 #if defined(OS_ANDROID) |
| 264 webkit_media::WebMediaPlayerManagerAndroid* media_player_manager() { | 264 webkit_media::WebMediaPlayerManagerAndroid* media_player_manager() { |
| 265 return media_player_manager_.get(); | 265 return media_player_manager_.get(); |
| 266 } | 266 } |
| 267 #endif | 267 #endif |
| 268 | 268 |
| 269 WebKit::WebPeerConnection00Handler* CreatePeerConnectionHandlerJsep( | |
| 270 WebKit::WebPeerConnection00HandlerClient* client); | |
| 271 | |
| 272 // Functions to add and remove observers for this object. | 269 // Functions to add and remove observers for this object. |
| 273 void AddObserver(content::RenderViewObserver* observer); | 270 void AddObserver(content::RenderViewObserver* observer); |
| 274 void RemoveObserver(content::RenderViewObserver* observer); | 271 void RemoveObserver(content::RenderViewObserver* observer); |
| 275 | 272 |
| 276 // Adds the given file chooser request to the file_chooser_completion_ queue | 273 // Adds the given file chooser request to the file_chooser_completion_ queue |
| 277 // (see that var for more) and requests the chooser be displayed if there are | 274 // (see that var for more) and requests the chooser be displayed if there are |
| 278 // no other waiting items in the queue. | 275 // no other waiting items in the queue. |
| 279 // | 276 // |
| 280 // Returns true if the chooser was successfully scheduled. False means we | 277 // Returns true if the chooser was successfully scheduled. False means we |
| 281 // didn't schedule anything. | 278 // didn't schedule anything. |
| (...skipping 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1545 // bunch of stuff, you should probably create a helper class and put your | 1542 // bunch of stuff, you should probably create a helper class and put your |
| 1546 // data and methods on that to avoid bloating RenderView more. You can | 1543 // data and methods on that to avoid bloating RenderView more. You can |
| 1547 // use the Observer interface to filter IPC messages and receive frame change | 1544 // use the Observer interface to filter IPC messages and receive frame change |
| 1548 // notifications. | 1545 // notifications. |
| 1549 // --------------------------------------------------------------------------- | 1546 // --------------------------------------------------------------------------- |
| 1550 | 1547 |
| 1551 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1548 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1552 }; | 1549 }; |
| 1553 | 1550 |
| 1554 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1551 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |