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

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

Issue 1583913003: Introduce deviceDependentMediaQueries (similar to viewportDependent). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review fixes Created 4 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 | « no previous file | third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/MediaQueryEvaluator.h
diff --git a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h
index 5ce10de4ad53f1fd536e1954deff5a287be903d7..e3913700dd9c71556eae57e53beadc6d49eff029 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h
+++ b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h
@@ -80,10 +80,10 @@ public:
bool mediaTypeMatch(const String& mediaTypeToMatch) const;
// Evaluates a list of media queries.
- bool eval(const MediaQuerySet*, MediaQueryResultList* = 0) const;
+ bool eval(const MediaQuerySet*, MediaQueryResultList* viewportDependent = 0, MediaQueryResultList* deviceDependent = 0) const;
// Evaluates media query.
- bool eval(const MediaQuery*, MediaQueryResultList*) const;
+ bool eval(const MediaQuery*, MediaQueryResultList* viewportDependent = 0, MediaQueryResultList* deviceDependent = 0) const;
// Evaluates media query subexpression, ie "and (media-feature: value)" part.
bool eval(const MediaQueryExp*) const;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698