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

Unified 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 side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698