Index: webkit/plugins/npapi/webplugin_delegate_impl.h |
=================================================================== |
--- webkit/plugins/npapi/webplugin_delegate_impl.h (revision 95591) |
+++ webkit/plugins/npapi/webplugin_delegate_impl.h (working copy) |
@@ -78,6 +78,7 @@ |
PLUGIN_QUIRK_WINDOWLESS_NO_RIGHT_CLICK = 32768, // Linux |
PLUGIN_QUIRK_IGNORE_FIRST_SETWINDOW_CALL = 65536, // Windows. |
PLUGIN_QUIRK_REPARENT_IN_BROWSER = 131072, // Windows |
+ PLUGIN_QUIRK_PATCH_GETKEYSTATE = 262144, // Windows |
}; |
static WebPluginDelegateImpl* Create(const FilePath& filename, |
@@ -375,6 +376,9 @@ |
// SetCursor interceptor for windowless plugins. |
static HCURSOR WINAPI SetCursorPatch(HCURSOR cursor); |
+ // GetKeyStatePatch interceptor for UIPI Flash plugin. |
+ static SHORT WINAPI GetKeyStatePatch(int vkey); |
+ |
// RegEnumKeyExW interceptor. |
static LONG WINAPI RegEnumKeyExWPatch( |
HKEY key, DWORD index, LPWSTR name, LPDWORD name_size, LPDWORD reserved, |