| Index: content/public/renderer/plugin_instance_throttler.h
|
| diff --git a/content/public/renderer/plugin_instance_throttler.h b/content/public/renderer/plugin_instance_throttler.h
|
| index d21acafcaff0ef64cc7dcaae28ebcca86e1ed322..0b33cc4c88e5c63e60f15bc5cd88f3a70c96ecb9 100644
|
| --- a/content/public/renderer/plugin_instance_throttler.h
|
| +++ b/content/public/renderer/plugin_instance_throttler.h
|
| @@ -14,6 +14,10 @@ class WebPlugin;
|
| struct WebPluginParams;
|
| }
|
|
|
| +namespace gfx {
|
| +class Size;
|
| +}
|
| +
|
| class GURL;
|
| class SkBitmap;
|
|
|
| @@ -84,6 +88,9 @@ class CONTENT_EXPORT PluginInstanceThrottler {
|
|
|
| virtual blink::WebPlugin* GetWebPlugin() const = 0;
|
|
|
| + // Gets the throttler's best estimate of the plugin's visible dimensions.
|
| + virtual const gfx::Size& GetSize() const = 0;
|
| +
|
| // Throttler needs to know when the plugin audio is throttled, as this may
|
| // prevent the plugin from generating new frames.
|
| virtual void NotifyAudioThrottled() = 0;
|
|
|