summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_content_client.cc
diff options
context:
space:
mode:
authorjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-29 04:20:54 +0000
committerjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-29 04:20:54 +0000
commit47d09f6e03e6d8ee179e479095c5afd9564921e0 (patch)
tree0e740db197c985c1da0b97cedb0e43dea43bf6e8 /chrome/common/chrome_content_client.cc
parent53f1a000c4cd5fcb2a74609a518ec074dcc46e3b (diff)
downloadchromium_src-47d09f6e03e6d8ee179e479095c5afd9564921e0.zip
chromium_src-47d09f6e03e6d8ee179e479095c5afd9564921e0.tar.gz
chromium_src-47d09f6e03e6d8ee179e479095c5afd9564921e0.tar.bz2
Add UIPI filter for WM_APPCOMMAND message
BUG=91957TEST=Set focus to a Flash instance and change the volume with keyboard media keys. Review URL: http://codereview.chromium.org/8038067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103233 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_content_client.cc')
-rw-r--r--chrome/common/chrome_content_client.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
index 42054fb..2202aa5 100644
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -368,6 +368,7 @@ bool ChromeContentClient::SandboxPlugin(CommandLine* command_line,
// Per-window message filters required on Win7 or later must be added to:
// render_widget_host_view_win.cc RenderWidgetHostViewWin::ReparentWindow
g_ChangeWindowMessageFilter(WM_MOUSEWHEEL, MSGFLT_ADD);
+ g_ChangeWindowMessageFilter(WM_APPCOMMAND, MSGFLT_ADD);
}
policy->SetIntegrityLevel(sandbox::INTEGRITY_LEVEL_LOW);
} else {