| Index: content/browser/browser_plugin/browser_plugin_guest.h
|
| diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
|
| index 3f595e4450d6c696bf4230c764e9581bb45a9880..032e605d287c6a9061223ad6acaeda0319736da4 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_guest.h
|
| +++ b/content/browser/browser_plugin/browser_plugin_guest.h
|
| @@ -60,6 +60,7 @@ namespace content {
|
|
|
| class BrowserPluginGuestManager;
|
| class BrowserPluginHostFactory;
|
| +class RenderViewHostImpl;
|
| class RenderWidgetHostView;
|
| class SiteInstance;
|
| class WebCursor;
|
| @@ -96,6 +97,12 @@ class CONTENT_EXPORT BrowserPluginGuest
|
| scoped_ptr<base::DictionaryValue> extra_params,
|
| BrowserPluginGuest* opener);
|
|
|
| + // Returns whether the given WebContents is a BrowserPlugin guest.
|
| + static bool IsGuest(WebContentsImpl* web_contents);
|
| +
|
| + // Returns whether the given RenderviewHost is a BrowserPlugin guest.
|
| + static bool IsGuest(RenderViewHostImpl* render_view_host);
|
| +
|
| // Returns a WeakPtr to this BrowserPluginGuest.
|
| base::WeakPtr<BrowserPluginGuest> AsWeakPtr();
|
|
|
|
|