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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 55 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
56 | 56 |
57 #if defined(COMPILER_MSVC) | 57 #if defined(COMPILER_MSVC) |
58 // RenderViewImpl is a diamond-shaped hierarchy, with WebWidgetClient at the | 58 // RenderViewImpl is a diamond-shaped hierarchy, with WebWidgetClient at the |
59 // root. VS warns when we inherit the WebWidgetClient method implementations | 59 // root. VS warns when we inherit the WebWidgetClient method implementations |
60 // from RenderWidget. It's safe to ignore that warning. | 60 // from RenderWidget. It's safe to ignore that warning. |
61 #pragma warning(disable: 4250) | 61 #pragma warning(disable: 4250) |
62 #endif | 62 #endif |
63 | 63 |
64 class CommandLine; | 64 class CommandLine; |
| 65 class DeviceMotionDispatcher; |
65 class DeviceOrientationDispatcher; | 66 class DeviceOrientationDispatcher; |
66 class DevToolsAgent; | 67 class DevToolsAgent; |
67 class DomAutomationController; | 68 class DomAutomationController; |
68 class ExternalPopupMenu; | 69 class ExternalPopupMenu; |
69 class GeolocationDispatcher; | 70 class GeolocationDispatcher; |
70 class GURL; | 71 class GURL; |
71 class JavaBridgeDispatcher; | 72 class JavaBridgeDispatcher; |
72 class LoadProgressTracker; | 73 class LoadProgressTracker; |
73 class MediaStreamDispatcher; | 74 class MediaStreamDispatcher; |
74 class MediaStreamImpl; | 75 class MediaStreamImpl; |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 virtual int historyForwardListCount(); | 482 virtual int historyForwardListCount(); |
482 virtual void postAccessibilityNotification( | 483 virtual void postAccessibilityNotification( |
483 const WebKit::WebAccessibilityObject& obj, | 484 const WebKit::WebAccessibilityObject& obj, |
484 WebKit::WebAccessibilityNotification notification); | 485 WebKit::WebAccessibilityNotification notification); |
485 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, | 486 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, |
486 const WebKit::WebString& value); | 487 const WebKit::WebString& value); |
487 virtual WebKit::WebGeolocationClient* geolocationClient(); | 488 virtual WebKit::WebGeolocationClient* geolocationClient(); |
488 virtual WebKit::WebSpeechInputController* speechInputController( | 489 virtual WebKit::WebSpeechInputController* speechInputController( |
489 WebKit::WebSpeechInputListener* listener); | 490 WebKit::WebSpeechInputListener* listener); |
490 virtual WebKit::WebSpeechRecognizer* speechRecognizer(); | 491 virtual WebKit::WebSpeechRecognizer* speechRecognizer(); |
| 492 virtual WebKit::WebDeviceMotionClient* deviceMotionClient(); |
491 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); | 493 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); |
492 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); | 494 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
493 virtual void zoomLevelChanged(); | 495 virtual void zoomLevelChanged(); |
494 virtual void registerProtocolHandler(const WebKit::WebString& scheme, | 496 virtual void registerProtocolHandler(const WebKit::WebString& scheme, |
495 const WebKit::WebString& base_url, | 497 const WebKit::WebString& base_url, |
496 const WebKit::WebString& url, | 498 const WebKit::WebString& url, |
497 const WebKit::WebString& title); | 499 const WebKit::WebString& title); |
498 virtual WebKit::WebPageVisibilityState visibilityState() const; | 500 virtual WebKit::WebPageVisibilityState visibilityState() const; |
499 virtual WebKit::WebUserMediaClient* userMediaClient(); | 501 virtual WebKit::WebUserMediaClient* userMediaClient(); |
500 | 502 |
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1288 // The intents host attached to this view. Not lazily initialized. | 1290 // The intents host attached to this view. Not lazily initialized. |
1289 WebIntentsHost* intents_host_; | 1291 WebIntentsHost* intents_host_; |
1290 | 1292 |
1291 // The speech dispatcher attached to this view, lazily initialized. | 1293 // The speech dispatcher attached to this view, lazily initialized. |
1292 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; | 1294 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; |
1293 | 1295 |
1294 // The speech recognition dispatcher attached to this view, lazily | 1296 // The speech recognition dispatcher attached to this view, lazily |
1295 // initialized. | 1297 // initialized. |
1296 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; | 1298 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; |
1297 | 1299 |
| 1300 // Device motion dispatcher attached to this view; lazily initialized. |
| 1301 DeviceMotionDispatcher* device_motion_dispatcher_; |
| 1302 |
1298 // Device orientation dispatcher attached to this view; lazily initialized. | 1303 // Device orientation dispatcher attached to this view; lazily initialized. |
1299 DeviceOrientationDispatcher* device_orientation_dispatcher_; | 1304 DeviceOrientationDispatcher* device_orientation_dispatcher_; |
1300 | 1305 |
1301 // MediaStream dispatcher attached to this view; lazily initialized. | 1306 // MediaStream dispatcher attached to this view; lazily initialized. |
1302 MediaStreamDispatcher* media_stream_dispatcher_; | 1307 MediaStreamDispatcher* media_stream_dispatcher_; |
1303 | 1308 |
1304 // MediaStreamImpl attached to this view; lazily initialized. | 1309 // MediaStreamImpl attached to this view; lazily initialized. |
1305 MediaStreamImpl* media_stream_impl_; | 1310 MediaStreamImpl* media_stream_impl_; |
1306 | 1311 |
1307 // Dispatches all P2P socket used by the renderer. | 1312 // Dispatches all P2P socket used by the renderer. |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1431 // bunch of stuff, you should probably create a helper class and put your | 1436 // bunch of stuff, you should probably create a helper class and put your |
1432 // data and methods on that to avoid bloating RenderView more. You can | 1437 // data and methods on that to avoid bloating RenderView more. You can |
1433 // use the Observer interface to filter IPC messages and receive frame change | 1438 // use the Observer interface to filter IPC messages and receive frame change |
1434 // notifications. | 1439 // notifications. |
1435 // --------------------------------------------------------------------------- | 1440 // --------------------------------------------------------------------------- |
1436 | 1441 |
1437 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1442 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1438 }; | 1443 }; |
1439 | 1444 |
1440 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1445 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |