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

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

Issue 2756893002: Add Keyboard Latency UMA Metrics. (Closed)
Patch Set: Fix nit. 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3a55d8b92076a732c1193d9e8ad2da61bea40acb 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,
dmazzoni 2017/05/12 19:00:45 FYI, you may want to skip tracking latency info fo
tdresser 2017/05/12 19:09:52 Done, thanks.
+ *key_event.latency());
}
} // namespace chromeos
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698