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

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

Issue 8480028: support video device enumeration from renderer process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: simplify interface between MSManager and MSDevieSettings Created 9 years, 1 month 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
« no previous file with comments | « content/renderer/media/media_stream_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #endif 55 #endif
56 56
57 class DeviceOrientationDispatcher; 57 class DeviceOrientationDispatcher;
58 class DevToolsAgent; 58 class DevToolsAgent;
59 class ExternalPopupMenu; 59 class ExternalPopupMenu;
60 class GeolocationDispatcher; 60 class GeolocationDispatcher;
61 class GURL; 61 class GURL;
62 class IntentsDispatcher; 62 class IntentsDispatcher;
63 class JavaBridgeDispatcher; 63 class JavaBridgeDispatcher;
64 class LoadProgressTracker; 64 class LoadProgressTracker;
65 class MediaStreamDispatcher;
65 class MediaStreamImpl; 66 class MediaStreamImpl;
66 class NotificationProvider; 67 class NotificationProvider;
67 class PepperDeviceTest; 68 class PepperDeviceTest;
68 struct PP_NetAddress_Private; 69 struct PP_NetAddress_Private;
69 class RenderWidgetFullscreenPepper; 70 class RenderWidgetFullscreenPepper;
70 class RendererAccessibility; 71 class RendererAccessibility;
71 class SkBitmap; 72 class SkBitmap;
72 class SpeechInputDispatcher; 73 class SpeechInputDispatcher;
73 struct ViewHostMsg_RunFileChooser_Params; 74 struct ViewHostMsg_RunFileChooser_Params;
74 struct ViewMsg_Navigate_Params; 75 struct ViewMsg_Navigate_Params;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 195
195 void set_send_content_state_immediately(bool value) { 196 void set_send_content_state_immediately(bool value) {
196 send_content_state_immediately_ = value; 197 send_content_state_immediately_ = value;
197 } 198 }
198 199
199 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. 200 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled.
200 content::P2PSocketDispatcher* p2p_socket_dispatcher() { 201 content::P2PSocketDispatcher* p2p_socket_dispatcher() {
201 return p2p_socket_dispatcher_; 202 return p2p_socket_dispatcher_;
202 } 203 }
203 204
205 MediaStreamDispatcher* media_stream_dispatcher() {
206 return media_stream_dispatcher_;
207 }
208
204 // Functions to add and remove observers for this object. 209 // Functions to add and remove observers for this object.
205 void AddObserver(content::RenderViewObserver* observer); 210 void AddObserver(content::RenderViewObserver* observer);
206 void RemoveObserver(content::RenderViewObserver* observer); 211 void RemoveObserver(content::RenderViewObserver* observer);
207 212
208 // Adds the given file chooser request to the file_chooser_completion_ queue 213 // Adds the given file chooser request to the file_chooser_completion_ queue
209 // (see that var for more) and requests the chooser be displayed if there are 214 // (see that var for more) and requests the chooser be displayed if there are
210 // no other waiting items in the queue. 215 // no other waiting items in the queue.
211 // 216 //
212 // Returns true if the chooser was successfully scheduled. False means we 217 // Returns true if the chooser was successfully scheduled. False means we
213 // didn't schedule anything. 218 // didn't schedule anything.
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 1133
1129 // The intents dispatcher attached to this view. Not lazily initialized. 1134 // The intents dispatcher attached to this view. Not lazily initialized.
1130 IntentsDispatcher* intents_dispatcher_; 1135 IntentsDispatcher* intents_dispatcher_;
1131 1136
1132 // The speech dispatcher attached to this view, lazily initialized. 1137 // The speech dispatcher attached to this view, lazily initialized.
1133 SpeechInputDispatcher* speech_input_dispatcher_; 1138 SpeechInputDispatcher* speech_input_dispatcher_;
1134 1139
1135 // Device orientation dispatcher attached to this view; lazily initialized. 1140 // Device orientation dispatcher attached to this view; lazily initialized.
1136 DeviceOrientationDispatcher* device_orientation_dispatcher_; 1141 DeviceOrientationDispatcher* device_orientation_dispatcher_;
1137 1142
1143 // MediaStream dispatcher attached to this view; lazily initialized.
1144 MediaStreamDispatcher* media_stream_dispatcher_;
1145
1138 // MediaStreamImpl attached to this view; lazily initialized. 1146 // MediaStreamImpl attached to this view; lazily initialized.
1139 scoped_refptr<MediaStreamImpl> media_stream_impl_; 1147 scoped_refptr<MediaStreamImpl> media_stream_impl_;
1140 1148
1141 // Dispatches all P2P socket used by the renderer. 1149 // Dispatches all P2P socket used by the renderer.
1142 content::P2PSocketDispatcher* p2p_socket_dispatcher_; 1150 content::P2PSocketDispatcher* p2p_socket_dispatcher_;
1143 1151
1144 DevToolsAgent* devtools_agent_; 1152 DevToolsAgent* devtools_agent_;
1145 1153
1146 RendererAccessibility* renderer_accessibility_; 1154 RendererAccessibility* renderer_accessibility_;
1147 1155
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 // bunch of stuff, you should probably create a helper class and put your 1220 // bunch of stuff, you should probably create a helper class and put your
1213 // data and methods on that to avoid bloating RenderView more. You can 1221 // data and methods on that to avoid bloating RenderView more. You can
1214 // use the Observer interface to filter IPC messages and receive frame change 1222 // use the Observer interface to filter IPC messages and receive frame change
1215 // notifications. 1223 // notifications.
1216 // --------------------------------------------------------------------------- 1224 // ---------------------------------------------------------------------------
1217 1225
1218 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1226 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1219 }; 1227 };
1220 1228
1221 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1229 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698