Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/renderer/webplugin_delegate_proxy.h

Issue 18082: Improve scrolling performance when there are many windowed plugins in a page.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Call DestroyWindow on the right thread & ensure NPP_SetWindow is called right away Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/webplugin_delegate_proxy.h
--- chrome/renderer/webplugin_delegate_proxy.h (revision 8043)
+++ chrome/renderer/webplugin_delegate_proxy.h (working copy)
@@ -52,9 +52,7 @@
virtual bool Initialize(const GURL& url, char** argn, char** argv, int argc,
WebPlugin* plugin, bool load_manually);
virtual void UpdateGeometry(const gfx::Rect& window_rect,
- const gfx::Rect& clip_rect,
- const std::vector<gfx::Rect>& cutout_rects,
- bool visible);
+ const gfx::Rect& clip_rect);
virtual void Paint(HDC hdc, const gfx::Rect& rect);
virtual void Print(HDC hdc);
virtual NPObject* GetPluginScriptableObject();
@@ -158,9 +156,7 @@
gfx::Rect plugin_rect_;
gfx::Rect deferred_clip_rect_;
- std::vector<gfx::Rect> deferred_cutout_rects_;
bool send_deferred_update_geometry_;
- bool visible_;
NPObject* npobject_;
NPObjectStub* window_script_object_;

Powered by Google App Engine
This is Rietveld 408576698