diff options
author | feldstein@chromium.org <feldstein@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-05 23:03:21 +0000 |
---|---|---|
committer | feldstein@chromium.org <feldstein@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-05 23:03:21 +0000 |
commit | 53574b2f511c1df87ce9a1f8fa835cb064b71542 (patch) | |
tree | 15d1ed7d11ac3e4b502f0232af88d8e2340aa6d1 | |
parent | 40f369adfff901cc3661f7543a8af08e9492fce8 (diff) | |
download | chromium_src-53574b2f511c1df87ce9a1f8fa835cb064b71542.zip chromium_src-53574b2f511c1df87ce9a1f8fa835cb064b71542.tar.gz chromium_src-53574b2f511c1df87ce9a1f8fa835cb064b71542.tar.bz2 |
Delete bookmarks with backspace on mac
Safari deletes bookmarks using the backspace key, so we should too.
BUG=39211
TEST=Highlight a bookmark and press the backspace key, the delete key, or
meta+backspace. All should delete the bookmark.
Review URL: http://codereview.chromium.org/1513017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43671 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/resources/bookmark_manager/main.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/resources/bookmark_manager/main.html b/chrome/browser/resources/bookmark_manager/main.html index 76ed345..df51162 100644 --- a/chrome/browser/resources/bookmark_manager/main.html +++ b/chrome/browser/resources/bookmark_manager/main.html @@ -1545,7 +1545,8 @@ function handleCommand(e) { } // Delete on all platforms. On Mac we also allow Meta+Backspace. -$('delete-command').shortcut = 'U+007F' + (cr.isMac ? ' U+0008-meta' : ''); +$('delete-command').shortcut = 'U+007F' + + (cr.isMac ? ' U+0008 U+0008-meta' : ''); // Enter on all platforms. Mac we also support space and Command-Down !?! $('activate-command').shortcut = 'Enter' + |