summaryrefslogtreecommitdiffstats
path: root/content/public/renderer
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 00:51:33 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 00:51:33 +0000
commit06e0258c243a0a9ab076d480020fa62af29885bc (patch)
tree4f5f104e43f5c36dfb0a6295434dfde6eba0583a /content/public/renderer
parent2805ea2f10ce0a135e8f6e6090c98059ee62dd85 (diff)
downloadchromium_src-06e0258c243a0a9ab076d480020fa62af29885bc.zip
chromium_src-06e0258c243a0a9ab076d480020fa62af29885bc.tar.gz
chromium_src-06e0258c243a0a9ab076d480020fa62af29885bc.tar.bz2
Forward Webkit Gesture events to interested RenderViewObservers.
The ChromeRenderViewObserver overrides the RenderViewObserver::DidHandleGestureEvent virtual and forwards the ChromeViewHostMsg_FocusedEditableNodeTouched IPC notification to the brower if the user tapped on an editable field on the page. We will be handling this notification in the browser to display the Windows 8 on screen keyboard. That in a subsequent CL. BUG=166516 R=jam Review URL: https://codereview.chromium.org/11622009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173601 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/renderer')
-rw-r--r--content/public/renderer/render_view_observer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/public/renderer/render_view_observer.h b/content/public/renderer/render_view_observer.h
index b1addd9..48faa78 100644
--- a/content/public/renderer/render_view_observer.h
+++ b/content/public/renderer/render_view_observer.h
@@ -22,6 +22,7 @@ namespace WebKit {
class WebDataSource;
class WebFrame;
class WebFormElement;
+class WebGestureEvent;
class WebMediaPlayerClient;
class WebMouseEvent;
class WebNode;
@@ -88,6 +89,7 @@ class CONTENT_EXPORT RenderViewObserver : public IPC::Listener,
// These match the RenderView methods.
virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {}
virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {}
+ virtual void DidHandleGestureEvent(const WebKit::WebGestureEvent& event) {}
virtual void DidCreatePepperPlugin(RendererPpapiHost* host) {}
// These match incoming IPCs.