| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 #include "webkit/media/webmediaplayer_delegate.h" | 52 #include "webkit/media/webmediaplayer_delegate.h" |
| 53 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 53 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
| 54 | 54 |
| 55 #if defined(COMPILER_MSVC) | 55 #if defined(COMPILER_MSVC) |
| 56 // RenderViewImpl is a diamond-shaped hierarchy, with WebWidgetClient at the | 56 // RenderViewImpl is a diamond-shaped hierarchy, with WebWidgetClient at the |
| 57 // root. VS warns when we inherit the WebWidgetClient method implementations | 57 // root. VS warns when we inherit the WebWidgetClient method implementations |
| 58 // from RenderWidget. It's safe to ignore that warning. | 58 // from RenderWidget. It's safe to ignore that warning. |
| 59 #pragma warning(disable: 4250) | 59 #pragma warning(disable: 4250) |
| 60 #endif | 60 #endif |
| 61 | 61 |
| 62 class BatteryStatusDispatcher; |
| 62 class CommandLine; | 63 class CommandLine; |
| 63 class DeviceOrientationDispatcher; | 64 class DeviceOrientationDispatcher; |
| 64 class DevToolsAgent; | 65 class DevToolsAgent; |
| 65 class DomAutomationController; | 66 class DomAutomationController; |
| 66 class ExternalPopupMenu; | 67 class ExternalPopupMenu; |
| 67 class GeolocationDispatcher; | 68 class GeolocationDispatcher; |
| 68 class GURL; | 69 class GURL; |
| 69 class JavaBridgeDispatcher; | 70 class JavaBridgeDispatcher; |
| 70 class LoadProgressTracker; | 71 class LoadProgressTracker; |
| 71 class MediaStreamDispatcher; | 72 class MediaStreamDispatcher; |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 virtual int historyForwardListCount(); | 418 virtual int historyForwardListCount(); |
| 418 virtual void postAccessibilityNotification( | 419 virtual void postAccessibilityNotification( |
| 419 const WebKit::WebAccessibilityObject& obj, | 420 const WebKit::WebAccessibilityObject& obj, |
| 420 WebKit::WebAccessibilityNotification notification); | 421 WebKit::WebAccessibilityNotification notification); |
| 421 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, | 422 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, |
| 422 const WebKit::WebString& value); | 423 const WebKit::WebString& value); |
| 423 virtual WebKit::WebGeolocationClient* geolocationClient(); | 424 virtual WebKit::WebGeolocationClient* geolocationClient(); |
| 424 virtual WebKit::WebSpeechInputController* speechInputController( | 425 virtual WebKit::WebSpeechInputController* speechInputController( |
| 425 WebKit::WebSpeechInputListener* listener); | 426 WebKit::WebSpeechInputListener* listener); |
| 426 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); | 427 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); |
| 428 virtual WebKit::WebBatteryStatusClient* batteryStatusClient(); |
| 427 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); | 429 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
| 428 virtual void zoomLevelChanged(); | 430 virtual void zoomLevelChanged(); |
| 429 virtual void registerProtocolHandler(const WebKit::WebString& scheme, | 431 virtual void registerProtocolHandler(const WebKit::WebString& scheme, |
| 430 const WebKit::WebString& base_url, | 432 const WebKit::WebString& base_url, |
| 431 const WebKit::WebString& url, | 433 const WebKit::WebString& url, |
| 432 const WebKit::WebString& title); | 434 const WebKit::WebString& title); |
| 433 virtual WebKit::WebPageVisibilityState visibilityState() const; | 435 virtual WebKit::WebPageVisibilityState visibilityState() const; |
| 434 virtual WebKit::WebUserMediaClient* userMediaClient(); | 436 virtual WebKit::WebUserMediaClient* userMediaClient(); |
| 435 | 437 |
| 436 // WebKit::WebFrameClient implementation ------------------------------------- | 438 // WebKit::WebFrameClient implementation ------------------------------------- |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1201 | 1203 |
| 1202 // The intents host attached to this view. Not lazily initialized. | 1204 // The intents host attached to this view. Not lazily initialized. |
| 1203 WebIntentsHost* intents_host_; | 1205 WebIntentsHost* intents_host_; |
| 1204 | 1206 |
| 1205 // The speech dispatcher attached to this view, lazily initialized. | 1207 // The speech dispatcher attached to this view, lazily initialized. |
| 1206 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; | 1208 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; |
| 1207 | 1209 |
| 1208 // Device orientation dispatcher attached to this view; lazily initialized. | 1210 // Device orientation dispatcher attached to this view; lazily initialized. |
| 1209 DeviceOrientationDispatcher* device_orientation_dispatcher_; | 1211 DeviceOrientationDispatcher* device_orientation_dispatcher_; |
| 1210 | 1212 |
| 1213 // Battery status dispatcher attached to this view; lazily initialized. |
| 1214 BatteryStatusDispatcher* battery_status_dispatcher_; |
| 1215 |
| 1211 // MediaStream dispatcher attached to this view; lazily initialized. | 1216 // MediaStream dispatcher attached to this view; lazily initialized. |
| 1212 MediaStreamDispatcher* media_stream_dispatcher_; | 1217 MediaStreamDispatcher* media_stream_dispatcher_; |
| 1213 | 1218 |
| 1214 // MediaStreamImpl attached to this view; lazily initialized. | 1219 // MediaStreamImpl attached to this view; lazily initialized. |
| 1215 scoped_refptr<MediaStreamImpl> media_stream_impl_; | 1220 scoped_refptr<MediaStreamImpl> media_stream_impl_; |
| 1216 | 1221 |
| 1217 // Dispatches all P2P socket used by the renderer. | 1222 // Dispatches all P2P socket used by the renderer. |
| 1218 content::P2PSocketDispatcher* p2p_socket_dispatcher_; | 1223 content::P2PSocketDispatcher* p2p_socket_dispatcher_; |
| 1219 | 1224 |
| 1220 DevToolsAgent* devtools_agent_; | 1225 DevToolsAgent* devtools_agent_; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1317 // bunch of stuff, you should probably create a helper class and put your | 1322 // bunch of stuff, you should probably create a helper class and put your |
| 1318 // data and methods on that to avoid bloating RenderView more. You can | 1323 // data and methods on that to avoid bloating RenderView more. You can |
| 1319 // use the Observer interface to filter IPC messages and receive frame change | 1324 // use the Observer interface to filter IPC messages and receive frame change |
| 1320 // notifications. | 1325 // notifications. |
| 1321 // --------------------------------------------------------------------------- | 1326 // --------------------------------------------------------------------------- |
| 1322 | 1327 |
| 1323 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1328 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1324 }; | 1329 }; |
| 1325 | 1330 |
| 1326 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1331 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |