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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 DeviceOrientationDispatcher; | 62 class DeviceOrientationDispatcher; |
63 class DevToolsAgent; | 63 class DevToolsAgent; |
64 class DomAutomationController; | 64 class DomAutomationController; |
65 class ExternalPopupMenu; | 65 class ExternalPopupMenu; |
66 class GeolocationDispatcher; | 66 class GeolocationDispatcher; |
| 67 class GuestRenderViewObserver; |
67 class GURL; | 68 class GURL; |
68 class JavaBridgeDispatcher; | 69 class JavaBridgeDispatcher; |
69 class LoadProgressTracker; | 70 class LoadProgressTracker; |
70 class MediaStreamDispatcher; | 71 class MediaStreamDispatcher; |
71 class MediaStreamImpl; | 72 class MediaStreamImpl; |
72 class MouseLockDispatcher; | 73 class MouseLockDispatcher; |
73 class NotificationProvider; | 74 class NotificationProvider; |
74 class PepperDeviceTest; | 75 class PepperDeviceTest; |
75 struct PP_NetAddress_Private; | 76 struct PP_NetAddress_Private; |
76 class RenderWidgetFullscreenPepper; | 77 class RenderWidgetFullscreenPepper; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 class ImageResourceFetcher; | 112 class ImageResourceFetcher; |
112 class ResourceFetcher; | 113 class ResourceFetcher; |
113 } | 114 } |
114 | 115 |
115 namespace WebKit { | 116 namespace WebKit { |
116 class WebApplicationCacheHost; | 117 class WebApplicationCacheHost; |
117 class WebApplicationCacheHostClient; | 118 class WebApplicationCacheHostClient; |
118 class WebDataSource; | 119 class WebDataSource; |
119 class WebDragData; | 120 class WebDragData; |
120 class WebGeolocationClient; | 121 class WebGeolocationClient; |
| 122 class WebGraphicsContext3D; |
121 class WebIconURL; | 123 class WebIconURL; |
122 class WebImage; | 124 class WebImage; |
123 class WebMediaPlayer; | 125 class WebMediaPlayer; |
124 class WebMediaPlayerClient; | 126 class WebMediaPlayerClient; |
125 class WebMouseEvent; | 127 class WebMouseEvent; |
126 class WebPeerConnectionHandler; | 128 class WebPeerConnectionHandler; |
127 class WebPeerConnectionHandlerClient; | 129 class WebPeerConnectionHandlerClient; |
128 class WebSpeechInputController; | 130 class WebSpeechInputController; |
129 class WebSpeechInputListener; | 131 class WebSpeechInputListener; |
130 class WebStorageNamespace; | 132 class WebStorageNamespace; |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 virtual bool Send(IPC::Message* message) OVERRIDE; | 589 virtual bool Send(IPC::Message* message) OVERRIDE; |
588 virtual int GetRoutingID() const OVERRIDE; | 590 virtual int GetRoutingID() const OVERRIDE; |
589 virtual int GetPageId() OVERRIDE; | 591 virtual int GetPageId() OVERRIDE; |
590 virtual gfx::Size GetSize() OVERRIDE; | 592 virtual gfx::Size GetSize() OVERRIDE; |
591 virtual gfx::NativeViewId GetHostWindow() OVERRIDE; | 593 virtual gfx::NativeViewId GetHostWindow() OVERRIDE; |
592 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; | 594 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; |
593 virtual WebKit::WebView* GetWebView() OVERRIDE; | 595 virtual WebKit::WebView* GetWebView() OVERRIDE; |
594 virtual WebKit::WebNode GetFocusedNode() const OVERRIDE; | 596 virtual WebKit::WebNode GetFocusedNode() const OVERRIDE; |
595 virtual WebKit::WebNode GetContextMenuNode() const OVERRIDE; | 597 virtual WebKit::WebNode GetContextMenuNode() const OVERRIDE; |
596 virtual bool IsEditableNode(const WebKit::WebNode& node) OVERRIDE; | 598 virtual bool IsEditableNode(const WebKit::WebNode& node) OVERRIDE; |
| 599 virtual WebKit::WebPlugin* CreateBrowserPlugin( |
| 600 base::ProcessHandle process_handle, |
| 601 const IPC::ChannelHandle& channel_handle, |
| 602 const WebKit::WebPluginParams& params) OVERRIDE; |
597 virtual WebKit::WebPlugin* CreatePlugin( | 603 virtual WebKit::WebPlugin* CreatePlugin( |
598 WebKit::WebFrame* frame, | 604 WebKit::WebFrame* frame, |
599 const webkit::WebPluginInfo& info, | 605 const webkit::WebPluginInfo& info, |
600 const WebKit::WebPluginParams& params) OVERRIDE; | 606 const WebKit::WebPluginParams& params) OVERRIDE; |
601 virtual void EvaluateScript(const string16& frame_xpath, | 607 virtual void EvaluateScript(const string16& frame_xpath, |
602 const string16& jscript, | 608 const string16& jscript, |
603 int id, | 609 int id, |
604 bool notify_result) OVERRIDE; | 610 bool notify_result) OVERRIDE; |
605 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE; | 611 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE; |
606 virtual int GetEnabledBindings() OVERRIDE; | 612 virtual int GetEnabledBindings() OVERRIDE; |
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1176 | 1182 |
1177 // Holds a reference to the service which provides desktop notifications. | 1183 // Holds a reference to the service which provides desktop notifications. |
1178 NotificationProvider* notification_provider_; | 1184 NotificationProvider* notification_provider_; |
1179 | 1185 |
1180 // The geolocation dispatcher attached to this view, lazily initialized. | 1186 // The geolocation dispatcher attached to this view, lazily initialized. |
1181 GeolocationDispatcher* geolocation_dispatcher_; | 1187 GeolocationDispatcher* geolocation_dispatcher_; |
1182 | 1188 |
1183 // The intents host attached to this view. Not lazily initialized. | 1189 // The intents host attached to this view. Not lazily initialized. |
1184 WebIntentsHost* intents_host_; | 1190 WebIntentsHost* intents_host_; |
1185 | 1191 |
| 1192 // The guest observer attached to this view. |
| 1193 GuestRenderViewObserver* guest_observer_; |
| 1194 |
1186 // The speech dispatcher attached to this view, lazily initialized. | 1195 // The speech dispatcher attached to this view, lazily initialized. |
1187 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; | 1196 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; |
1188 | 1197 |
1189 // Device orientation dispatcher attached to this view; lazily initialized. | 1198 // Device orientation dispatcher attached to this view; lazily initialized. |
1190 DeviceOrientationDispatcher* device_orientation_dispatcher_; | 1199 DeviceOrientationDispatcher* device_orientation_dispatcher_; |
1191 | 1200 |
1192 // MediaStream dispatcher attached to this view; lazily initialized. | 1201 // MediaStream dispatcher attached to this view; lazily initialized. |
1193 MediaStreamDispatcher* media_stream_dispatcher_; | 1202 MediaStreamDispatcher* media_stream_dispatcher_; |
1194 | 1203 |
1195 // MediaStreamImpl attached to this view; lazily initialized. | 1204 // MediaStreamImpl attached to this view; lazily initialized. |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1295 // bunch of stuff, you should probably create a helper class and put your | 1304 // bunch of stuff, you should probably create a helper class and put your |
1296 // data and methods on that to avoid bloating RenderView more. You can | 1305 // data and methods on that to avoid bloating RenderView more. You can |
1297 // use the Observer interface to filter IPC messages and receive frame change | 1306 // use the Observer interface to filter IPC messages and receive frame change |
1298 // notifications. | 1307 // notifications. |
1299 // --------------------------------------------------------------------------- | 1308 // --------------------------------------------------------------------------- |
1300 | 1309 |
1301 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1310 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1302 }; | 1311 }; |
1303 | 1312 |
1304 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1313 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |