Record when a user presses Enter on a web page.

This change adds a feature that allows the Action Recorder Extension to
detect when a user presses the Enter key on a page, and records this
action. Pressing the Enter key is a common action that a user invokes to
submit a form.

Bug: 855284
Change-Id: Ia0ec4ab99683266f09a422a4f7ae24fe52eb0b0b
Reviewed-on: https://chromium-review.googlesource.com/1135523
Reviewed-by: Mathieu Perreault <mathp@chromium.org>
Reviewed-by: Jared Saul <jsaul@google.com>
Commit-Queue: Mathieu Perreault <mathp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#574702}
2 files changed