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

Side by Side Diff: Source/core/css/CSSDefaultStyleSheets.h

Issue 138383003: Display MathML fallback content when it is specified and take into account inline/display modes for… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update comments in mathml.css Created 6 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 unified diff | Download patch
« no previous file with comments | « Source/core/core_generated.gyp ('k') | Source/core/css/CSSDefaultStyleSheets.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2013 Google Inc. All rights reserved. 4 * Copyright (C) 2013 Google Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 RuleSet* defaultPrintStyle() { return m_defaultPrintStyle.get(); } 43 RuleSet* defaultPrintStyle() { return m_defaultPrintStyle.get(); }
44 RuleSet* defaultViewSourceStyle(); 44 RuleSet* defaultViewSourceStyle();
45 45
46 // FIXME: Remove WAP support. 46 // FIXME: Remove WAP support.
47 RuleSet* defaultXHTMLMobileProfileStyle(); 47 RuleSet* defaultXHTMLMobileProfileStyle();
48 48
49 StyleSheetContents* defaultStyleSheet() { return m_defaultStyleSheet.get(); } 49 StyleSheetContents* defaultStyleSheet() { return m_defaultStyleSheet.get(); }
50 StyleSheetContents* viewportStyleSheet() { return m_viewportStyleSheet.get() ; } 50 StyleSheetContents* viewportStyleSheet() { return m_viewportStyleSheet.get() ; }
51 StyleSheetContents* quirksStyleSheet() { return m_quirksStyleSheet.get(); } 51 StyleSheetContents* quirksStyleSheet() { return m_quirksStyleSheet.get(); }
52 StyleSheetContents* svgStyleSheet() { return m_svgStyleSheet.get(); } 52 StyleSheetContents* svgStyleSheet() { return m_svgStyleSheet.get(); }
53 StyleSheetContents* mathmlStyleSheet() { return m_mathmlStyleSheet.get(); }
53 StyleSheetContents* mediaControlsStyleSheet() { return m_mediaControlsStyleS heet.get(); } 54 StyleSheetContents* mediaControlsStyleSheet() { return m_mediaControlsStyleS heet.get(); }
54 StyleSheetContents* fullscreenStyleSheet() { return m_fullscreenStyleSheet.g et(); } 55 StyleSheetContents* fullscreenStyleSheet() { return m_fullscreenStyleSheet.g et(); }
55 56
56 void trace(Visitor*); 57 void trace(Visitor*);
57 58
58 private: 59 private:
59 CSSDefaultStyleSheets(); 60 CSSDefaultStyleSheets();
60 61
61 OwnPtrWillBeMember<RuleSet> m_defaultStyle; 62 OwnPtrWillBeMember<RuleSet> m_defaultStyle;
62 OwnPtrWillBeMember<RuleSet> m_defaultViewportStyle; 63 OwnPtrWillBeMember<RuleSet> m_defaultViewportStyle;
63 OwnPtrWillBeMember<RuleSet> m_defaultQuirksStyle; 64 OwnPtrWillBeMember<RuleSet> m_defaultQuirksStyle;
64 OwnPtrWillBeMember<RuleSet> m_defaultPrintStyle; 65 OwnPtrWillBeMember<RuleSet> m_defaultPrintStyle;
65 OwnPtrWillBeMember<RuleSet> m_defaultViewSourceStyle; 66 OwnPtrWillBeMember<RuleSet> m_defaultViewSourceStyle;
66 OwnPtrWillBeMember<RuleSet> m_defaultXHTMLMobileProfileStyle; 67 OwnPtrWillBeMember<RuleSet> m_defaultXHTMLMobileProfileStyle;
67 68
68 RefPtrWillBeMember<StyleSheetContents> m_defaultStyleSheet; 69 RefPtrWillBeMember<StyleSheetContents> m_defaultStyleSheet;
69 RefPtrWillBeMember<StyleSheetContents> m_viewportStyleSheet; 70 RefPtrWillBeMember<StyleSheetContents> m_viewportStyleSheet;
70 RefPtrWillBeMember<StyleSheetContents> m_quirksStyleSheet; 71 RefPtrWillBeMember<StyleSheetContents> m_quirksStyleSheet;
71 RefPtrWillBeMember<StyleSheetContents> m_svgStyleSheet; 72 RefPtrWillBeMember<StyleSheetContents> m_svgStyleSheet;
73 RefPtrWillBeMember<StyleSheetContents> m_mathmlStyleSheet;
72 RefPtrWillBeMember<StyleSheetContents> m_mediaControlsStyleSheet; 74 RefPtrWillBeMember<StyleSheetContents> m_mediaControlsStyleSheet;
73 RefPtrWillBeMember<StyleSheetContents> m_fullscreenStyleSheet; 75 RefPtrWillBeMember<StyleSheetContents> m_fullscreenStyleSheet;
74 }; 76 };
75 77
76 } // namespace WebCore 78 } // namespace WebCore
77 79
78 #endif // CSSDefaultStyleSheets_h 80 #endif // CSSDefaultStyleSheets_h
OLDNEW
« no previous file with comments | « Source/core/core_generated.gyp ('k') | Source/core/css/CSSDefaultStyleSheets.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698