diff options
author | fsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 23:54:01 +0000 |
---|---|---|
committer | fsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 23:54:01 +0000 |
commit | 42f7a8ed18bfe818d2dfef8f2aafef83afd33404 (patch) | |
tree | 4fa9f7684df8b88052be29da3a3b62142ebfd559 /webkit/plugins/webview_plugin.h | |
parent | a6fd68e5303ecb4700de8775ca1ed09dcfb00948 (diff) | |
download | chromium_src-42f7a8ed18bfe818d2dfef8f2aafef83afd33404.zip chromium_src-42f7a8ed18bfe818d2dfef8f2aafef83afd33404.tar.gz chromium_src-42f7a8ed18bfe818d2dfef8f2aafef83afd33404.tar.bz2 |
Browser Plugin: Make WebPluginImpl's WebPlugin implementation public and expose its container
The browser plugin also needs to know the WebPlugin's container so that it can replace one WebPlugin with another on cross-process navigations.
BUG=none.
TEST=manually
Review URL: https://chromiumcodereview.appspot.com/10381061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136452 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/webview_plugin.h')
-rw-r--r-- | webkit/plugins/webview_plugin.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webkit/plugins/webview_plugin.h b/webkit/plugins/webview_plugin.h index 12262d6..403b80d 100644 --- a/webkit/plugins/webview_plugin.h +++ b/webkit/plugins/webview_plugin.h @@ -62,8 +62,6 @@ class WebViewPlugin: public WebKit::WebPlugin, public WebKit::WebViewClient, WebKit::WebView* web_view() { return web_view_; } - WebKit::WebPluginContainer* container() { return container_; } - // When loading a plug-in document (i.e. a full page plug-in not embedded in // another page), we save all data that has been received, and replay it with // this method on the actual plug-in. @@ -72,6 +70,7 @@ class WebViewPlugin: public WebKit::WebPlugin, public WebKit::WebViewClient, WEBKIT_PLUGINS_EXPORT void RestoreTitleText(); // WebPlugin methods: + virtual WebKit::WebPluginContainer* container() const; virtual bool initialize(WebKit::WebPluginContainer*); virtual void destroy(); |