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

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

Issue 1104103002: Add <meta viewport> support to the preloader (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: moved CachedDocumentParameters constructor to private Created 5 years, 8 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.h ('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 c8d37f621f52fee9111f37a7fce02ba78943988b..4d4ba8003921e3cfed4a0fe936820d837d0bdedf 100644
--- a/Source/core/css/MediaValuesCached.h
+++ b/Source/core/css/MediaValuesCached.h
@@ -78,6 +78,10 @@ public:
virtual const String mediaType() const override;
virtual WebDisplayMode displayMode() const override;
+ void setViewportWidth(int);
+ void setViewportHeight(int);
+
+ virtual bool isCached() const override { return true; }
protected:
MediaValuesCached();
MediaValuesCached(LocalFrame*);
« no previous file with comments | « Source/core/css/MediaValues.h ('k') | Source/core/css/MediaValuesCached.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698