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

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

Issue 8060055: Adding support for MediaStream and PeerConnection functionality (Closed) Base URL: http://git.chromium.org/chromium/chromium.git@trunk
Patch Set: Adding render view files again, can't split CL 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
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 class AudioMessageFilter; 57 class AudioMessageFilter;
58 class DeviceOrientationDispatcher; 58 class DeviceOrientationDispatcher;
59 class DevToolsAgent; 59 class DevToolsAgent;
60 class ExternalPopupMenu; 60 class ExternalPopupMenu;
61 class GeolocationDispatcher; 61 class GeolocationDispatcher;
62 class GURL; 62 class GURL;
63 class IntentsDispatcher; 63 class IntentsDispatcher;
64 class JavaBridgeDispatcher; 64 class JavaBridgeDispatcher;
65 class LoadProgressTracker; 65 class LoadProgressTracker;
66 class MediaStreamDispatcher
66 class MediaStreamImpl; 67 class MediaStreamImpl;
67 class NotificationProvider; 68 class NotificationProvider;
68 class PepperDeviceTest; 69 class PepperDeviceTest;
69 class PrintWebViewHelper; 70 class PrintWebViewHelper;
70 class RenderWidgetFullscreenPepper; 71 class RenderWidgetFullscreenPepper;
71 class RendererAccessibility; 72 class RendererAccessibility;
72 class SkBitmap; 73 class SkBitmap;
73 class SpeechInputDispatcher; 74 class SpeechInputDispatcher;
74 class WebPluginDelegateProxy; 75 class WebPluginDelegateProxy;
75 class WebUIBindings; 76 class WebUIBindings;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 CONTENT_EXPORT WebKit::WebView* webview() const; 198 CONTENT_EXPORT WebKit::WebView* webview() const;
198 199
199 // Called by a GraphicsContext associated with this view when swapbuffers 200 // Called by a GraphicsContext associated with this view when swapbuffers
200 // is posted, completes or is aborted. 201 // is posted, completes or is aborted.
201 void OnViewContextSwapBuffersPosted(); 202 void OnViewContextSwapBuffersPosted();
202 void OnViewContextSwapBuffersComplete(); 203 void OnViewContextSwapBuffersComplete();
203 void OnViewContextSwapBuffersAborted(); 204 void OnViewContextSwapBuffersAborted();
204 205
205 int history_list_offset() const { return history_list_offset_; } 206 int history_list_offset() const { return history_list_offset_; }
206 207
208 MediaStreamDispatcher* media_stream_dispatcher() {
209 return media_stream_dispatcher_;
210 }
211
207 const WebPreferences& webkit_preferences() const { 212 const WebPreferences& webkit_preferences() const {
208 return webkit_preferences_; 213 return webkit_preferences_;
209 } 214 }
210 215
211 void set_send_content_state_immediately(bool value) { 216 void set_send_content_state_immediately(bool value) {
212 send_content_state_immediately_ = value; 217 send_content_state_immediately_ = value;
213 } 218 }
214 219
215 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. 220 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled.
216 content::P2PSocketDispatcher* p2p_socket_dispatcher() { 221 content::P2PSocketDispatcher* p2p_socket_dispatcher() {
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 virtual int historyForwardListCount(); 388 virtual int historyForwardListCount();
384 virtual void postAccessibilityNotification( 389 virtual void postAccessibilityNotification(
385 const WebKit::WebAccessibilityObject& obj, 390 const WebKit::WebAccessibilityObject& obj,
386 WebKit::WebAccessibilityNotification notification); 391 WebKit::WebAccessibilityNotification notification);
387 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, 392 virtual void didUpdateInspectorSetting(const WebKit::WebString& key,
388 const WebKit::WebString& value); 393 const WebKit::WebString& value);
389 virtual WebKit::WebGeolocationClient* geolocationClient(); 394 virtual WebKit::WebGeolocationClient* geolocationClient();
390 virtual WebKit::WebSpeechInputController* speechInputController( 395 virtual WebKit::WebSpeechInputController* speechInputController(
391 WebKit::WebSpeechInputListener* listener); 396 WebKit::WebSpeechInputListener* listener);
392 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); 397 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
398 virtual WebKit::WebMediaStreamClient* mediaStreamClient();
393 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); 399 virtual void zoomLimitsChanged(double minimum_level, double maximum_level);
394 virtual void zoomLevelChanged(); 400 virtual void zoomLevelChanged();
395 virtual void registerProtocolHandler(const WebKit::WebString& scheme, 401 virtual void registerProtocolHandler(const WebKit::WebString& scheme,
396 const WebKit::WebString& base_url, 402 const WebKit::WebString& base_url,
397 const WebKit::WebString& url, 403 const WebKit::WebString& url,
398 const WebKit::WebString& title); 404 const WebKit::WebString& title);
399 virtual void registerIntentHandler(const WebKit::WebString& action, 405 virtual void registerIntentHandler(const WebKit::WebString& action,
400 const WebKit::WebString& type, 406 const WebKit::WebString& type,
401 const WebKit::WebString& href, 407 const WebKit::WebString& href,
402 const WebKit::WebString& title); 408 const WebKit::WebString& title);
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
1141 1147
1142 // The intents dispatcher attached to this view. Not lazily initialized. 1148 // The intents dispatcher attached to this view. Not lazily initialized.
1143 IntentsDispatcher* intents_dispatcher_; 1149 IntentsDispatcher* intents_dispatcher_;
1144 1150
1145 // The speech dispatcher attached to this view, lazily initialized. 1151 // The speech dispatcher attached to this view, lazily initialized.
1146 SpeechInputDispatcher* speech_input_dispatcher_; 1152 SpeechInputDispatcher* speech_input_dispatcher_;
1147 1153
1148 // Device orientation dispatcher attached to this view; lazily initialized. 1154 // Device orientation dispatcher attached to this view; lazily initialized.
1149 DeviceOrientationDispatcher* device_orientation_dispatcher_; 1155 DeviceOrientationDispatcher* device_orientation_dispatcher_;
1150 1156
1157 // MediaStream dispatcher attached to this view; lazily initialized.
1158 MediaStreamDispatcher* media_stream_dispatcher_;
1159
1151 // MediaStreamImpl attached to this view; lazily initialized. 1160 // MediaStreamImpl attached to this view; lazily initialized.
1152 scoped_refptr<MediaStreamImpl> media_stream_impl_; 1161 scoped_refptr<MediaStreamImpl> media_stream_impl_;
1153 1162
1154 // Dispatches all P2P socket used by the renderer. 1163 // Dispatches all P2P socket used by the renderer.
1155 content::P2PSocketDispatcher* p2p_socket_dispatcher_; 1164 content::P2PSocketDispatcher* p2p_socket_dispatcher_;
1156 1165
1157 DevToolsAgent* devtools_agent_; 1166 DevToolsAgent* devtools_agent_;
1158 1167
1159 RendererAccessibility* renderer_accessibility_; 1168 RendererAccessibility* renderer_accessibility_;
1160 1169
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
1225 // bunch of stuff, you should probably create a helper class and put your 1234 // bunch of stuff, you should probably create a helper class and put your
1226 // data and methods on that to avoid bloating RenderView more. You can 1235 // data and methods on that to avoid bloating RenderView more. You can
1227 // use the Observer interface to filter IPC messages and receive frame change 1236 // use the Observer interface to filter IPC messages and receive frame change
1228 // notifications. 1237 // notifications.
1229 // --------------------------------------------------------------------------- 1238 // ---------------------------------------------------------------------------
1230 1239
1231 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1240 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1232 }; 1241 };
1233 1242
1234 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1243 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698