summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
authorfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-20 22:42:39 +0000
committerfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-20 22:42:39 +0000
commitd84d57bc5729866a1b287356089b6574bd2d8b28 (patch)
tree462b1c09ce47665092ac24cf0f2845866712781e /content/public
parentd561d285e9e39682abbe1d07aae6f8c6f863deaa (diff)
downloadchromium_src-d84d57bc5729866a1b287356089b6574bd2d8b28.zip
chromium_src-d84d57bc5729866a1b287356089b6574bd2d8b28.tar.gz
chromium_src-d84d57bc5729866a1b287356089b6574bd2d8b28.tar.bz2
Remove ContentBrowserClient::GuestWebContentsAttached
BUG=364141 Review URL: https://codereview.chromium.org/334923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278846 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public')
-rw-r--r--content/public/browser/browser_plugin_guest_delegate.h7
-rw-r--r--content/public/browser/content_browser_client.h10
2 files changed, 6 insertions, 11 deletions
diff --git a/content/public/browser/browser_plugin_guest_delegate.h b/content/public/browser/browser_plugin_guest_delegate.h
index 24dc3a8..7abd737 100644
--- a/content/public/browser/browser_plugin_guest_delegate.h
+++ b/content/public/browser/browser_plugin_guest_delegate.h
@@ -27,8 +27,13 @@ class CONTENT_EXPORT BrowserPluginGuestDelegate {
public:
virtual ~BrowserPluginGuestDelegate() {}
+ // Notification that the embedder will begin attachment. This is called
+ // prior to resuming resource loads.
+ virtual void WillAttach(content::WebContents* embedder_web_contents,
+ const base::DictionaryValue& extra_params) {}
+
// Notification that the embedder has completed attachment.
- virtual void DidAttach(const base::DictionaryValue& extra_params) {}
+ virtual void DidAttach() {}
// Notifies that the content size of the guest has changed in autosize mode.
virtual void SizeChanged(const gfx::Size& old_size,
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 95a92fe..d355596 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -159,16 +159,6 @@ class CONTENT_EXPORT ContentBrowserClient {
BrowserPluginGuestDelegate** guest_delegate,
scoped_ptr<base::DictionaryValue> extra_params) {}
- // Notifies that a guest WebContents has been attached to a BrowserPlugin.
- // A guest is attached to a BrowserPlugin when the guest has acquired an
- // embedder WebContents. This happens on initial navigation or when a new
- // window is attached to a BrowserPlugin. |extra_params| are params sent
- // from javascript.
- virtual void GuestWebContentsAttached(
- WebContents* guest_web_contents,
- WebContents* embedder_web_contents,
- const base::DictionaryValue& extra_params) {}
-
// Notifies that a render process will be created. This is called before
// the content layer adds its own BrowserMessageFilters, so that the
// embedder's IPC filters have priority.