Title: [116810] trunk/Source/WebKit/chromium
Revision
116810
Author
[email protected]
Date
2012-05-11 15:18:35 -0700 (Fri, 11 May 2012)

Log Message

[Chromium] Expose WebPluginContainer of WebPlugin to embedder
https://bugs.webkit.org/show_bug.cgi?id=85916

Reviewed by Darin Fisher.

The browser plugin needs to access its current guest's  WebPluginContainer
so that it can replace the guest with another guest WebPlugin when navigating
across processes.

* public/WebPlugin.h:
(WebPlugin):
(WebKit::WebPlugin::container):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (116809 => 116810)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-05-11 22:17:00 UTC (rev 116809)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-05-11 22:18:35 UTC (rev 116810)
@@ -1,3 +1,18 @@
+2012-05-11  Fady Samuel  <[email protected]>
+
+        [Chromium] Expose WebPluginContainer of WebPlugin to embedder
+        https://bugs.webkit.org/show_bug.cgi?id=85916
+
+        Reviewed by Darin Fisher.
+
+        The browser plugin needs to access its current guest's  WebPluginContainer
+        so that it can replace the guest with another guest WebPlugin when navigating
+        across processes.
+
+        * public/WebPlugin.h:
+        (WebPlugin):
+        (WebKit::WebPlugin::container):
+
 2012-05-11  Terry Anderson  <[email protected]>
 
         [chromium] Compute the best target node on a GestureTap event

Modified: trunk/Source/WebKit/chromium/public/WebPlugin.h (116809 => 116810)


--- trunk/Source/WebKit/chromium/public/WebPlugin.h	2012-05-11 22:17:00 UTC (rev 116809)
+++ trunk/Source/WebKit/chromium/public/WebPlugin.h	2012-05-11 22:18:35 UTC (rev 116810)
@@ -56,6 +56,8 @@
     virtual bool initialize(WebPluginContainer*) = 0;
     virtual void destroy() = 0;
 
+    virtual WebPluginContainer* container() const { return 0; }
+
     virtual NPObject* scriptableObject() = 0;
 
     // Returns true if the form submission value is successfully obtained
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to