summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/npapi/plugin_constants_win.cc
diff options
context:
space:
mode:
authorjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-12 19:12:44 +0000
committerjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-12 19:12:44 +0000
commitc62b7a565fc8932a2b17c1544026003f3aa1f99b (patch)
tree59096abde416a5e907fd180adbcc22cce07571d8 /webkit/plugins/npapi/plugin_constants_win.cc
parent8252963a12dc832a040be3877ff9bc4ff6acaa1d (diff)
downloadchromium_src-c62b7a565fc8932a2b17c1544026003f3aa1f99b.zip
chromium_src-c62b7a565fc8932a2b17c1544026003f3aa1f99b.tar.gz
chromium_src-c62b7a565fc8932a2b17c1544026003f3aa1f99b.tar.bz2
Add scroll and gesture message filters for UIPI Flash.
Flash forwards some window messages when it has no handler set. The only ones I've observed are WM_MOUSEWHEEL and WM_GESTURE (gestures are supported only on Win7). So, we need to allow these messages through the UIPI boundary. One important note is that I use per-process message filters on Vista, but per-window filters on Win7 or later (because they're supported). BUG=86810 TEST=None. Review URL: http://codereview.chromium.org/7617019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96592 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/npapi/plugin_constants_win.cc')
-rw-r--r--webkit/plugins/npapi/plugin_constants_win.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/plugins/npapi/plugin_constants_win.cc b/webkit/plugins/npapi/plugin_constants_win.cc
index 44debe4..a62d9bb 100644
--- a/webkit/plugins/npapi/plugin_constants_win.cc
+++ b/webkit/plugins/npapi/plugin_constants_win.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,6 +9,7 @@ namespace npapi {
const char16 kNativeWindowClassName[] = L"NativeWindowClass";
const char16 kWrapperNativeWindowClassName[] = L"WrapperNativeWindowClass";
+const char16 kNativeWindowClassFilterProp[] = L"NativeWindowClassFilterProp";
const char16 kPaintMessageName[] = L"Chrome_CustomPaintil";
const char16 kRegistryMozillaPlugins[] = L"SOFTWARE\\MozillaPlugins";
const char16 kMozillaActiveXPlugin[] = L"npmozax.dll";