| 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..0495f8dba52bfeeb668a12c657d1a2f20e7bdcb7 100644
|
| --- a/chrome/renderer/plugins/chrome_plugin_placeholder.h
|
| +++ b/chrome/renderer/plugins/chrome_plugin_placeholder.h
|
| @@ -9,6 +9,10 @@
|
| #include "content/public/renderer/context_menu_client.h"
|
| #include "content/public/renderer/render_process_observer.h"
|
|
|
| +namespace gfx {
|
| +class Size;
|
| +}
|
| +
|
| struct ChromeViewHostMsg_GetPluginInfo_Status;
|
|
|
| class ChromePluginPlaceholder : public plugins::LoadablePluginPlaceholder,
|
| @@ -19,6 +23,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_size| is ignored if it is an empty gfx::Size.
|
| static ChromePluginPlaceholder* CreateBlockedPlugin(
|
| content::RenderFrame* render_frame,
|
| blink::WebLocalFrame* frame,
|
| @@ -29,7 +34,8 @@ 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,
|
| + const gfx::Size& custom_poster_size);
|
|
|
| // Creates a new WebViewPlugin with a MissingPlugin as a delegate.
|
| static ChromePluginPlaceholder* CreateMissingPlugin(
|
|
|