OLD | NEW |
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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #include "heap/Handle.h" | 26 #include "heap/Handle.h" |
27 | 27 |
28 namespace WebCore { | 28 namespace WebCore { |
29 | 29 |
30 class Element; | 30 class Element; |
31 class RuleSet; | 31 class RuleSet; |
32 class StyleSheetContents; | 32 class StyleSheetContents; |
33 | 33 |
34 class CSSDefaultStyleSheets : public NoBaseWillBeGarbageCollected<CSSDefaultStyl
eSheets> { | 34 class CSSDefaultStyleSheets : public NoBaseWillBeGarbageCollected<CSSDefaultStyl
eSheets> { |
35 DECLARE_GC_INFO | |
36 public: | 35 public: |
37 static CSSDefaultStyleSheets& instance(); | 36 static CSSDefaultStyleSheets& instance(); |
38 | 37 |
39 void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaultStyle)
; | 38 void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaultStyle)
; |
40 | 39 |
41 RuleSet* defaultStyle() { return m_defaultStyle;} | 40 RuleSet* defaultStyle() { return m_defaultStyle;} |
42 RuleSet* defaultViewportStyle() { return m_defaultViewportStyle;} | 41 RuleSet* defaultViewportStyle() { return m_defaultViewportStyle;} |
43 RuleSet* defaultQuirksStyle() { return m_defaultQuirksStyle;} | 42 RuleSet* defaultQuirksStyle() { return m_defaultQuirksStyle;} |
44 RuleSet* defaultPrintStyle() { return m_defaultPrintStyle;} | 43 RuleSet* defaultPrintStyle() { return m_defaultPrintStyle;} |
45 RuleSet* defaultViewSourceStyle(); | 44 RuleSet* defaultViewSourceStyle(); |
(...skipping 24 matching lines...) Expand all Loading... |
70 RefPtrWillBeMember<StyleSheetContents> m_viewportStyleSheet; | 69 RefPtrWillBeMember<StyleSheetContents> m_viewportStyleSheet; |
71 RefPtrWillBeMember<StyleSheetContents> m_quirksStyleSheet; | 70 RefPtrWillBeMember<StyleSheetContents> m_quirksStyleSheet; |
72 RefPtrWillBeMember<StyleSheetContents> m_svgStyleSheet; | 71 RefPtrWillBeMember<StyleSheetContents> m_svgStyleSheet; |
73 RefPtrWillBeMember<StyleSheetContents> m_mediaControlsStyleSheet; | 72 RefPtrWillBeMember<StyleSheetContents> m_mediaControlsStyleSheet; |
74 RefPtrWillBeMember<StyleSheetContents> m_fullscreenStyleSheet; | 73 RefPtrWillBeMember<StyleSheetContents> m_fullscreenStyleSheet; |
75 }; | 74 }; |
76 | 75 |
77 } // namespace WebCore | 76 } // namespace WebCore |
78 | 77 |
79 #endif // CSSDefaultStyleSheets_h | 78 #endif // CSSDefaultStyleSheets_h |
OLD | NEW |