| 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 e9adb07f465c14edc3c173fbd2b05e89d974d347..dbf3c4b3e92f643125d55ab7e752c42c7c729fa2 100644
|
| --- a/chrome/renderer/plugins/chrome_plugin_placeholder.h
|
| +++ b/chrome/renderer/plugins/chrome_plugin_placeholder.h
|
| @@ -17,6 +17,8 @@ class ChromePluginPlaceholder : public plugins::LoadablePluginPlaceholder,
|
| public:
|
| static const char kPluginPlaceholderDataURL[];
|
|
|
| + // If |poster_attribute| can contain relative paths, |placeholder_url| must be
|
| + // non-empty. This is so the placeholder can resolve the relative paths.
|
| static ChromePluginPlaceholder* CreateBlockedPlugin(
|
| content::RenderFrame* render_frame,
|
| blink::WebLocalFrame* frame,
|
| @@ -26,7 +28,8 @@ class ChromePluginPlaceholder : public plugins::LoadablePluginPlaceholder,
|
| const base::string16& name,
|
| int resource_id,
|
| const base::string16& message,
|
| - const GURL& poster_url);
|
| + const std::string& poster_attribute,
|
| + const GURL& placeholder_url);
|
|
|
| // Creates a new WebViewPlugin with a MissingPlugin as a delegate.
|
| static ChromePluginPlaceholder* CreateMissingPlugin(
|
| @@ -49,7 +52,8 @@ class ChromePluginPlaceholder : public plugins::LoadablePluginPlaceholder,
|
| blink::WebLocalFrame* frame,
|
| const blink::WebPluginParams& params,
|
| const std::string& html_data,
|
| - const base::string16& title);
|
| + const base::string16& title,
|
| + const GURL& placeholder_url);
|
| ~ChromePluginPlaceholder() override;
|
|
|
| // WebViewPlugin::Delegate (via PluginPlaceholder) method
|
|
|