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

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

Issue 2405143003: Separate @viewport from other RuleSet construction. (Closed)
Patch Set: Missing resolve() 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.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/CSSDefaultStyleSheets.h
diff --git a/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h b/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h
index c174300003154e3f1fd31833e878415edec69cb6..9b3fd6f31892a283841a0ff51ca3f4cd4435a466 100644
--- a/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h
+++ b/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h
@@ -47,11 +47,11 @@ class CSSDefaultStyleSheets : public GarbageCollected<CSSDefaultStyleSheets> {
RuleSet* defaultQuirksStyle() { return m_defaultQuirksStyle.get(); }
RuleSet* defaultPrintStyle() { return m_defaultPrintStyle.get(); }
RuleSet* defaultViewSourceStyle();
- RuleSet* defaultMobileViewportStyle();
- RuleSet* defaultTelevisionViewportStyle();
+ StyleSheetContents* ensureMobileViewportStyleSheet();
+ StyleSheetContents* ensureTelevisionViewportStyleSheet();
// FIXME: Remove WAP support.
- RuleSet* defaultXHTMLMobileProfileStyle();
+ StyleSheetContents* ensureXHTMLMobileProfileStyleSheet();
StyleSheetContents* defaultStyleSheet() { return m_defaultStyleSheet.get(); }
StyleSheetContents* quirksStyleSheet() { return m_quirksStyleSheet.get(); }
@@ -70,16 +70,14 @@ class CSSDefaultStyleSheets : public GarbageCollected<CSSDefaultStyleSheets> {
CSSDefaultStyleSheets();
Member<RuleSet> m_defaultStyle;
- Member<RuleSet> m_defaultMobileViewportStyle;
- Member<RuleSet> m_defaultTelevisionViewportStyle;
Member<RuleSet> m_defaultQuirksStyle;
Member<RuleSet> m_defaultPrintStyle;
Member<RuleSet> m_defaultViewSourceStyle;
- Member<RuleSet> m_defaultXHTMLMobileProfileStyle;
Member<StyleSheetContents> m_defaultStyleSheet;
Member<StyleSheetContents> m_mobileViewportStyleSheet;
Member<StyleSheetContents> m_televisionViewportStyleSheet;
+ Member<StyleSheetContents> m_xhtmlMobileProfileStyleSheet;
Member<StyleSheetContents> m_quirksStyleSheet;
Member<StyleSheetContents> m_svgStyleSheet;
Member<StyleSheetContents> m_mathmlStyleSheet;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698