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

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

Issue 10919122: Move creation of PeerConnection from the RenderView to the RenderThreadImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed UMA_HISTOGRAM_ENUMERATION and cleaned up. Created 8 years, 3 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
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 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 MouseLockDispatcher* mouse_lock_dispatcher() { 265 MouseLockDispatcher* mouse_lock_dispatcher() {
266 return mouse_lock_dispatcher_; 266 return mouse_lock_dispatcher_;
267 } 267 }
268 268
269 #if defined(OS_ANDROID) 269 #if defined(OS_ANDROID)
270 webkit_media::WebMediaPlayerManagerAndroid* media_player_manager() { 270 webkit_media::WebMediaPlayerManagerAndroid* media_player_manager() {
271 return media_player_manager_.get(); 271 return media_player_manager_.get();
272 } 272 }
273 #endif 273 #endif
274 274
275 WebKit::WebPeerConnection00Handler* CreatePeerConnectionHandlerJsep(
276 WebKit::WebPeerConnection00HandlerClient* client);
277
278 // Functions to add and remove observers for this object. 275 // Functions to add and remove observers for this object.
279 void AddObserver(content::RenderViewObserver* observer); 276 void AddObserver(content::RenderViewObserver* observer);
280 void RemoveObserver(content::RenderViewObserver* observer); 277 void RemoveObserver(content::RenderViewObserver* observer);
281 278
282 // Adds the given file chooser request to the file_chooser_completion_ queue 279 // Adds the given file chooser request to the file_chooser_completion_ queue
283 // (see that var for more) and requests the chooser be displayed if there are 280 // (see that var for more) and requests the chooser be displayed if there are
284 // no other waiting items in the queue. 281 // no other waiting items in the queue.
285 // 282 //
286 // Returns true if the chooser was successfully scheduled. False means we 283 // Returns true if the chooser was successfully scheduled. False means we
287 // didn't schedule anything. 284 // didn't schedule anything.
(...skipping 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after
1543 // bunch of stuff, you should probably create a helper class and put your 1540 // bunch of stuff, you should probably create a helper class and put your
1544 // data and methods on that to avoid bloating RenderView more. You can 1541 // data and methods on that to avoid bloating RenderView more. You can
1545 // use the Observer interface to filter IPC messages and receive frame change 1542 // use the Observer interface to filter IPC messages and receive frame change
1546 // notifications. 1543 // notifications.
1547 // --------------------------------------------------------------------------- 1544 // ---------------------------------------------------------------------------
1548 1545
1549 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1546 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1550 }; 1547 };
1551 1548
1552 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1549 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698