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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 1412923009: Route touch-events for WebViewGuest directly to guest renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: For WebView, check to make sure surface not already added. Created 5 years, 1 month 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/renderer_host/render_widget_host_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index bf3b8e16e2d53448394a91fd0e41bcc87444f8a9..5e7606cf3289c265230b42987fc949549bdeba37 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -46,6 +46,10 @@ class WebMouseEvent;
class WebMouseWheelEvent;
}
+namespace ui {
+class LatencyInfo;
+}
+
namespace content {
class BrowserAccessibilityDelegate;
class BrowserAccessibilityManager;
@@ -192,6 +196,8 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
virtual void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) {}
virtual void ProcessMouseEvent(const blink::WebMouseEvent& event) {}
virtual void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) {}
+ virtual void ProcessTouchEvent(const blink::WebTouchEvent& event,
+ const ui::LatencyInfo& latency) {}
//----------------------------------------------------------------------------
// The following static methods are implemented by each platform.

Powered by Google App Engine
This is Rietveld 408576698