Chromium Code Reviews| Index: content/public/browser/web_ui.h |
| diff --git a/content/public/browser/web_ui.h b/content/public/browser/web_ui.h |
| index 8bb0734d86dc5d917d8a3badd11ad36c0015c475..cdf23389250c75517ffa88c2dc45e736c37d5cae 100644 |
| --- a/content/public/browser/web_ui.h |
| +++ b/content/public/browser/web_ui.h |
| @@ -52,6 +52,11 @@ class CONTENT_EXPORT WebUI { |
| virtual WebUIController* GetController() const = 0; |
| virtual void SetController(WebUIController* controller) = 0; |
| + // Returns the renderer's scale. |
| + // Whenever possible, WebUI should push resources with this scale to |
| + // Javascript. |
|
Evan Stade
2012/06/14 22:03:23
reading this comment, I'd assume it returns the zo
|
| + virtual float GetRendererScale() const = 0; |
| + |
| // Returns true if the favicon should be hidden for the current tab. |
| virtual bool ShouldHideFavicon() const = 0; |
| virtual void HideFavicon() = 0; |