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

Unified Diff: third_party/WebKit/Source/core/css/MediaValues.h

Issue 1738133002: Add support for media attribute on link (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review nits Created 4 years, 9 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
Index: third_party/WebKit/Source/core/css/MediaValues.h
diff --git a/third_party/WebKit/Source/core/css/MediaValues.h b/third_party/WebKit/Source/core/css/MediaValues.h
index 0ef8607031cc3f178c5d66a8309e83f605263816..4e485b26a3fc7ead647f492d35a99744cb6e6d04 100644
--- a/third_party/WebKit/Source/core/css/MediaValues.h
+++ b/third_party/WebKit/Source/core/css/MediaValues.h
@@ -58,6 +58,8 @@ public:
virtual Document* document() const = 0;
virtual bool hasValues() const = 0;
+ virtual void overrideViewportDimensions(double width, double height) = 0;
+
protected:
static double calculateViewportWidth(LocalFrame*);
static double calculateViewportHeight(LocalFrame*);

Powered by Google App Engine
This is Rietveld 408576698