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

Unified Diff: Source/core/css/MediaValuesCached.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 | « Source/core/css/MediaValues.cpp ('k') | Source/core/css/MediaValuesCached.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaValuesCached.h
diff --git a/Source/core/css/MediaValuesCached.h b/Source/core/css/MediaValuesCached.h
index 62d9b0f48da82e222db0bfbddfa773c005866f7f..4b94f9ba1c8694f309e67a69ccef233e0a083a14 100644
--- a/Source/core/css/MediaValuesCached.h
+++ b/Source/core/css/MediaValuesCached.h
@@ -28,7 +28,7 @@ public:
bool threeDEnabled;
bool strictMode;
String mediaType;
- DisplayMode displayMode;
+ WebDisplayMode displayMode;
MediaValuesCachedData()
: viewportWidth(0)
@@ -45,7 +45,7 @@ public:
, defaultFontSize(16)
, threeDEnabled(false)
, strictMode(true)
- , displayMode(DisplayModeBrowser)
+ , displayMode(WebDisplayModeBrowser)
{
}
};
@@ -75,7 +75,7 @@ public:
virtual Document* document() const override;
virtual bool hasValues() const override;
virtual const String mediaType() const override;
- virtual DisplayMode displayMode() const override;
+ virtual WebDisplayMode displayMode() const override;
protected:
MediaValuesCached();
« no previous file with comments | « Source/core/css/MediaValues.cpp ('k') | Source/core/css/MediaValuesCached.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698