Index: content/browser/renderer_host/input/input_router_impl.h |
diff --git a/content/browser/renderer_host/input/input_router_impl.h b/content/browser/renderer_host/input/input_router_impl.h |
index 338bc1e06168e680c3fecd60b04360ca4005e603..3109d041a929d779e2c0d91bc69e80fc7df86eb3 100644 |
--- a/content/browser/renderer_host/input/input_router_impl.h |
+++ b/content/browser/renderer_host/input/input_router_impl.h |
@@ -10,6 +10,7 @@ |
#include <memory> |
#include <queue> |
+#include "base/gtest_prod_util.h" |
#include "base/macros.h" |
#include "base/time/time.h" |
#include "content/browser/renderer_host/input/gesture_event_queue.h" |
@@ -81,6 +82,8 @@ class CONTENT_EXPORT InputRouterImpl |
private: |
friend class InputRouterImplTest; |
+ FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, |
+ SubframeTouchEventRouting); |
// TouchpadTapSuppressionControllerClient |
void SendMouseEventImmediately( |
@@ -198,6 +201,10 @@ class CONTENT_EXPORT InputRouterImpl |
int routing_id() const { return routing_id_; } |
+ TouchAction allowed_touch_action() { |
Charlie Reis
2017/01/13 21:37:17
This isn't needed in production code, right? Mayb
wjmaclean
2017/01/13 21:59:22
Done.
|
+ return touch_action_filter_.allowed_touch_action(); |
+ } |
+ |
IPC::Sender* sender_; |
InputRouterClient* client_; |
InputAckHandler* ack_handler_; |