summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webplugin_delegate.h
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-07 00:34:55 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-07 00:34:55 +0000
commit56fcc3f051d030df1195fc543b93fca550b4e8e0 (patch)
treea6b3dab85957beb109c1d34e68dc1f0c2a6b6435 /webkit/glue/webplugin_delegate.h
parent37095fe7d4408ba30977c59f6f3cb7f985ba34f0 (diff)
downloadchromium_src-56fcc3f051d030df1195fc543b93fca550b4e8e0.zip
chromium_src-56fcc3f051d030df1195fc543b93fca550b4e8e0.tar.gz
chromium_src-56fcc3f051d030df1195fc543b93fca550b4e8e0.tar.bz2
linux: fix windowless Flash when scrolling
Apparently on linux windowless Flash needs a paint after a NPP_SetWindow, otherwise it cancels its timer to do InvalidateRect. Also in this change: WebKit calls WebPluginImpl::setFrameRect at each paint, even if the rects haven't changed. That used to always send a message to the plugin process, which is unnecessary (that case is always a no-op in the WebPluginDelegateImpl), so I fixed that too. BUG=18423 Review URL: http://codereview.chromium.org/159907 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22702 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webplugin_delegate.h')
-rw-r--r--webkit/glue/webplugin_delegate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/webplugin_delegate.h b/webkit/glue/webplugin_delegate.h
index 92e4b42..c4d4005 100644
--- a/webkit/glue/webplugin_delegate.h
+++ b/webkit/glue/webplugin_delegate.h
@@ -40,6 +40,7 @@ class WebPluginDelegate {
PLUGIN_QUIRK_PATCH_SETCURSOR = 64, // Win32
PLUGIN_QUIRK_BLOCK_NONSTANDARD_GETURL_REQUESTS = 128, // Win32
PLUGIN_QUIRK_WINDOWLESS_OFFSET_WINDOW_TO_DRAW = 256, // Linux
+ PLUGIN_QUIRK_WINDOWLESS_INVALIDATE_AFTER_SET_WINDOW = 512, // Linux
};
WebPluginDelegate() {}