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 17 matching lines...) Expand all Loading... |
28 #include "content/common/edit_command.h" | 28 #include "content/common/edit_command.h" |
29 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 29 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
30 #include "content/common/navigation_gesture.h" | 30 #include "content/common/navigation_gesture.h" |
31 #include "content/common/view_message_enums.h" | 31 #include "content/common/view_message_enums.h" |
32 #include "content/public/common/page_zoom.h" | 32 #include "content/public/common/page_zoom.h" |
33 #include "content/public/common/referrer.h" | 33 #include "content/public/common/referrer.h" |
34 #include "content/public/common/renderer_preferences.h" | 34 #include "content/public/common/renderer_preferences.h" |
35 #include "content/public/common/stop_find_action.h" | 35 #include "content/public/common/stop_find_action.h" |
36 #include "content/public/common/top_controls_state.h" | 36 #include "content/public/common/top_controls_state.h" |
37 #include "content/public/renderer/render_view.h" | 37 #include "content/public/renderer/render_view.h" |
38 #include "content/renderer/media/webmediaplayer_delegate.h" | |
39 #include "content/renderer/mouse_lock_dispatcher.h" | 38 #include "content/renderer/mouse_lock_dispatcher.h" |
40 #include "content/renderer/render_frame_impl.h" | 39 #include "content/renderer/render_frame_impl.h" |
41 #include "content/renderer/render_widget.h" | 40 #include "content/renderer/render_widget.h" |
42 #include "content/renderer/renderer_date_time_picker.h" | 41 #include "content/renderer/renderer_date_time_picker.h" |
43 #include "content/renderer/stats_collection_observer.h" | 42 #include "content/renderer/stats_collection_observer.h" |
44 #include "ipc/ipc_platform_file.h" | 43 #include "ipc/ipc_platform_file.h" |
45 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | 44 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
46 #include "third_party/WebKit/public/web/WebAXObject.h" | 45 #include "third_party/WebKit/public/web/WebAXObject.h" |
47 #include "third_party/WebKit/public/web/WebConsoleMessage.h" | 46 #include "third_party/WebKit/public/web/WebConsoleMessage.h" |
48 #include "third_party/WebKit/public/web/WebDataSource.h" | 47 #include "third_party/WebKit/public/web/WebDataSource.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 class WebDOMMessageEvent; | 92 class WebDOMMessageEvent; |
94 class WebDataSource; | 93 class WebDataSource; |
95 class WebDateTimeChooserCompletion; | 94 class WebDateTimeChooserCompletion; |
96 class WebDragData; | 95 class WebDragData; |
97 class WebGeolocationClient; | 96 class WebGeolocationClient; |
98 class WebGestureEvent; | 97 class WebGestureEvent; |
99 class WebIconURL; | 98 class WebIconURL; |
100 class WebImage; | 99 class WebImage; |
101 class WebPeerConnection00Handler; | 100 class WebPeerConnection00Handler; |
102 class WebPeerConnection00HandlerClient; | 101 class WebPeerConnection00HandlerClient; |
103 class WebMediaPlayer; | |
104 class WebMediaPlayerClient; | |
105 class WebMouseEvent; | 102 class WebMouseEvent; |
106 class WebPeerConnectionHandler; | 103 class WebPeerConnectionHandler; |
107 class WebPeerConnectionHandlerClient; | 104 class WebPeerConnectionHandlerClient; |
108 class WebSocketStreamHandle; | 105 class WebSocketStreamHandle; |
109 class WebSpeechInputController; | 106 class WebSpeechInputController; |
110 class WebSpeechInputListener; | 107 class WebSpeechInputListener; |
111 class WebSpeechRecognizer; | 108 class WebSpeechRecognizer; |
112 class WebStorageNamespace; | 109 class WebStorageNamespace; |
113 class WebTouchEvent; | 110 class WebTouchEvent; |
114 class WebURLRequest; | 111 class WebURLRequest; |
115 class WebUserMediaClient; | |
116 struct WebActiveWheelFlingParameters; | 112 struct WebActiveWheelFlingParameters; |
117 struct WebDateTimeChooserParams; | 113 struct WebDateTimeChooserParams; |
118 struct WebFileChooserParams; | 114 struct WebFileChooserParams; |
119 struct WebFindOptions; | 115 struct WebFindOptions; |
120 struct WebMediaPlayerAction; | 116 struct WebMediaPlayerAction; |
121 struct WebPluginAction; | 117 struct WebPluginAction; |
122 struct WebPoint; | 118 struct WebPoint; |
123 struct WebWindowFeatures; | 119 struct WebWindowFeatures; |
124 | 120 |
125 #if defined(OS_ANDROID) | 121 #if defined(OS_ANDROID) |
(...skipping 12 matching lines...) Expand all Loading... |
138 class DocumentState; | 134 class DocumentState; |
139 class ExternalPopupMenu; | 135 class ExternalPopupMenu; |
140 class FaviconHelper; | 136 class FaviconHelper; |
141 class GeolocationDispatcher; | 137 class GeolocationDispatcher; |
142 class HistoryController; | 138 class HistoryController; |
143 class HistoryEntry; | 139 class HistoryEntry; |
144 class ImageResourceFetcher; | 140 class ImageResourceFetcher; |
145 class InputTagSpeechDispatcher; | 141 class InputTagSpeechDispatcher; |
146 class LoadProgressTracker; | 142 class LoadProgressTracker; |
147 class MidiDispatcher; | 143 class MidiDispatcher; |
148 class MediaStreamClient; | |
149 class MediaStreamDispatcher; | 144 class MediaStreamDispatcher; |
150 class MouseLockDispatcher; | 145 class MouseLockDispatcher; |
151 class NavigationState; | 146 class NavigationState; |
152 class PepperPluginInstanceImpl; | 147 class PepperPluginInstanceImpl; |
153 class PushMessagingDispatcher; | 148 class PushMessagingDispatcher; |
154 class RenderViewObserver; | 149 class RenderViewObserver; |
155 class RenderViewTest; | 150 class RenderViewTest; |
156 class RendererAccessibility; | 151 class RendererAccessibility; |
157 class RendererDateTimePicker; | 152 class RendererDateTimePicker; |
158 class RendererWebColorChooserImpl; | 153 class RendererWebColorChooserImpl; |
(...skipping 11 matching lines...) Expand all Loading... |
170 | 165 |
171 // | 166 // |
172 // RenderView is an object that manages a WebView object, and provides a | 167 // RenderView is an object that manages a WebView object, and provides a |
173 // communication interface with an embedding application process | 168 // communication interface with an embedding application process |
174 // | 169 // |
175 class CONTENT_EXPORT RenderViewImpl | 170 class CONTENT_EXPORT RenderViewImpl |
176 : public RenderWidget, | 171 : public RenderWidget, |
177 NON_EXPORTED_BASE(public blink::WebViewClient), | 172 NON_EXPORTED_BASE(public blink::WebViewClient), |
178 NON_EXPORTED_BASE(public blink::WebPageSerializerClient), | 173 NON_EXPORTED_BASE(public blink::WebPageSerializerClient), |
179 public RenderView, | 174 public RenderView, |
180 NON_EXPORTED_BASE(public WebMediaPlayerDelegate), | |
181 public base::SupportsWeakPtr<RenderViewImpl> { | 175 public base::SupportsWeakPtr<RenderViewImpl> { |
182 public: | 176 public: |
183 // Creates a new RenderView. |opener_id| is the routing ID of the RenderView | 177 // Creates a new RenderView. |opener_id| is the routing ID of the RenderView |
184 // responsible for creating this RenderView. Note that if the original opener | 178 // responsible for creating this RenderView. Note that if the original opener |
185 // has been closed, |window_was_created_with_opener| will be true and | 179 // has been closed, |window_was_created_with_opener| will be true and |
186 // |opener_id| will be MSG_ROUTING_NONE. | 180 // |opener_id| will be MSG_ROUTING_NONE. |
187 static RenderViewImpl* Create(int32 opener_id, | 181 static RenderViewImpl* Create(int32 opener_id, |
188 bool window_was_created_with_opener, | 182 bool window_was_created_with_opener, |
189 const RendererPreferences& renderer_prefs, | 183 const RendererPreferences& renderer_prefs, |
190 const WebPreferences& webkit_prefs, | 184 const WebPreferences& webkit_prefs, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 const RendererPreferences& renderer_preferences() const { | 218 const RendererPreferences& renderer_preferences() const { |
225 return renderer_preferences_; | 219 return renderer_preferences_; |
226 } | 220 } |
227 | 221 |
228 void set_send_content_state_immediately(bool value) { | 222 void set_send_content_state_immediately(bool value) { |
229 send_content_state_immediately_ = value; | 223 send_content_state_immediately_ = value; |
230 } | 224 } |
231 | 225 |
232 RenderFrameImpl* main_render_frame() { return main_render_frame_.get(); } | 226 RenderFrameImpl* main_render_frame() { return main_render_frame_.get(); } |
233 | 227 |
| 228 // TODO(jam): move to RenderFrameImpl |
234 MediaStreamDispatcher* media_stream_dispatcher() { | 229 MediaStreamDispatcher* media_stream_dispatcher() { |
235 return media_stream_dispatcher_; | 230 return media_stream_dispatcher_; |
236 } | 231 } |
237 | 232 |
238 AccessibilityMode accessibility_mode() { | 233 AccessibilityMode accessibility_mode() { |
239 return accessibility_mode_; | 234 return accessibility_mode_; |
240 } | 235 } |
241 | 236 |
242 RendererAccessibility* renderer_accessibility() { | 237 RendererAccessibility* renderer_accessibility() { |
243 return renderer_accessibility_; | 238 return renderer_accessibility_; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 typedef base::Callback<void( | 343 typedef base::Callback<void( |
349 const gfx::Size&, const std::vector<unsigned char>&)> | 344 const gfx::Size&, const std::vector<unsigned char>&)> |
350 WindowSnapshotCallback; | 345 WindowSnapshotCallback; |
351 | 346 |
352 void GetWindowSnapshot(const WindowSnapshotCallback& callback); | 347 void GetWindowSnapshot(const WindowSnapshotCallback& callback); |
353 | 348 |
354 // Dispatches the current navigation state to the browser. Called on a | 349 // Dispatches the current navigation state to the browser. Called on a |
355 // periodic timer so we don't send too many messages. | 350 // periodic timer so we don't send too many messages. |
356 void SyncNavigationState(); | 351 void SyncNavigationState(); |
357 | 352 |
358 // Temporary call until all this media code moves to RenderFrame. | |
359 // TODO(jam): remove me | |
360 blink::WebMediaPlayer* CreateMediaPlayer(RenderFrame* render_frame, | |
361 blink::WebLocalFrame* frame, | |
362 const blink::WebURL& url, | |
363 blink::WebMediaPlayerClient* client); | |
364 // Returns the length of the session history of this RenderView. Note that | 353 // Returns the length of the session history of this RenderView. Note that |
365 // this only coincides with the actual length of the session history if this | 354 // this only coincides with the actual length of the session history if this |
366 // RenderView is the currently active RenderView of a WebContents. | 355 // RenderView is the currently active RenderView of a WebContents. |
367 unsigned GetLocalSessionHistoryLengthForTesting() const; | 356 unsigned GetLocalSessionHistoryLengthForTesting() const; |
368 | 357 |
369 // Invokes OnSetFocus and marks the widget as active depending on the value | 358 // Invokes OnSetFocus and marks the widget as active depending on the value |
370 // of |enable|. This is used for layout tests that need to control the focus | 359 // of |enable|. This is used for layout tests that need to control the focus |
371 // synchronously from the renderer. | 360 // synchronously from the renderer. |
372 void SetFocusAndActivateForTesting(bool enable); | 361 void SetFocusAndActivateForTesting(bool enable); |
373 | 362 |
374 // Change the device scale factor and force the compositor to resize. | 363 // Change the device scale factor and force the compositor to resize. |
375 void SetDeviceScaleFactorForTesting(float factor); | 364 void SetDeviceScaleFactorForTesting(float factor); |
376 | 365 |
377 // Used to force the size of a window when running layout tests. | 366 // Used to force the size of a window when running layout tests. |
378 void ForceResizeForTesting(const gfx::Size& new_size); | 367 void ForceResizeForTesting(const gfx::Size& new_size); |
379 | 368 |
380 void UseSynchronousResizeModeForTesting(bool enable); | 369 void UseSynchronousResizeModeForTesting(bool enable); |
381 | 370 |
382 // Control autoresize mode. | 371 // Control autoresize mode. |
383 void EnableAutoResizeForTesting(const gfx::Size& min_size, | 372 void EnableAutoResizeForTesting(const gfx::Size& min_size, |
384 const gfx::Size& max_size); | 373 const gfx::Size& max_size); |
385 void DisableAutoResizeForTesting(const gfx::Size& new_size); | 374 void DisableAutoResizeForTesting(const gfx::Size& new_size); |
386 | 375 |
387 // Overrides the MediaStreamClient used when creating MediaStream players. | |
388 // Must be called before any players are created. | |
389 void SetMediaStreamClientForTesting(MediaStreamClient* media_stream_client); | |
390 | |
391 // IPC::Listener implementation ---------------------------------------------- | 376 // IPC::Listener implementation ---------------------------------------------- |
392 | 377 |
393 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 378 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
394 | 379 |
395 // blink::WebWidgetClient implementation ------------------------------------ | 380 // blink::WebWidgetClient implementation ------------------------------------ |
396 | 381 |
397 // Most methods are handled by RenderWidget. | 382 // Most methods are handled by RenderWidget. |
398 virtual void didFocus(); | 383 virtual void didFocus(); |
399 virtual void didBlur(); | 384 virtual void didBlur(); |
400 virtual void show(blink::WebNavigationPolicy policy); | 385 virtual void show(blink::WebNavigationPolicy policy); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 virtual blink::WebSpeechRecognizer* speechRecognizer(); | 457 virtual blink::WebSpeechRecognizer* speechRecognizer(); |
473 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); | 458 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
474 virtual void zoomLevelChanged(); | 459 virtual void zoomLevelChanged(); |
475 virtual double zoomLevelToZoomFactor(double zoom_level) const; | 460 virtual double zoomLevelToZoomFactor(double zoom_level) const; |
476 virtual double zoomFactorToZoomLevel(double factor) const; | 461 virtual double zoomFactorToZoomLevel(double factor) const; |
477 virtual void registerProtocolHandler(const blink::WebString& scheme, | 462 virtual void registerProtocolHandler(const blink::WebString& scheme, |
478 const blink::WebURL& base_url, | 463 const blink::WebURL& base_url, |
479 const blink::WebURL& url, | 464 const blink::WebURL& url, |
480 const blink::WebString& title); | 465 const blink::WebString& title); |
481 virtual blink::WebPageVisibilityState visibilityState() const; | 466 virtual blink::WebPageVisibilityState visibilityState() const; |
482 virtual blink::WebUserMediaClient* userMediaClient(); | |
483 virtual blink::WebMIDIClient* webMIDIClient(); | 467 virtual blink::WebMIDIClient* webMIDIClient(); |
484 virtual blink::WebPushClient* webPushClient(); | 468 virtual blink::WebPushClient* webPushClient(); |
485 virtual void draggableRegionsChanged(); | 469 virtual void draggableRegionsChanged(); |
486 | 470 |
487 #if defined(OS_ANDROID) | 471 #if defined(OS_ANDROID) |
488 virtual void scheduleContentIntent(const blink::WebURL& intent); | 472 virtual void scheduleContentIntent(const blink::WebURL& intent); |
489 virtual void cancelScheduledContentIntents(); | 473 virtual void cancelScheduledContentIntents(); |
490 virtual blink::WebContentDetectionResult detectContentAround( | 474 virtual blink::WebContentDetectionResult detectContentAround( |
491 const blink::WebHitTestResult& touch_hit); | 475 const blink::WebHitTestResult& touch_hit); |
492 | 476 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 const std::string& value) OVERRIDE; | 512 const std::string& value) OVERRIDE; |
529 virtual void ClearEditCommands() OVERRIDE; | 513 virtual void ClearEditCommands() OVERRIDE; |
530 virtual SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const OVERRIDE; | 514 virtual SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const OVERRIDE; |
531 virtual const std::string& GetAcceptLanguages() const OVERRIDE; | 515 virtual const std::string& GetAcceptLanguages() const OVERRIDE; |
532 #if defined(OS_ANDROID) | 516 #if defined(OS_ANDROID) |
533 virtual void UpdateTopControlsState(TopControlsState constraints, | 517 virtual void UpdateTopControlsState(TopControlsState constraints, |
534 TopControlsState current, | 518 TopControlsState current, |
535 bool animate) OVERRIDE; | 519 bool animate) OVERRIDE; |
536 #endif | 520 #endif |
537 | 521 |
538 // WebMediaPlayerDelegate implementation ----------------------- | |
539 | |
540 virtual void DidPlay(blink::WebMediaPlayer* player) OVERRIDE; | |
541 virtual void DidPause(blink::WebMediaPlayer* player) OVERRIDE; | |
542 virtual void PlayerGone(blink::WebMediaPlayer* player) OVERRIDE; | |
543 | |
544 // Please do not add your stuff randomly to the end here. If there is an | 522 // Please do not add your stuff randomly to the end here. If there is an |
545 // appropriate section, add it there. If not, there are some random functions | 523 // appropriate section, add it there. If not, there are some random functions |
546 // nearer to the top you can add it to. | 524 // nearer to the top you can add it to. |
547 | 525 |
548 // Cannot use std::set unfortunately since linked_ptr<> does not support | 526 // Cannot use std::set unfortunately since linked_ptr<> does not support |
549 // operator<. | 527 // operator<. |
550 typedef std::vector<linked_ptr<ImageResourceFetcher> > | 528 typedef std::vector<linked_ptr<ImageResourceFetcher> > |
551 ImageResourceFetcherList; | 529 ImageResourceFetcherList; |
552 | 530 |
553 protected: | 531 protected: |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
834 const gfx::Rect& view_frame); | 812 const gfx::Rect& view_frame); |
835 #endif | 813 #endif |
836 | 814 |
837 // Adding a new message handler? Please add it in alphabetical order above | 815 // Adding a new message handler? Please add it in alphabetical order above |
838 // and put it in the same position in the .cc file. | 816 // and put it in the same position in the .cc file. |
839 | 817 |
840 // Misc private functions ---------------------------------------------------- | 818 // Misc private functions ---------------------------------------------------- |
841 // Check whether the preferred size has changed. | 819 // Check whether the preferred size has changed. |
842 void CheckPreferredSize(); | 820 void CheckPreferredSize(); |
843 | 821 |
844 // Initializes |media_stream_client_|, returning true if successful. Returns | |
845 // false if it wasn't possible to create a MediaStreamClient (e.g., WebRTC is | |
846 // disabled) in which case |media_stream_client_| is NULL. | |
847 bool InitializeMediaStreamClient(); | |
848 | |
849 // This callback is triggered when DownloadFavicon completes, either | 822 // This callback is triggered when DownloadFavicon completes, either |
850 // succesfully or with a failure. See DownloadFavicon for more | 823 // succesfully or with a failure. See DownloadFavicon for more |
851 // details. | 824 // details. |
852 void DidDownloadFavicon(ImageResourceFetcher* fetcher, | 825 void DidDownloadFavicon(ImageResourceFetcher* fetcher, |
853 const SkBitmap& image); | 826 const SkBitmap& image); |
854 | 827 |
855 // Requests to download a favicon image. When done, the RenderView is notified | 828 // Requests to download a favicon image. When done, the RenderView is notified |
856 // by way of DidDownloadFavicon. Returns true if the request was successfully | 829 // by way of DidDownloadFavicon. Returns true if the request was successfully |
857 // started, false otherwise. id is used to uniquely identify the request and | 830 // started, false otherwise. id is used to uniquely identify the request and |
858 // passed back to the DidDownloadFavicon method. If the image has multiple | 831 // passed back to the DidDownloadFavicon method. If the image has multiple |
(...skipping 29 matching lines...) Expand all Loading... |
888 // saved in OnNavigate(). | 861 // saved in OnNavigate(). |
889 NavigationState* CreateNavigationStateFromPending(); | 862 NavigationState* CreateNavigationStateFromPending(); |
890 | 863 |
891 // Processes the command-line flags --enable-viewport, | 864 // Processes the command-line flags --enable-viewport, |
892 // --enable-fixed-layout[=w,h] and --enable-pinch. | 865 // --enable-fixed-layout[=w,h] and --enable-pinch. |
893 void ProcessViewLayoutFlags(const base::CommandLine& command_line); | 866 void ProcessViewLayoutFlags(const base::CommandLine& command_line); |
894 | 867 |
895 #if defined(OS_ANDROID) | 868 #if defined(OS_ANDROID) |
896 // Launch an Android content intent with the given URL. | 869 // Launch an Android content intent with the given URL. |
897 void LaunchAndroidContentIntent(const GURL& intent_url, size_t request_id); | 870 void LaunchAndroidContentIntent(const GURL& intent_url, size_t request_id); |
898 | |
899 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( | |
900 blink::WebFrame* frame, | |
901 const blink::WebURL& url, | |
902 blink::WebMediaPlayerClient* client); | |
903 #endif | 871 #endif |
904 | 872 |
905 blink::WebMediaPlayer* CreateWebMediaPlayerForMediaStream( | |
906 blink::WebFrame* frame, | |
907 const blink::WebURL& url, | |
908 blink::WebMediaPlayerClient* client); | |
909 | |
910 // Sends a reply to the current find operation handling if it was a | 873 // Sends a reply to the current find operation handling if it was a |
911 // synchronous find request. | 874 // synchronous find request. |
912 void SendFindReply(int request_id, | 875 void SendFindReply(int request_id, |
913 int match_count, | 876 int match_count, |
914 int ordinal, | 877 int ordinal, |
915 const blink::WebRect& selection_rect, | 878 const blink::WebRect& selection_rect, |
916 bool final_status_update); | 879 bool final_status_update); |
917 | 880 |
918 // Starts nav_state_sync_timer_ if it isn't already running. | 881 // Starts nav_state_sync_timer_ if it isn't already running. |
919 void StartNavStateSyncTimerIfNecessary(); | 882 void StartNavStateSyncTimerIfNecessary(); |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1147 | 1110 |
1148 // Device orientation dispatcher attached to this view; lazily initialized. | 1111 // Device orientation dispatcher attached to this view; lazily initialized. |
1149 DeviceOrientationDispatcher* device_orientation_dispatcher_; | 1112 DeviceOrientationDispatcher* device_orientation_dispatcher_; |
1150 | 1113 |
1151 // MediaStream dispatcher attached to this view; lazily initialized. | 1114 // MediaStream dispatcher attached to this view; lazily initialized. |
1152 MediaStreamDispatcher* media_stream_dispatcher_; | 1115 MediaStreamDispatcher* media_stream_dispatcher_; |
1153 | 1116 |
1154 // BrowserPluginManager attached to this view; lazily initialized. | 1117 // BrowserPluginManager attached to this view; lazily initialized. |
1155 scoped_refptr<BrowserPluginManager> browser_plugin_manager_; | 1118 scoped_refptr<BrowserPluginManager> browser_plugin_manager_; |
1156 | 1119 |
1157 // MediaStreamClient attached to this view; lazily initialized. | |
1158 MediaStreamClient* media_stream_client_; | |
1159 blink::WebUserMediaClient* web_user_media_client_; | |
1160 | |
1161 // MidiClient attached to this view; lazily initialized. | 1120 // MidiClient attached to this view; lazily initialized. |
1162 MidiDispatcher* midi_dispatcher_; | 1121 MidiDispatcher* midi_dispatcher_; |
1163 | 1122 |
1164 DevToolsAgent* devtools_agent_; | 1123 DevToolsAgent* devtools_agent_; |
1165 | 1124 |
1166 // The current accessibility mode. | 1125 // The current accessibility mode. |
1167 AccessibilityMode accessibility_mode_; | 1126 AccessibilityMode accessibility_mode_; |
1168 | 1127 |
1169 // Only valid if |accessibility_mode_| is anything other than | 1128 // Only valid if |accessibility_mode_| is anything other than |
1170 // AccessibilityModeOff. | 1129 // AccessibilityModeOff. |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 // use the Observer interface to filter IPC messages and receive frame change | 1248 // use the Observer interface to filter IPC messages and receive frame change |
1290 // notifications. | 1249 // notifications. |
1291 // --------------------------------------------------------------------------- | 1250 // --------------------------------------------------------------------------- |
1292 | 1251 |
1293 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1252 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1294 }; | 1253 }; |
1295 | 1254 |
1296 } // namespace content | 1255 } // namespace content |
1297 | 1256 |
1298 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1257 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |