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

Unified Diff: Source/core/css/MediaValuesCached.h

Issue 853483003: Add support for 'display-mode' MQ defined in Manifest spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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 4a79e08c59b5680bd734a4d266ffbc306923df22..62d9b0f48da82e222db0bfbddfa773c005866f7f 100644
--- a/Source/core/css/MediaValuesCached.h
+++ b/Source/core/css/MediaValuesCached.h
@@ -28,6 +28,7 @@ public:
bool threeDEnabled;
bool strictMode;
String mediaType;
+ DisplayMode displayMode;
MediaValuesCachedData()
: viewportWidth(0)
@@ -44,6 +45,7 @@ public:
, defaultFontSize(16)
, threeDEnabled(false)
, strictMode(true)
+ , displayMode(DisplayModeBrowser)
{
}
};
@@ -73,6 +75,7 @@ public:
virtual Document* document() const override;
virtual bool hasValues() const override;
virtual const String mediaType() const override;
+ virtual DisplayMode 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