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

Unified Diff: chrome/browser/chromeos/accessibility/event_handler_common.cc

Issue 2756893002: Add Keyboard Latency UMA Metrics. (Closed)
Patch Set: Fix test issue Created 3 years, 9 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: chrome/browser/chromeos/accessibility/event_handler_common.cc
diff --git a/chrome/browser/chromeos/accessibility/event_handler_common.cc b/chrome/browser/chromeos/accessibility/event_handler_common.cc
index d1da17a19bf501dfe16995569783a34281ea51a8..b348431caba48381c3c8310a10151777dea3febe 100644
--- a/chrome/browser/chromeos/accessibility/event_handler_common.cc
+++ b/chrome/browser/chromeos/accessibility/event_handler_common.cc
@@ -49,6 +49,7 @@ void ForwardKeyToExtension(const ui::KeyEvent& key_event,
}
const content::NativeWebKeyboardEvent web_event(key_event);
- rvh->GetWidget()->ForwardKeyboardEvent(web_event);
+ rvh->GetWidget()->ForwardKeyboardEventWithLatencyInfo(web_event,
+ ui::LatencyInfo());
mfomitchev 2017/04/04 14:59:05 wouldn't we want to take latency() from key_event?
tdresser 2017/05/01 15:49:21 Oops. Done.
}
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698