Index: content/public/browser/android/content_view_core.h |
diff --git a/content/public/browser/android/content_view_core.h b/content/public/browser/android/content_view_core.h |
index 1797a04cd12909d012213892a3af8394b54e1a00..e43153fa6fb36dc1e40aee8ebd6baa40a3f251c3 100644 |
--- a/content/public/browser/android/content_view_core.h |
+++ b/content/public/browser/android/content_view_core.h |
@@ -11,6 +11,7 @@ |
#include "base/callback.h" |
#include "content/common/content_export.h" |
#include "content/public/browser/navigation_controller.h" |
+#include "content/public/common/input_event_ack_state.h" |
namespace cc { |
class Layer; |
@@ -28,6 +29,10 @@ class ViewAndroid; |
class WindowAndroid; |
} |
+namespace WebKit { |
+class WebInputEvent; |
+} |
+ |
namespace content { |
class WebContents; |
@@ -55,6 +60,12 @@ class CONTENT_EXPORT ContentViewCore { |
virtual void RequestContentClipping(const gfx::Rect& clipping, |
const gfx::Size& content_size) = 0; |
+ typedef base::Callback<InputEventAckState( |
+ int routing_id, |
+ const WebKit::WebInputEvent& input_event)> InputEventFilterCallback; |
+ virtual void SetInputEventFilterCallback( |
+ const InputEventFilterCallback& callback) = 0; |
+ |
// Observer callback for frame metadata updates. |
typedef base::Callback<void( |
const gfx::SizeF& content_size, |