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

Unified Diff: public/web/WebView.h

Issue 870933002: Make it possible to set the display mode from the WebView API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Using enum now Created 5 years, 11 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 | « public/platform/WebDisplayMode.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index 0e9785c470db4882a6a6f7733218d0e47447292c..1273aaa5857fe658974cfa354749e62f27c9ce53 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -32,6 +32,7 @@
#define WebView_h
#include "../platform/WebColor.h"
+#include "../platform/WebDisplayMode.h"
#include "../platform/WebPageVisibilityState.h"
#include "../platform/WebString.h"
#include "../platform/WebVector.h"
@@ -275,6 +276,9 @@ public:
// The returned size has the page zoom factor applied.
virtual WebSize contentsPreferredMinimumSize() = 0;
+ // Sets the display mode of the web app.
+ virtual void setDisplayMode(WebDisplayMode) = 0;
+
// The ratio of the current device's screen DPI to the target device's screen DPI.
virtual float deviceScaleFactor() const = 0;
« no previous file with comments | « public/platform/WebDisplayMode.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698