| 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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 virtual int historyForwardListCount(); | 419 virtual int historyForwardListCount(); |
| 419 virtual void postAccessibilityNotification( | 420 virtual void postAccessibilityNotification( |
| 420 const WebKit::WebAccessibilityObject& obj, | 421 const WebKit::WebAccessibilityObject& obj, |
| 421 WebKit::WebAccessibilityNotification notification); | 422 WebKit::WebAccessibilityNotification notification); |
| 422 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, | 423 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, |
| 423 const WebKit::WebString& value); | 424 const WebKit::WebString& value); |
| 424 virtual WebKit::WebGeolocationClient* geolocationClient(); | 425 virtual WebKit::WebGeolocationClient* geolocationClient(); |
| 425 virtual WebKit::WebSpeechInputController* speechInputController( | 426 virtual WebKit::WebSpeechInputController* speechInputController( |
| 426 WebKit::WebSpeechInputListener* listener); | 427 WebKit::WebSpeechInputListener* listener); |
| 427 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); | 428 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); |
| 429 virtual WebKit::WebBatteryStatusClient* batteryStatusClient(); |
| 428 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); | 430 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
| 429 virtual void zoomLevelChanged(); | 431 virtual void zoomLevelChanged(); |
| 430 virtual void registerProtocolHandler(const WebKit::WebString& scheme, | 432 virtual void registerProtocolHandler(const WebKit::WebString& scheme, |
| 431 const WebKit::WebString& base_url, | 433 const WebKit::WebString& base_url, |
| 432 const WebKit::WebString& url, | 434 const WebKit::WebString& url, |
| 433 const WebKit::WebString& title); | 435 const WebKit::WebString& title); |
| 434 virtual WebKit::WebPageVisibilityState visibilityState() const; | 436 virtual WebKit::WebPageVisibilityState visibilityState() const; |
| 435 virtual WebKit::WebUserMediaClient* userMediaClient(); | 437 virtual WebKit::WebUserMediaClient* userMediaClient(); |
| 436 | 438 |
| 437 // WebKit::WebFrameClient implementation ------------------------------------- | 439 // WebKit::WebFrameClient implementation ------------------------------------- |
| (...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1205 | 1207 |
| 1206 // The intents host attached to this view. Not lazily initialized. | 1208 // The intents host attached to this view. Not lazily initialized. |
| 1207 WebIntentsHost* intents_host_; | 1209 WebIntentsHost* intents_host_; |
| 1208 | 1210 |
| 1209 // The speech dispatcher attached to this view, lazily initialized. | 1211 // The speech dispatcher attached to this view, lazily initialized. |
| 1210 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; | 1212 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; |
| 1211 | 1213 |
| 1212 // Device orientation dispatcher attached to this view; lazily initialized. | 1214 // Device orientation dispatcher attached to this view; lazily initialized. |
| 1213 DeviceOrientationDispatcher* device_orientation_dispatcher_; | 1215 DeviceOrientationDispatcher* device_orientation_dispatcher_; |
| 1214 | 1216 |
| 1217 // Battery status dispatcher attached to this view; lazily initialized. |
| 1218 BatteryStatusDispatcher* battery_status_dispatcher_; |
| 1219 |
| 1215 // MediaStream dispatcher attached to this view; lazily initialized. | 1220 // MediaStream dispatcher attached to this view; lazily initialized. |
| 1216 MediaStreamDispatcher* media_stream_dispatcher_; | 1221 MediaStreamDispatcher* media_stream_dispatcher_; |
| 1217 | 1222 |
| 1218 // MediaStreamImpl attached to this view; lazily initialized. | 1223 // MediaStreamImpl attached to this view; lazily initialized. |
| 1219 scoped_refptr<MediaStreamImpl> media_stream_impl_; | 1224 scoped_refptr<MediaStreamImpl> media_stream_impl_; |
| 1220 | 1225 |
| 1221 // Dispatches all P2P socket used by the renderer. | 1226 // Dispatches all P2P socket used by the renderer. |
| 1222 content::P2PSocketDispatcher* p2p_socket_dispatcher_; | 1227 content::P2PSocketDispatcher* p2p_socket_dispatcher_; |
| 1223 | 1228 |
| 1224 DevToolsAgent* devtools_agent_; | 1229 DevToolsAgent* devtools_agent_; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1321 // bunch of stuff, you should probably create a helper class and put your | 1326 // bunch of stuff, you should probably create a helper class and put your |
| 1322 // data and methods on that to avoid bloating RenderView more. You can | 1327 // data and methods on that to avoid bloating RenderView more. You can |
| 1323 // use the Observer interface to filter IPC messages and receive frame change | 1328 // use the Observer interface to filter IPC messages and receive frame change |
| 1324 // notifications. | 1329 // notifications. |
| 1325 // --------------------------------------------------------------------------- | 1330 // --------------------------------------------------------------------------- |
| 1326 | 1331 |
| 1327 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1332 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1328 }; | 1333 }; |
| 1329 | 1334 |
| 1330 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1335 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |