| 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 24 matching lines...) Expand all Loading... |
| 35 static RuleSet* defaultViewportStyle; | 35 static RuleSet* defaultViewportStyle; |
| 36 static RuleSet* defaultQuirksStyle; | 36 static RuleSet* defaultQuirksStyle; |
| 37 static RuleSet* defaultPrintStyle; | 37 static RuleSet* defaultPrintStyle; |
| 38 static RuleSet* defaultViewSourceStyle; | 38 static RuleSet* defaultViewSourceStyle; |
| 39 static RuleSet* defaultXHTMLMobileProfileStyle; | 39 static RuleSet* defaultXHTMLMobileProfileStyle; |
| 40 | 40 |
| 41 static StyleSheetContents* defaultStyleSheet; | 41 static StyleSheetContents* defaultStyleSheet; |
| 42 static StyleSheetContents* viewportStyleSheet; | 42 static StyleSheetContents* viewportStyleSheet; |
| 43 static StyleSheetContents* quirksStyleSheet; | 43 static StyleSheetContents* quirksStyleSheet; |
| 44 static StyleSheetContents* svgStyleSheet; | 44 static StyleSheetContents* svgStyleSheet; |
| 45 static StyleSheetContents* mathmlStyleSheet; |
| 45 static StyleSheetContents* mediaControlsStyleSheet; | 46 static StyleSheetContents* mediaControlsStyleSheet; |
| 46 static StyleSheetContents* fullscreenStyleSheet; | 47 static StyleSheetContents* fullscreenStyleSheet; |
| 47 | 48 |
| 48 static void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaul
tStyle); | 49 static void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaul
tStyle); |
| 49 // FIXME: defaultStyleSheet should have an accessor which incorporates this
branch: | 50 // FIXME: defaultStyleSheet should have an accessor which incorporates this
branch: |
| 50 static void loadDefaultStylesheetIfNecessary(); | 51 static void loadDefaultStylesheetIfNecessary(); |
| 51 | 52 |
| 52 static RuleSet* viewSourceStyle(); | 53 static RuleSet* viewSourceStyle(); |
| 53 | 54 |
| 54 // FIXME: Remove WAP support. | 55 // FIXME: Remove WAP support. |
| 55 static RuleSet* xhtmlMobileProfileStyle(); | 56 static RuleSet* xhtmlMobileProfileStyle(); |
| 56 | 57 |
| 57 private: | 58 private: |
| 58 static void loadDefaultStyle(); | 59 static void loadDefaultStyle(); |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 } // namespace WebCore | 62 } // namespace WebCore |
| 62 | 63 |
| 63 #endif // CSSDefaultStyleSheets_h | 64 #endif // CSSDefaultStyleSheets_h |
| OLD | NEW |