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

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

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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/main_thread_event_queue_browsertest.cc
diff --git a/content/browser/renderer_host/input/main_thread_event_queue_browsertest.cc b/content/browser/renderer_host/input/main_thread_event_queue_browsertest.cc
index 947228d53ccac1655c20c7e6c944273976e1562f..7770447f9329aef4ae0cd4f592bf4b62e5cfbeb0 100644
--- a/content/browser/renderer_host/input/main_thread_event_queue_browsertest.cc
+++ b/content/browser/renderer_host/input/main_thread_event_queue_browsertest.cc
@@ -123,6 +123,9 @@ class MainThreadEventQueueBrowserTest : public ContentBrowserTest {
// Runs until we get the InputMsgAck callback.
EXPECT_EQ(INPUT_EVENT_ACK_STATE_CONSUMED, input_msg_watcher->WaitForAck());
+ EXPECT_EQ(InputEventAckSource::MAIN_THREAD,
+ static_cast<InputEventAckSource>(
+ input_msg_watcher->last_event_ack_source()));
int mouse_move_count = 0;
while (mouse_move_count <= 0)
@@ -160,6 +163,9 @@ class MainThreadEventQueueBrowserTest : public ContentBrowserTest {
// Runs until we get the InputMsgAck callback.
EXPECT_EQ(INPUT_EVENT_ACK_STATE_SET_NON_BLOCKING,
input_msg_watcher->WaitForAck());
+ EXPECT_EQ(InputEventAckSource::COMPOSITOR_THREAD,
+ static_cast<InputEventAckSource>(
+ input_msg_watcher->last_event_ack_source()));
int touch_move_count = 0;
while (touch_move_count <= 0)

Powered by Google App Engine
This is Rietveld 408576698