Chromium Code Reviews| Index: content/renderer/render_view_impl.h |
| diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
| index c0d6b48cb99063f5754a04fbfec409e856a3a021..6f52e2cdbf0f0b67fa6a913ef24ccce3cf5717b2 100644 |
| --- a/content/renderer/render_view_impl.h |
| +++ b/content/renderer/render_view_impl.h |
| @@ -65,6 +65,7 @@ class DevToolsAgent; |
| class DomAutomationController; |
| class ExternalPopupMenu; |
| class GeolocationDispatcher; |
| +class GuestRenderViewObserver; |
| class GURL; |
| class JavaBridgeDispatcher; |
| class LoadProgressTracker; |
| @@ -207,6 +208,10 @@ class RenderViewImpl : public RenderWidget, |
| virtual void OnViewContextSwapBuffersComplete() OVERRIDE; |
| virtual void OnViewContextSwapBuffersAborted() OVERRIDE; |
| + // Called by the associated GuestRenderViewObserver when a |
| + // guest-to-host channel has been established. |
| + void OnGuestReady(); |
| + |
| int history_list_offset() const { return history_list_offset_; } |
| const WebPreferences& webkit_preferences() const { |
| @@ -603,6 +608,10 @@ class RenderViewImpl : public RenderWidget, |
| virtual WebKit::WebNode GetFocusedNode() const OVERRIDE; |
| virtual WebKit::WebNode GetContextMenuNode() const OVERRIDE; |
| virtual bool IsEditableNode(const WebKit::WebNode& node) const OVERRIDE; |
| + virtual WebKit::WebPlugin* CreateBrowserPlugin( |
| + base::ProcessHandle process_handle, |
| + const IPC::ChannelHandle& channel_handle, |
| + const WebKit::WebPluginParams& params) OVERRIDE; |
| virtual WebKit::WebPlugin* CreatePlugin( |
| WebKit::WebFrame* frame, |
| const webkit::WebPluginInfo& info, |
| @@ -1202,6 +1211,9 @@ class RenderViewImpl : public RenderWidget, |
| // The intents host attached to this view. Not lazily initialized. |
| WebIntentsHost* intents_host_; |
| + // The guest observer attached to this view. |
| + 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.
|
| + |
| // The speech dispatcher attached to this view, lazily initialized. |
| InputTagSpeechDispatcher* input_tag_speech_dispatcher_; |