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

Unified Diff: content/browser/renderer_host/render_widget_host_unittest.cc

Issue 2756893002: Add Keyboard Latency UMA Metrics. (Closed)
Patch Set: Restrict to RawKeyDown and Char events on Android & Mac Created 3 years, 7 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/render_widget_host_unittest.cc
diff --git a/content/browser/renderer_host/render_widget_host_unittest.cc b/content/browser/renderer_host/render_widget_host_unittest.cc
index 2b146c051b536542cd04b89f2bd00dfae6ac43f9..abb3964d48e4f20fa81adb4097438e0114258c5b 100644
--- a/content/browser/renderer_host/render_widget_host_unittest.cc
+++ b/content/browser/renderer_host/render_widget_host_unittest.cc
@@ -638,7 +638,8 @@ class RenderWidgetHostTest : public testing::Test {
GetNextSimulatedEventTimeSeconds());
EditCommands commands;
commands.emplace_back("name", "value");
- host_->ForwardKeyboardEventWithCommands(native_event, &commands, nullptr);
+ host_->ForwardKeyboardEventWithCommands(native_event, ui::LatencyInfo(),
+ &commands, nullptr);
}
void SimulateMouseEvent(WebInputEvent::Type type) {

Powered by Google App Engine
This is Rietveld 408576698