Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Unified Diff: content/browser/webui/web_ui_impl.h

Issue 10535134: Add WebUI::GetDeviceScale (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/sync_setup_handler_unittest.cc ('k') | content/browser/webui/web_ui_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_impl.h
diff --git a/content/browser/webui/web_ui_impl.h b/content/browser/webui/web_ui_impl.h
index d0dfcabc427927a8de4c77371f1c09492882b464..e8f9ea10c0d88842792973e8a37b046088036dd9 100644
--- a/content/browser/webui/web_ui_impl.h
+++ b/content/browser/webui/web_ui_impl.h
@@ -33,6 +33,7 @@ class CONTENT_EXPORT WebUIImpl : public content::WebUI,
virtual content::WebContents* GetWebContents() const OVERRIDE;
virtual content::WebUIController* GetController() const OVERRIDE;
virtual void SetController(content::WebUIController* controller) OVERRIDE;
+ virtual float GetDeviceScale() const OVERRIDE;
virtual bool ShouldHideFavicon() const OVERRIDE;
virtual void HideFavicon() OVERRIDE;
virtual bool ShouldFocusLocationBarByDefault() const OVERRIDE;
« no previous file with comments | « chrome/browser/ui/webui/sync_setup_handler_unittest.cc ('k') | content/browser/webui/web_ui_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698