| Index: chrome/renderer/plugins/chrome_plugin_placeholder.h
|
| diff --git a/chrome/renderer/plugins/chrome_plugin_placeholder.h b/chrome/renderer/plugins/chrome_plugin_placeholder.h
|
| index e404994e52cf257b0dc216d65bbca023ffddecfb..dcba340e927569ac26121b975640ff175a636d11 100644
|
| --- a/chrome/renderer/plugins/chrome_plugin_placeholder.h
|
| +++ b/chrome/renderer/plugins/chrome_plugin_placeholder.h
|
| @@ -19,6 +19,7 @@ class ChromePluginPlaceholder : public plugins::LoadablePluginPlaceholder,
|
|
|
| // If |poster_attribute| contains relative paths, |base_url| must be
|
| // non-empty. This is so the placeholder can resolve the relative paths.
|
| + // |custom_poster_width| and |custom_poster_height| are ignored if set to 0.
|
| static ChromePluginPlaceholder* CreateBlockedPlugin(
|
| content::RenderFrame* render_frame,
|
| blink::WebLocalFrame* frame,
|
| @@ -29,7 +30,9 @@ class ChromePluginPlaceholder : public plugins::LoadablePluginPlaceholder,
|
| int resource_id,
|
| const base::string16& message,
|
| const std::string& poster_attribute,
|
| - const GURL& base_url);
|
| + const GURL& base_url,
|
| + int custom_poster_width,
|
| + int custom_poster_height);
|
|
|
| // Creates a new WebViewPlugin with a MissingPlugin as a delegate.
|
| static ChromePluginPlaceholder* CreateMissingPlugin(
|
|
|