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

Unified Diff: webkit/api/public/WebPluginContainer.h

Issue 181014: Eliminate remaining WebCore dependencies from webplugin_impl.cc... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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/api/public/WebPluginContainer.h
===================================================================
--- webkit/api/public/WebPluginContainer.h (revision 25087)
+++ webkit/api/public/WebPluginContainer.h (working copy)
@@ -44,6 +44,16 @@
virtual void invalidate() = 0;
virtual void invalidateRect(const WebRect&) = 0;
+ // Causes the container to report its current geometry via
+ // WebPlugin::updateGeometry.
+ virtual void reportGeometry() = 0;
+
+ // Drop any references to script objects allocated by the plugin.
+ // These are objects derived from WebPlugin::scriptableObject. This is
+ // called when the plugin is being destroyed or if it needs to be
+ // re-initialized.
+ virtual void clearScriptObjects() = 0;
+
// Returns the scriptable object associated with the DOM element
// containing the plugin.
virtual NPObject* scriptableObjectForElement() = 0;

Powered by Google App Engine
This is Rietveld 408576698