diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-16 23:04:23 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-16 23:04:23 +0000 |
commit | d7f4595986302dcf131b943152a843d067e53c1e (patch) | |
tree | 7165e6c839aaae33587dab4dbc28df862d1c8428 /chrome/plugin/webplugin_proxy.h | |
parent | efb07436b9ba4737247cdf0e8ba0529e27942468 (diff) | |
download | chromium_src-d7f4595986302dcf131b943152a843d067e53c1e.zip chromium_src-d7f4595986302dcf131b943152a843d067e53c1e.tar.gz chromium_src-d7f4595986302dcf131b943152a843d067e53c1e.tar.bz2 |
Improve scrolling performance when there are many windowed plugins in a page.
This works by parenting windowed plugins with an HWND that's hosted in the browser process, so that no synchronous cross process messages are used when scrolling.
BUG=5428
Review URL: http://codereview.chromium.org/18082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8239 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/webplugin_proxy.h')
-rw-r--r-- | chrome/plugin/webplugin_proxy.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/plugin/webplugin_proxy.h b/chrome/plugin/webplugin_proxy.h index 7828abf..9f6177b 100644 --- a/chrome/plugin/webplugin_proxy.h +++ b/chrome/plugin/webplugin_proxy.h @@ -86,8 +86,6 @@ class WebPluginProxy : public WebPlugin { void UpdateGeometry(const gfx::Rect& window_rect, const gfx::Rect& clip_rect, - const std::vector<gfx::Rect>& cutout_rects, - bool visible, const base::SharedMemoryHandle& windowless_buffer, const base::SharedMemoryHandle& background_buffer); @@ -132,6 +130,7 @@ class WebPluginProxy : public WebPlugin { bool waiting_for_paint_; uint32 cp_browsing_context_; scoped_ptr<base::WaitableEvent> modal_dialog_event_; + HWND parent_window_; // Variables used for desynchronized windowless plugin painting. See note in // webplugin_delegate_proxy.h for how this works. |