Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: webkit/glue/webplugin_impl.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: webkit/glue/webplugin_impl.h
===================================================================
--- webkit/glue/webplugin_impl.h (revision 8043)
+++ webkit/glue/webplugin_impl.h (working copy)
@@ -41,6 +41,7 @@
class ResourceHandle;
class ResourceError;
class ResourceResponse;
+ class ScrollView;
class String;
class Widget;
}
@@ -66,6 +67,7 @@
virtual void handleEvent(WebCore::Event* event);
virtual void frameRectsChanged();
virtual void setParentVisible(bool visible);
+ virtual void setParent(WebCore::ScrollView* view);
#if USE(JSC)
virtual bool isPluginView() const;
@@ -325,11 +327,7 @@
WebFrameImpl* webframe_;
WebPluginDelegate* delegate_;
- bool force_geometry_update_;
bool visible_;
- // Set when we receive the first paint notification for a windowed
- // plugin widget.
- bool received_first_paint_notification_;
WebPluginContainer* widget_;

Powered by Google App Engine
This is Rietveld 408576698