Skip to content

Commit

Permalink
[Ozone] Fixes the "browser back" key on external keyboards
Browse files Browse the repository at this point in the history
Fixes the DomCode -> KeyboardCode conversion for DomCode::BROWSER_BACK.

BUG=449741
TEST=Manual, see bug

Review URL: https://codereview.chromium.org/855183002

Cr-Commit-Position: refs/heads/master@{#312023}
  • Loading branch information
pkotwicz authored and Commit bot committed Jan 17, 2015
1 parent e3bca06 commit 2c6c89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/events/ozone/layout/layout_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ KeyboardCode NonPrintableDomKeyToKeyboardCode(DomKey dom_key) {
// Browser Keys
// http://www.w3.org/TR/DOM-Level-3-Events-key/#keys-browser
case DomKey::BROWSER_BACK:
return VKEY_BACK;
return VKEY_BROWSER_BACK;
case DomKey::BROWSER_FAVORITES:
return VKEY_BROWSER_FAVORITES;
case DomKey::BROWSER_FORWARD:
Expand Down

0 comments on commit 2c6c89c

Please sign in to comment.