summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_tab_container.cc
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 21:30:30 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 21:30:30 +0000
commitab58e6cec813b33eefb397be3cebc11fcc280bdf (patch)
tree9b395ace5b4a55fbb12458fb46f220202ff61650 /chrome/browser/external_tab_container.cc
parent5fc4fe8e8a5c07f4113ef351978f349ab0b8eb37 (diff)
downloadchromium_src-ab58e6cec813b33eefb397be3cebc11fcc280bdf.zip
chromium_src-ab58e6cec813b33eefb397be3cebc11fcc280bdf.tar.gz
chromium_src-ab58e6cec813b33eefb397be3cebc11fcc280bdf.tar.bz2
Give the container a chance to handle function keys.
Review URL: http://codereview.chromium.org/19036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8755 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.cc')
-rw-r--r--chrome/browser/external_tab_container.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc
index bc40c4f..3d89034 100644
--- a/chrome/browser/external_tab_container.cc
+++ b/chrome/browser/external_tab_container.cc
@@ -280,6 +280,7 @@ bool ExternalTabContainer::ProcessKeyDown(HWND window, UINT message,
}
int flags = HIWORD(lparam);
if ((flags & KF_EXTENDED) || (flags & KF_ALTDOWN) ||
+ (wparam >= VK_F1 && wparam <= VK_F24) ||
win_util::IsShiftPressed() || win_util::IsCtrlPressed()) {
// If this is an extended key or if one or more of Alt, Shift and Control
// are pressed, this might be an accelerator that the external host wants