| Index: content/public/browser/browser_plugin_guest_delegate.h
|
| diff --git a/content/public/browser/browser_plugin_guest_delegate.h b/content/public/browser/browser_plugin_guest_delegate.h
|
| index 3cb9270fac9c598e45088a502eb925cbdb60997c..fdc303798d43b4b89551ade1dacc45d00ca22865 100644
|
| --- a/content/public/browser/browser_plugin_guest_delegate.h
|
| +++ b/content/public/browser/browser_plugin_guest_delegate.h
|
| @@ -8,7 +8,6 @@
|
| #include "base/callback_forward.h"
|
| #include "base/process/kill.h"
|
| #include "content/common/content_export.h"
|
| -#include "content/public/browser/guest_sizer.h"
|
| #include "content/public/browser/web_contents.h"
|
|
|
| namespace base {
|
| @@ -21,6 +20,8 @@ class Size;
|
|
|
| namespace content {
|
|
|
| +class GuestHost;
|
| +
|
| // Objects implement this interface to get notified about changes in the guest
|
| // WebContents and to provide necessary functionality.
|
| class CONTENT_EXPORT BrowserPluginGuestDelegate {
|
| @@ -72,12 +73,6 @@ class CONTENT_EXPORT BrowserPluginGuestDelegate {
|
| bool last_unlocked_by_target,
|
| const base::Callback<void(bool)>& callback) {}
|
|
|
| - // Registers a |callback| with the delegate that the delegate would call when
|
| - // it is about to be destroyed.
|
| - typedef base::Callback<void()> DestructionCallback;
|
| - virtual void RegisterDestructionCallback(
|
| - const DestructionCallback& callback) {}
|
| -
|
| // Find the given |search_text| in the page. Returns true if the find request
|
| // is handled by this browser plugin guest delegate.
|
| virtual bool Find(int request_id,
|
| @@ -85,8 +80,9 @@ class CONTENT_EXPORT BrowserPluginGuestDelegate {
|
| const blink::WebFindOptions& options);
|
| virtual bool StopFinding(StopFindAction action);
|
|
|
| - // Provides the delegate with an interface with which to size the guest.
|
| - virtual void SetGuestSizer(GuestSizer* guest_sizer) {}
|
| + // Provides the delegate with an interface with which to communicate with the
|
| + // content module.
|
| + virtual void SetGuestHost(GuestHost* guest_host) {}
|
| };
|
|
|
| } // namespace content
|
|
|