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

Unified Diff: content/browser/renderer_host/input/input_router_impl.h

Issue 2633723002: Add OOPIF-specific test for setting TOUCH_ACTION in PointerEvents. (Closed)
Patch Set: Version without spurious whitespace additions. Created 3 years, 11 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/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_;
« no previous file with comments | « no previous file | content/browser/site_per_process_browsertest.cc » ('j') | content/browser/site_per_process_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698