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

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

Issue 979033003: Move code from StyleResolver to ViewportStyleResolver. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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: Source/core/css/CSSDefaultStyleSheets.h
diff --git a/Source/core/css/CSSDefaultStyleSheets.h b/Source/core/css/CSSDefaultStyleSheets.h
index f547365c54dd5b62ed082f56970637750714ed7e..828f8331de780fedb45ce7506576f638cf98ab3e 100644
--- a/Source/core/css/CSSDefaultStyleSheets.h
+++ b/Source/core/css/CSSDefaultStyleSheets.h
@@ -39,6 +39,7 @@ public:
RuleSet* defaultStyle() { return m_defaultStyle.get(); }
RuleSet* defaultViewportStyle() { return m_defaultViewportStyle.get(); }
+ RuleSet* defaultViewportOverrideStyle() { return m_defaultViewportOverrideStyle.get(); }
dgozman 2015/03/05 10:55:53 I'd rename this to |defaultMobileViewportStyle| to
rune 2015/03/05 12:11:50 Acknowledged.
RuleSet* defaultQuirksStyle() { return m_defaultQuirksStyle.get(); }
RuleSet* defaultPrintStyle() { return m_defaultPrintStyle.get(); }
RuleSet* defaultViewSourceStyle();
@@ -49,6 +50,7 @@ public:
StyleSheetContents* defaultStyleSheet() { return m_defaultStyleSheet.get(); }
StyleSheetContents* viewportStyleSheet() { return m_viewportStyleSheet.get(); }
+ StyleSheetContents* viewportOverrideStyleSheet() { return m_viewportOverrideStyleSheet.get(); }
StyleSheetContents* quirksStyleSheet() { return m_quirksStyleSheet.get(); }
StyleSheetContents* svgStyleSheet() { return m_svgStyleSheet.get(); }
StyleSheetContents* mathmlStyleSheet() { return m_mathmlStyleSheet.get(); }
@@ -62,6 +64,7 @@ private:
OwnPtrWillBeMember<RuleSet> m_defaultStyle;
OwnPtrWillBeMember<RuleSet> m_defaultViewportStyle;
+ OwnPtrWillBeMember<RuleSet> m_defaultViewportOverrideStyle;
OwnPtrWillBeMember<RuleSet> m_defaultQuirksStyle;
OwnPtrWillBeMember<RuleSet> m_defaultPrintStyle;
OwnPtrWillBeMember<RuleSet> m_defaultViewSourceStyle;
@@ -70,6 +73,7 @@ private:
RefPtrWillBeMember<StyleSheetContents> m_defaultStyleSheet;
RefPtrWillBeMember<StyleSheetContents> m_viewportStyleSheet;
+ RefPtrWillBeMember<StyleSheetContents> m_viewportOverrideStyleSheet;
RefPtrWillBeMember<StyleSheetContents> m_quirksStyleSheet;
RefPtrWillBeMember<StyleSheetContents> m_svgStyleSheet;
RefPtrWillBeMember<StyleSheetContents> m_mathmlStyleSheet;
« no previous file with comments | « no previous file | Source/core/css/CSSDefaultStyleSheets.cpp » ('j') | Source/core/inspector/InspectorPageAgent.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698