| 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 * |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #define StyleRule_h | 23 #define StyleRule_h |
| 24 | 24 |
| 25 #include "core/css/CSSSelectorList.h" | 25 #include "core/css/CSSSelectorList.h" |
| 26 #include "core/css/MediaList.h" | 26 #include "core/css/MediaList.h" |
| 27 #include "platform/heap/Handle.h" | 27 #include "platform/heap/Handle.h" |
| 28 #include "wtf/RefPtr.h" | 28 #include "wtf/RefPtr.h" |
| 29 | 29 |
| 30 namespace blink { | 30 namespace blink { |
| 31 | 31 |
| 32 class CSSRule; | 32 class CSSRule; |
| 33 class CSSStyleRule; | |
| 34 class CSSStyleSheet; | 33 class CSSStyleSheet; |
| 35 class MutableStylePropertySet; | 34 class MutableStylePropertySet; |
| 36 class StylePropertySet; | 35 class StylePropertySet; |
| 37 | 36 |
| 38 class StyleRuleBase : public RefCountedWillBeGarbageCollectedFinalized<StyleRule
Base> { | 37 class StyleRuleBase : public RefCountedWillBeGarbageCollectedFinalized<StyleRule
Base> { |
| 39 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 38 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
| 40 public: | 39 public: |
| 41 enum Type { | 40 enum Type { |
| 42 Unknown, // Not used. | 41 Unknown, // Not used. |
| 43 Style, | 42 Style, |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace); | 286 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace); |
| 288 DEFINE_STYLE_RULE_TYPE_CASTS(Page); | 287 DEFINE_STYLE_RULE_TYPE_CASTS(Page); |
| 289 DEFINE_STYLE_RULE_TYPE_CASTS(Media); | 288 DEFINE_STYLE_RULE_TYPE_CASTS(Media); |
| 290 DEFINE_STYLE_RULE_TYPE_CASTS(Supports); | 289 DEFINE_STYLE_RULE_TYPE_CASTS(Supports); |
| 291 DEFINE_STYLE_RULE_TYPE_CASTS(Viewport); | 290 DEFINE_STYLE_RULE_TYPE_CASTS(Viewport); |
| 292 DEFINE_STYLE_RULE_TYPE_CASTS(Filter); | 291 DEFINE_STYLE_RULE_TYPE_CASTS(Filter); |
| 293 | 292 |
| 294 } // namespace blink | 293 } // namespace blink |
| 295 | 294 |
| 296 #endif // StyleRule_h | 295 #endif // StyleRule_h |
| OLD | NEW |