Index: content/public/renderer/render_view.h |
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h |
index 14020aebf208296b06c5435663bf5c1e19659d06..55b84364110923fa06cc8898bea1f090a5dcbe8c 100644 |
--- a/content/public/renderer/render_view.h |
+++ b/content/public/renderer/render_view.h |
@@ -68,6 +68,10 @@ class CONTENT_EXPORT RenderView : public IPC::Message::Sender { |
// Gets WebKit related preferences associated with this view. |
virtual WebPreferences& GetWebkitPreferences() = 0; |
+ // Gets the default device scale factor of the render view. This is used to |
+ // compute the default layout width in absence of a viewport meta tag. |
+ virtual int GetDefaultDeviceScaleFactor() const = 0; |
+ |
// Returns the associated WebView. May return NULL when the view is closing. |
virtual WebKit::WebView* GetWebView() = 0; |