Support "Search" as a modifier specified in a chrome.commands manifest.
commit37710c542122ec597653207a464b111268095849
authordtseng@chromium.org <dtseng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 21 Aug 2014 20:36:19 +0000 (21 20:36 +0000)
committerdtseng@chromium.org <dtseng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 21 Aug 2014 20:38:34 +0000 (21 20:38 +0000)
tree81bc33ff349bd04b748289c8596a7cdd16925bef
parent67aa005e1528c84ef471d0a7028e69f61b5b7e9b
Support "Search" as a modifier specified in a chrome.commands manifest.

BUG=404766
TEST=Using a sample extension,
"commands": {
  "foo": {
    "suggested_key": {
      "chromeos": "Search+Shift+L"
...

and adding a listener to onCommand, pressing Search+Shift+L results in triggering of the callback. (on linux, this is lwindows+shift+l).

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

Cr-Commit-Position: refs/heads/master@{#291170}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291170 0039d316-1c4b-4281-b951-d872f2087c98
chrome/common/extensions/command.cc
chrome/common/extensions/command_unittest.cc
chrome/common/extensions/docs/templates/intros/commands.html
extensions/common/manifest_constants.cc
extensions/common/manifest_constants.h
ui/events/event.h
ui/views/focus/focus_manager.cc