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

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: Rebased Created 5 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
« no previous file with comments | « no previous file | Source/core/css/CSSDefaultStyleSheets.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSDefaultStyleSheets.h
diff --git a/Source/core/css/CSSDefaultStyleSheets.h b/Source/core/css/CSSDefaultStyleSheets.h
index f547365c54dd5b62ed082f56970637750714ed7e..388b30288aeac5b3747fd1707216f9d08a7d9a7c 100644
--- a/Source/core/css/CSSDefaultStyleSheets.h
+++ b/Source/core/css/CSSDefaultStyleSheets.h
@@ -38,17 +38,16 @@ public:
void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaultStyle);
RuleSet* defaultStyle() { return m_defaultStyle.get(); }
- RuleSet* defaultViewportStyle() { return m_defaultViewportStyle.get(); }
RuleSet* defaultQuirksStyle() { return m_defaultQuirksStyle.get(); }
RuleSet* defaultPrintStyle() { return m_defaultPrintStyle.get(); }
RuleSet* defaultViewSourceStyle();
RuleSet* defaultTransitionStyle();
+ RuleSet* defaultMobileViewportStyle();
// FIXME: Remove WAP support.
RuleSet* defaultXHTMLMobileProfileStyle();
StyleSheetContents* defaultStyleSheet() { return m_defaultStyleSheet.get(); }
- StyleSheetContents* viewportStyleSheet() { return m_viewportStyleSheet.get(); }
StyleSheetContents* quirksStyleSheet() { return m_quirksStyleSheet.get(); }
StyleSheetContents* svgStyleSheet() { return m_svgStyleSheet.get(); }
StyleSheetContents* mathmlStyleSheet() { return m_mathmlStyleSheet.get(); }
@@ -61,7 +60,7 @@ private:
CSSDefaultStyleSheets();
OwnPtrWillBeMember<RuleSet> m_defaultStyle;
- OwnPtrWillBeMember<RuleSet> m_defaultViewportStyle;
+ OwnPtrWillBeMember<RuleSet> m_defaultMobileViewportStyle;
OwnPtrWillBeMember<RuleSet> m_defaultQuirksStyle;
OwnPtrWillBeMember<RuleSet> m_defaultPrintStyle;
OwnPtrWillBeMember<RuleSet> m_defaultViewSourceStyle;
@@ -69,7 +68,7 @@ private:
OwnPtrWillBeMember<RuleSet> m_defaultTransitionStyle;
RefPtrWillBeMember<StyleSheetContents> m_defaultStyleSheet;
- RefPtrWillBeMember<StyleSheetContents> m_viewportStyleSheet;
+ RefPtrWillBeMember<StyleSheetContents> m_mobileViewportStyleSheet;
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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698