summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webplugin.h')
-rw-r--r--webkit/glue/webplugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/webplugin.h b/webkit/glue/webplugin.h
index db1969a..12bffab 100644
--- a/webkit/glue/webplugin.h
+++ b/webkit/glue/webplugin.h
@@ -119,6 +119,9 @@ class WebPlugin {
// Returns the DOM element that loaded the plugin.
virtual NPObject* GetPluginElement() = 0;
+ // Returns the WebFrame that contains this plugin.
+ virtual WebFrame* GetWebFrame() = 0;
+
// Cookies
virtual void SetCookie(const GURL& url,
const GURL& policy_url,