Chromium Code Reviews| 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 d20f5257cd5c79f224701f5692658979c026dd25..d5ec3ce778b49ead4170a0135498011cd259c937 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,8 @@ class CONTENT_EXPORT PluginInstanceThrottler { |
| virtual blink::WebPlugin* GetWebPlugin() const = 0; |
| + virtual const gfx::Size& GetSize() const = 0; |
|
Lei Zhang
2015/03/18 00:48:12
You should comment what this is exactly.
tommycli
2015/03/19 22:10:12
Done.
|
| + |
| protected: |
| PluginInstanceThrottler() {} |