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

Issue 6035010: chromeos: Add metrics for various accelerators. (Closed)

Created:
9 years, 12 months ago by Daniel Erat
Modified:
9 years, 7 months ago
Reviewers:
Jay Civelli
CC:
chromium-reviews, davemoore+watch_chromium.org
Visibility:
Public.

Description

chromeos: Add metrics for various accelerators. This adds reporting of the accelerators used to invoke various actions (e.g. Back can be invoked by Alt-Left, Backspace, or F1 on Chrome OS). These stats will be used as input for future keyboard designs. Also removed the F5 "System options" accelerator, which is a no-op -- Chrome never sees this key since the window manager grabs it. BUG=chromium-os:10403 TEST=replaced the metrics calls with logging statements and checked that they were executed when expected Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70572

Patch Set 1 #

Patch Set 2 : add missing 'break' in default case #

Patch Set 3 : ignore blocked commands #

Patch Set 4 : log reserved commands too #

Patch Set 5 : record metrics for a few more keys #

Patch Set 6 : merge #

Patch Set 7 : fix bad merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -6 lines) Patch
M chrome/browser/chromeos/system_key_event_listener.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/accelerator_table_gtk.cc View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 4 chunks +69 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Daniel Erat
Please let me know if there's a better spot for me to put this.
9 years, 11 months ago (2011-01-05 00:07:18 UTC) #1
Daniel Erat
9 years, 11 months ago (2011-01-05 00:08:15 UTC) #2
Jay Civelli
9 years, 11 months ago (2011-01-05 22:54:47 UTC) #3
LGTM

Powered by Google App Engine
This is Rietveld 408576698