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

Unified Diff: content/public/test/browser_test_utils.h

Issue 2387353004: Delay Input.dispatchKeyEvent response until after key event ack. (Closed)
Patch Set: remove |is_synthetic|, fixed bug for mouse acks, add test for mouse events 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/public/test/browser_test_utils.h
diff --git a/content/public/test/browser_test_utils.h b/content/public/test/browser_test_utils.h
index 9f04c0660c33aa58c14c9cf06eff1b445f84c1f6..51056018959d1f3fc83ade015839e1b4274dd75a 100644
--- a/content/public/test/browser_test_utils.h
+++ b/content/public/test/browser_test_utils.h
@@ -551,6 +551,8 @@ class InputMsgWatcher : public BrowserMessageFilter {
InputMsgWatcher(RenderWidgetHost* render_widget_host,
blink::WebInputEvent::Type type);
+ bool HasReceivedAck();
dtapuska 2016/11/21 14:49:45 should be const
samuong 2016/11/21 18:05:34 Done.
+
// Wait until ack message occurs, returning the ack result from
// the message.
uint32_t WaitForAck();

Powered by Google App Engine
This is Rietveld 408576698