| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All rights
reserved. | 3 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All rights
reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #define CSSStyleSheet_h | 22 #define CSSStyleSheet_h |
| 23 | 23 |
| 24 #include "core/css/CSSRule.h" | 24 #include "core/css/CSSRule.h" |
| 25 #include "core/css/StyleSheet.h" | 25 #include "core/css/StyleSheet.h" |
| 26 #include "platform/heap/Handle.h" | 26 #include "platform/heap/Handle.h" |
| 27 #include "wtf/Noncopyable.h" | 27 #include "wtf/Noncopyable.h" |
| 28 #include "wtf/text/TextPosition.h" | 28 #include "wtf/text/TextPosition.h" |
| 29 | 29 |
| 30 namespace blink { | 30 namespace blink { |
| 31 | 31 |
| 32 class CSSCharsetRule; | |
| 33 class CSSImportRule; | 32 class CSSImportRule; |
| 34 class BisonCSSParser; | |
| 35 class CSSRule; | 33 class CSSRule; |
| 36 class CSSRuleList; | 34 class CSSRuleList; |
| 37 class CSSStyleSheet; | 35 class CSSStyleSheet; |
| 38 class CSSStyleSheetResource; | |
| 39 class Document; | 36 class Document; |
| 40 class ExceptionState; | 37 class ExceptionState; |
| 41 class MediaQuerySet; | 38 class MediaQuerySet; |
| 42 class SecurityOrigin; | |
| 43 class StyleSheetContents; | 39 class StyleSheetContents; |
| 44 | 40 |
| 45 enum StyleSheetUpdateType { | 41 enum StyleSheetUpdateType { |
| 46 PartialRuleUpdate, | 42 PartialRuleUpdate, |
| 47 EntireStyleSheetUpdate | 43 EntireStyleSheetUpdate |
| 48 }; | 44 }; |
| 49 | 45 |
| 50 class CSSStyleSheet FINAL : public StyleSheet { | 46 class CSSStyleSheet FINAL : public StyleSheet { |
| 51 DEFINE_WRAPPERTYPEINFO(); | 47 DEFINE_WRAPPERTYPEINFO(); |
| 52 public: | 48 public: |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 { | 164 { |
| 169 if (m_styleSheet) | 165 if (m_styleSheet) |
| 170 m_styleSheet->didMutateRules(); | 166 m_styleSheet->didMutateRules(); |
| 171 } | 167 } |
| 172 | 168 |
| 173 DEFINE_TYPE_CASTS(CSSStyleSheet, StyleSheet, sheet, sheet->isCSSStyleSheet(), sh
eet.isCSSStyleSheet()); | 169 DEFINE_TYPE_CASTS(CSSStyleSheet, StyleSheet, sheet, sheet->isCSSStyleSheet(), sh
eet.isCSSStyleSheet()); |
| 174 | 170 |
| 175 } // namespace blink | 171 } // namespace blink |
| 176 | 172 |
| 177 #endif | 173 #endif |
| OLD | NEW |