Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 9968097: Browser Plugin: Renderer-side changes (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed unnecessary include and forward declaration. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 CommandLine; 62 class CommandLine;
63 class DeviceOrientationDispatcher; 63 class DeviceOrientationDispatcher;
64 class DevToolsAgent; 64 class DevToolsAgent;
65 class DomAutomationController; 65 class DomAutomationController;
66 class ExternalPopupMenu; 66 class ExternalPopupMenu;
67 class GeolocationDispatcher; 67 class GeolocationDispatcher;
68 class GuestRenderViewObserver;
68 class GURL; 69 class GURL;
69 class JavaBridgeDispatcher; 70 class JavaBridgeDispatcher;
70 class LoadProgressTracker; 71 class LoadProgressTracker;
71 class MediaStreamDispatcher; 72 class MediaStreamDispatcher;
72 class MediaStreamImpl; 73 class MediaStreamImpl;
73 class MouseLockDispatcher; 74 class MouseLockDispatcher;
74 class NotificationProvider; 75 class NotificationProvider;
75 class PepperDeviceTest; 76 class PepperDeviceTest;
76 struct PP_NetAddress_Private; 77 struct PP_NetAddress_Private;
77 class RenderWidgetFullscreenPepper; 78 class RenderWidgetFullscreenPepper;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 CONTENT_EXPORT WebKit::WebView* webview() const; 201 CONTENT_EXPORT WebKit::WebView* webview() const;
201 202
202 // WebGraphicsContext3DSwapBuffersClient implementation. 203 // WebGraphicsContext3DSwapBuffersClient implementation.
203 204
204 // Called by a GraphicsContext associated with this view when swapbuffers 205 // Called by a GraphicsContext associated with this view when swapbuffers
205 // is posted, completes or is aborted. 206 // is posted, completes or is aborted.
206 virtual void OnViewContextSwapBuffersPosted() OVERRIDE; 207 virtual void OnViewContextSwapBuffersPosted() OVERRIDE;
207 virtual void OnViewContextSwapBuffersComplete() OVERRIDE; 208 virtual void OnViewContextSwapBuffersComplete() OVERRIDE;
208 virtual void OnViewContextSwapBuffersAborted() OVERRIDE; 209 virtual void OnViewContextSwapBuffersAborted() OVERRIDE;
209 210
211 // Called by the associated GuestRenderViewObserver when a
212 // guest-to-host channel has been established.
213 void OnGuestReady();
214
210 int history_list_offset() const { return history_list_offset_; } 215 int history_list_offset() const { return history_list_offset_; }
211 216
212 const WebPreferences& webkit_preferences() const { 217 const WebPreferences& webkit_preferences() const {
213 return webkit_preferences_; 218 return webkit_preferences_;
214 } 219 }
215 220
216 void set_send_content_state_immediately(bool value) { 221 void set_send_content_state_immediately(bool value) {
217 send_content_state_immediately_ = value; 222 send_content_state_immediately_ = value;
218 } 223 }
219 224
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 virtual bool Send(IPC::Message* message) OVERRIDE; 601 virtual bool Send(IPC::Message* message) OVERRIDE;
597 virtual int GetRoutingID() const OVERRIDE; 602 virtual int GetRoutingID() const OVERRIDE;
598 virtual int GetPageId() const OVERRIDE; 603 virtual int GetPageId() const OVERRIDE;
599 virtual gfx::Size GetSize() const OVERRIDE; 604 virtual gfx::Size GetSize() const OVERRIDE;
600 virtual gfx::NativeViewId GetHostWindow() const OVERRIDE; 605 virtual gfx::NativeViewId GetHostWindow() const OVERRIDE;
601 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; 606 virtual WebPreferences& GetWebkitPreferences() OVERRIDE;
602 virtual WebKit::WebView* GetWebView() OVERRIDE; 607 virtual WebKit::WebView* GetWebView() OVERRIDE;
603 virtual WebKit::WebNode GetFocusedNode() const OVERRIDE; 608 virtual WebKit::WebNode GetFocusedNode() const OVERRIDE;
604 virtual WebKit::WebNode GetContextMenuNode() const OVERRIDE; 609 virtual WebKit::WebNode GetContextMenuNode() const OVERRIDE;
605 virtual bool IsEditableNode(const WebKit::WebNode& node) const OVERRIDE; 610 virtual bool IsEditableNode(const WebKit::WebNode& node) const OVERRIDE;
611 virtual WebKit::WebPlugin* CreateBrowserPlugin(
612 base::ProcessHandle process_handle,
613 const IPC::ChannelHandle& channel_handle,
614 const WebKit::WebPluginParams& params) OVERRIDE;
606 virtual WebKit::WebPlugin* CreatePlugin( 615 virtual WebKit::WebPlugin* CreatePlugin(
607 WebKit::WebFrame* frame, 616 WebKit::WebFrame* frame,
608 const webkit::WebPluginInfo& info, 617 const webkit::WebPluginInfo& info,
609 const WebKit::WebPluginParams& params) OVERRIDE; 618 const WebKit::WebPluginParams& params) OVERRIDE;
610 virtual void EvaluateScript(const string16& frame_xpath, 619 virtual void EvaluateScript(const string16& frame_xpath,
611 const string16& jscript, 620 const string16& jscript,
612 int id, 621 int id,
613 bool notify_result) OVERRIDE; 622 bool notify_result) OVERRIDE;
614 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE; 623 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE;
615 virtual int GetEnabledBindings() const OVERRIDE; 624 virtual int GetEnabledBindings() const OVERRIDE;
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 1204
1196 // Holds a reference to the service which provides desktop notifications. 1205 // Holds a reference to the service which provides desktop notifications.
1197 NotificationProvider* notification_provider_; 1206 NotificationProvider* notification_provider_;
1198 1207
1199 // The geolocation dispatcher attached to this view, lazily initialized. 1208 // The geolocation dispatcher attached to this view, lazily initialized.
1200 GeolocationDispatcher* geolocation_dispatcher_; 1209 GeolocationDispatcher* geolocation_dispatcher_;
1201 1210
1202 // The intents host attached to this view. Not lazily initialized. 1211 // The intents host attached to this view. Not lazily initialized.
1203 WebIntentsHost* intents_host_; 1212 WebIntentsHost* intents_host_;
1204 1213
1214 // The guest observer attached to this view.
1215 GuestRenderViewObserver* guest_observer_;
jam 2012/04/06 21:05:23 nit: i'd put this beside guest_ below
Fady Samuel 2012/04/06 22:46:32 Done.
1216
1205 // The speech dispatcher attached to this view, lazily initialized. 1217 // The speech dispatcher attached to this view, lazily initialized.
1206 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; 1218 InputTagSpeechDispatcher* input_tag_speech_dispatcher_;
1207 1219
1208 // Device orientation dispatcher attached to this view; lazily initialized. 1220 // Device orientation dispatcher attached to this view; lazily initialized.
1209 DeviceOrientationDispatcher* device_orientation_dispatcher_; 1221 DeviceOrientationDispatcher* device_orientation_dispatcher_;
1210 1222
1211 // MediaStream dispatcher attached to this view; lazily initialized. 1223 // MediaStream dispatcher attached to this view; lazily initialized.
1212 MediaStreamDispatcher* media_stream_dispatcher_; 1224 MediaStreamDispatcher* media_stream_dispatcher_;
1213 1225
1214 // MediaStreamImpl attached to this view; lazily initialized. 1226 // MediaStreamImpl attached to this view; lazily initialized.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1317 // bunch of stuff, you should probably create a helper class and put your 1329 // 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 1330 // 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 1331 // use the Observer interface to filter IPC messages and receive frame change
1320 // notifications. 1332 // notifications.
1321 // --------------------------------------------------------------------------- 1333 // ---------------------------------------------------------------------------
1322 1334
1323 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1335 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1324 }; 1336 };
1325 1337
1326 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1338 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698