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

Unified Diff: content/browser/renderer_host/input/input_router_impl_unittest.cc

Issue 1050993004: Route touchmove existence notifications to the TouchEventQueue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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_unittest.cc
diff --git a/content/browser/renderer_host/input/input_router_impl_unittest.cc b/content/browser/renderer_host/input/input_router_impl_unittest.cc
index 034eb5ba27b2b3331739dd2c0ff9348903f5fa92..2de2ffb7221de760637a578c95bf0bfc4c88b581 100644
--- a/content/browser/renderer_host/input/input_router_impl_unittest.cc
+++ b/content/browser/renderer_host/input/input_router_impl_unittest.cc
@@ -22,7 +22,6 @@
#include "content/common/input/touch_action.h"
#include "content/common/input/web_input_event_traits.h"
#include "content/common/input_messages.h"
-#include "content/common/view_messages.h"
#include "content/public/common/content_switches.h"
#include "content/public/test/mock_render_process_host.h"
#include "content/public/test/test_browser_context.h"
@@ -316,7 +315,7 @@ class InputRouterImplTest : public testing::Test {
void OnHasTouchEventHandlers(bool has_handlers) {
input_router_->OnMessageReceived(
- ViewHostMsg_HasTouchEventHandlers(0, has_handlers));
+ InputHostMsg_HasTouchEventHandlers(0, has_handlers));
}
void OnSetTouchAction(content::TouchAction touch_action) {
@@ -859,7 +858,7 @@ TEST_F(InputRouterImplTest, TouchEventQueueFlush) {
// Tests that the acked events have correct state. (ui::Events are used only on
// windows and aura)
TEST_F(InputRouterImplTest, AckedTouchEventState) {
- input_router_->OnMessageReceived(ViewHostMsg_HasTouchEventHandlers(0, true));
+ input_router_->OnMessageReceived(InputHostMsg_HasTouchEventHandlers(0, true));
EXPECT_EQ(0U, GetSentMessageCountAndResetSink());
EXPECT_TRUE(TouchEventQueueEmpty());

Powered by Google App Engine
This is Rietveld 408576698