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

Unified Diff: components/test_runner/text_input_controller.cc

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: 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: components/test_runner/text_input_controller.cc
diff --git a/components/test_runner/text_input_controller.cc b/components/test_runner/text_input_controller.cc
index c2241267b8bef72a4d07a80203a24516772ecfdc..17b881728e6ca66fc6391d31f39df436f2128954 100644
--- a/components/test_runner/text_input_controller.cc
+++ b/components/test_runner/text_input_controller.cc
@@ -281,7 +281,8 @@ void TextInputController::SetComposition(const std::string& text) {
key_down.type = blink::WebInputEvent::RawKeyDown;
key_down.modifiers = 0;
key_down.windowsKeyCode = 0xE5; // VKEY_PROCESSKEY
- view()->handleInputEvent(key_down);
+ view()->handleInputEvent(key_down,
+ std::vector<const blink::WebInputEvent*>());
// The value returned by std::string::length() may not correspond to the
// actual number of encoded characters in sequences of multi-byte or

Powered by Google App Engine
This is Rietveld 408576698