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

Unified Diff: content/browser/frame_host/render_widget_host_view_guest.h

Issue 554733003: Browser Plugin: Move input to RWHVGuest to support interstitial pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_to_guest_rect
Patch Set: Moved to OnMessageReceivedFromEmbedder Created 6 years, 3 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/browser/frame_host/render_widget_host_view_guest.h
diff --git a/content/browser/frame_host/render_widget_host_view_guest.h b/content/browser/frame_host/render_widget_host_view_guest.h
index bc3469dc1777717df9da40d633bdd4277aef1a44..838138dad0dc7ff4babbc0291c7991308b39b967 100644
--- a/content/browser/frame_host/render_widget_host_view_guest.h
+++ b/content/browser/frame_host/render_widget_host_view_guest.h
@@ -46,6 +46,8 @@ class CONTENT_EXPORT RenderWidgetHostViewGuest
RenderWidgetHostViewBase* platform_view);
virtual ~RenderWidgetHostViewGuest();
+ bool OnMessageReceivedFromEmbedder(const IPC::Message& message);
+
// RenderWidgetHostView implementation.
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE;
@@ -163,6 +165,10 @@ class CONTENT_EXPORT RenderWidgetHostViewGuest
RenderWidgetHostViewBase* GetGuestRenderWidgetHostView() const;
+ void OnHandleInputEvent(int instance_id,
+ const gfx::Rect& guest_window_rect,
lazyboy 2014/09/08 20:30:49 nit: indent.
Fady Samuel 2014/09/08 20:46:23 Done.
+ const blink::WebInputEvent* event);
+
// BrowserPluginGuest and RenderWidgetHostViewGuest's lifetimes are not tied
// to one another, therefore we access |guest_| through WeakPtr.
base::WeakPtr<BrowserPluginGuest> guest_;

Powered by Google App Engine
This is Rietveld 408576698