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

Unified Diff: content/public/browser/render_widget_host.h

Issue 23416003: Add content::RenderWidgetHost::MouseEventCallback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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/public/browser/render_widget_host.h
diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h
index ca727b78c68ad675d869c117f1b687c0468a1c4e..6b15b8a8a9bb04bcc62c0ee9d8129c531f7a5b4d 100644
--- a/content/public/browser/render_widget_host.h
+++ b/content/public/browser/render_widget_host.h
@@ -34,6 +34,7 @@ struct WebScreenInfo;
namespace content {
+class MouseListener;
class RenderProcessHost;
class RenderWidgetHostImpl;
class RenderWidgetHostView;
@@ -296,6 +297,12 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender {
// Remove a keyboard listener.
virtual void RemoveKeyboardListener(KeyboardListener* listener) = 0;
+ // Add a mouse listener that can handle all kinds of mouse events.
+ virtual void AddMouseListener(MouseListener* listener) = 0;
+
+ // Remove a mouse listener.
+ virtual void RemoveMouseListener(MouseListener* listener) = 0;
+
// Get the screen info corresponding to this render widget.
virtual void GetWebScreenInfo(WebKit::WebScreenInfo* result) = 0;
« content/public/browser/mouse_listener.h ('K') | « content/public/browser/mouse_listener.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698