| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) | 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) |
| 4 * Copyright (C) 2002, 2006, 2008, 2012, 2013 Apple Inc. All rights reserved. | 4 * Copyright (C) 2002, 2006, 2008, 2012, 2013 Apple 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 * |
| 11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| 15 * | 15 * |
| 16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
| 17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
| 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #ifndef StyleRule_h | 22 #ifndef SKY_ENGINE_CORE_CSS_STYLERULE_H_ |
| 23 #define StyleRule_h | 23 #define SKY_ENGINE_CORE_CSS_STYLERULE_H_ |
| 24 | 24 |
| 25 #include "sky/engine/core/css/CSSSelectorList.h" | 25 #include "sky/engine/core/css/CSSSelectorList.h" |
| 26 #include "sky/engine/core/css/MediaList.h" | 26 #include "sky/engine/core/css/MediaList.h" |
| 27 #include "sky/engine/platform/heap/Handle.h" | 27 #include "sky/engine/platform/heap/Handle.h" |
| 28 #include "sky/engine/wtf/RefPtr.h" | 28 #include "sky/engine/wtf/RefPtr.h" |
| 29 | 29 |
| 30 namespace blink { | 30 namespace blink { |
| 31 | 31 |
| 32 class CSSRule; | 32 class CSSRule; |
| 33 class CSSStyleRule; | 33 class CSSStyleRule; |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 DEFINE_TYPE_CASTS(StyleRule##Type, StyleRuleBase, rule, rule->is##Type##Rule
(), rule.is##Type##Rule()) | 212 DEFINE_TYPE_CASTS(StyleRule##Type, StyleRuleBase, rule, rule->is##Type##Rule
(), rule.is##Type##Rule()) |
| 213 | 213 |
| 214 DEFINE_TYPE_CASTS(StyleRule, StyleRuleBase, rule, rule->isStyleRule(), rule.isSt
yleRule()); | 214 DEFINE_TYPE_CASTS(StyleRule, StyleRuleBase, rule, rule->isStyleRule(), rule.isSt
yleRule()); |
| 215 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace); | 215 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace); |
| 216 DEFINE_STYLE_RULE_TYPE_CASTS(Media); | 216 DEFINE_STYLE_RULE_TYPE_CASTS(Media); |
| 217 DEFINE_STYLE_RULE_TYPE_CASTS(Supports); | 217 DEFINE_STYLE_RULE_TYPE_CASTS(Supports); |
| 218 DEFINE_STYLE_RULE_TYPE_CASTS(Filter); | 218 DEFINE_STYLE_RULE_TYPE_CASTS(Filter); |
| 219 | 219 |
| 220 } // namespace blink | 220 } // namespace blink |
| 221 | 221 |
| 222 #endif // StyleRule_h | 222 #endif // SKY_ENGINE_CORE_CSS_STYLERULE_H_ |
| OLD | NEW |