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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.h

Issue 2424823002: Implement collection of @viewport rules from DocumentStyleCollection. (Closed)
Patch Set: Rebased. Created 4 years, 2 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/dom/DocumentStyleSheetCollection.h
diff --git a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.h b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.h
index 7db8515853dbe9bc47fbe4cf3499e819f3ce4dfc..5219819b4b6375a81e31bfaf3e40ae271aa731e1 100644
--- a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.h
+++ b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.h
@@ -38,6 +38,7 @@ namespace blink {
class DocumentStyleSheetCollector;
class StyleEngine;
class TreeScope;
+class ViewportStyleResolver;
class DocumentStyleSheetCollection final
: public TreeScopeStyleSheetCollection {
@@ -50,6 +51,7 @@ class DocumentStyleSheetCollection final
void updateActiveStyleSheets(StyleEngine&, StyleResolverUpdateMode);
void collectStyleSheets(StyleEngine&, DocumentStyleSheetCollector&);
+ void collectViewportRules(ViewportStyleResolver&);
DEFINE_INLINE_VIRTUAL_TRACE() {
TreeScopeStyleSheetCollection::trace(visitor);

Powered by Google App Engine
This is Rietveld 408576698