diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-28 16:38:13 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-28 16:38:13 +0000 |
commit | 2a4fab98a8dd8a65f16d64acb1f51d8a0076a25f (patch) | |
tree | f80d6b948db68cd70165e682ea5420e1c598bde4 /chrome/browser/views/location_bar_view.cc | |
parent | 2d82a8160b726349984aa7756304a30b8b0f348d (diff) | |
download | chromium_src-2a4fab98a8dd8a65f16d64acb1f51d8a0076a25f.zip chromium_src-2a4fab98a8dd8a65f16d64acb1f51d8a0076a25f.tar.gz chromium_src-2a4fab98a8dd8a65f16d64acb1f51d8a0076a25f.tar.bz2 |
The Ctrl-Shift-Delete shortcut was not showing the Clear Browsing Data dialog.
BUG=12413
TEST=Focus the omnibox. Press Shift-Ctrl-Delete, the Clear Browsing Data dialog should show.
Make sure cut/copy/paste shortcuts still work as expected (Ctrl/x, Ctrl/c, Ctrl/v, Shift/Delete, Shift/Insert).
Review URL: http://codereview.chromium.org/113872
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17077 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/location_bar_view.cc')
-rw-r--r-- | chrome/browser/views/location_bar_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/location_bar_view.cc b/chrome/browser/views/location_bar_view.cc index 8287ac6..b2a6428 100644 --- a/chrome/browser/views/location_bar_view.cc +++ b/chrome/browser/views/location_bar_view.cc @@ -912,7 +912,7 @@ bool LocationBarView::SkipDefaultKeyEventProcessing(const views::KeyEvent& e) { case VK_DELETE: case VK_INSERT: - return !e.IsAltDown() && e.IsShiftDown(); + return !e.IsAltDown() && e.IsShiftDown() && !e.IsControlDown(); case 'X': case 'V': |