Index: components/plugins/renderer/mobile_youtube_plugin.h |
diff --git a/components/plugins/renderer/mobile_youtube_plugin.h b/components/plugins/renderer/mobile_youtube_plugin.h |
index 99a6213b654975785eb21acd04e0af5867e6b689..7b889713364844120bcee538a240ab7be5b9b08b 100644 |
--- a/components/plugins/renderer/mobile_youtube_plugin.h |
+++ b/components/plugins/renderer/mobile_youtube_plugin.h |
@@ -16,24 +16,25 @@ namespace plugins { |
// mobile youtube app. |
class MobileYouTubePlugin : public PluginPlaceholder { |
public: |
+ static gin::WrapperInfo kWrapperInfo; |
+ |
MobileYouTubePlugin(content::RenderFrame* render_frame, |
blink::WebLocalFrame* frame, |
const blink::WebPluginParams& params, |
- base::StringPiece& template_html, |
- GURL placeholderDataUrl); |
+ base::StringPiece& template_html); |
// Whether this is a youtube url. |
static bool IsYouTubeURL(const GURL& url, const std::string& mime_type); |
+ // gin::Wrappable (via PluginPlaceholder) method |
+ gin::WrapperInfo* GetWrapperInfo() override; |
+ |
private: |
~MobileYouTubePlugin() override; |
// Opens a youtube app in the current tab. |
void OpenYoutubeUrlCallback(); |
- // WebViewPlugin::Delegate (via PluginPlaceholder) method |
- void BindWebFrame(blink::WebFrame* frame) override; |
- |
// gin::Wrappable (via PluginPlaceholder) method |
gin::ObjectTemplateBuilder GetObjectTemplateBuilder( |
v8::Isolate* isolate) override; |