| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 class InputTagSpeechDispatcher; | 81 class InputTagSpeechDispatcher; |
| 82 struct ViewMsg_Navigate_Params; | 82 struct ViewMsg_Navigate_Params; |
| 83 struct ViewMsg_StopFinding_Params; | 83 struct ViewMsg_StopFinding_Params; |
| 84 struct ViewMsg_SwapOut_Params; | 84 struct ViewMsg_SwapOut_Params; |
| 85 struct WebDropData; | 85 struct WebDropData; |
| 86 class WebIntentsHost; | 86 class WebIntentsHost; |
| 87 class WebPluginDelegateProxy; | 87 class WebPluginDelegateProxy; |
| 88 class WebUIBindings; | 88 class WebUIBindings; |
| 89 | 89 |
| 90 namespace content { | 90 namespace content { |
| 91 class BatteryStatusDispatcher; |
| 91 class DocumentState; | 92 class DocumentState; |
| 92 class NavigationState; | 93 class NavigationState; |
| 93 class P2PSocketDispatcher; | 94 class P2PSocketDispatcher; |
| 94 class RenderViewObserver; | 95 class RenderViewObserver; |
| 95 class RenderViewTest; | 96 class RenderViewTest; |
| 96 struct CustomContextMenuContext; | 97 struct CustomContextMenuContext; |
| 97 struct FileChooserParams; | 98 struct FileChooserParams; |
| 98 struct SelectedFileInfo; | 99 struct SelectedFileInfo; |
| 99 } // namespace content | 100 } // namespace content |
| 100 | 101 |
| (...skipping 317 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 content::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 |