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

Unified Diff: content/public/browser/android/content_view_core.h

Issue 15920002: Fix WebView compositor input handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make InputEventAckState public Created 7 years, 7 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/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,

Powered by Google App Engine
This is Rietveld 408576698