| 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, 2007, 2012 Apple Inc. All rights reserved. | 4 * Copyright (C) 2002, 2006, 2007, 2012 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2011 Andreas Kling (kling@webkit.org) | 5 * Copyright (C) 2011 Andreas Kling (kling@webkit.org) |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 WEBKIT_KEYFRAME_RULE, | 52 WEBKIT_KEYFRAME_RULE, |
| 53 #if ENABLE(CSS3_CONDITIONAL_RULES) | 53 #if ENABLE(CSS3_CONDITIONAL_RULES) |
| 54 SUPPORTS_RULE = 12, | 54 SUPPORTS_RULE = 12, |
| 55 #endif | 55 #endif |
| 56 #if ENABLE(CSS_DEVICE_ADAPTATION) | 56 #if ENABLE(CSS_DEVICE_ADAPTATION) |
| 57 WEBKIT_VIEWPORT_RULE = 15, | 57 WEBKIT_VIEWPORT_RULE = 15, |
| 58 #endif | 58 #endif |
| 59 #if ENABLE(CSS_REGIONS) | 59 #if ENABLE(CSS_REGIONS) |
| 60 WEBKIT_REGION_RULE = 16, | 60 WEBKIT_REGION_RULE = 16, |
| 61 #endif | 61 #endif |
| 62 #if ENABLE(CSS_SHADERS) | |
| 63 WEBKIT_FILTER_RULE = 17, | 62 WEBKIT_FILTER_RULE = 17, |
| 64 #endif | |
| 65 #if ENABLE(SHADOW_DOM) | 63 #if ENABLE(SHADOW_DOM) |
| 66 HOST_RULE = 1001, | 64 HOST_RULE = 1001, |
| 67 #endif | 65 #endif |
| 68 }; | 66 }; |
| 69 | 67 |
| 70 virtual Type type() const = 0; | 68 virtual Type type() const = 0; |
| 71 virtual String cssText() const = 0; | 69 virtual String cssText() const = 0; |
| 72 virtual void reattach(StyleRuleBase*) = 0; | 70 virtual void reattach(StyleRuleBase*) = 0; |
| 73 virtual void reportMemoryUsage(MemoryObjectInfo*) const; | 71 virtual void reportMemoryUsage(MemoryObjectInfo*) const; |
| 74 | 72 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 | 113 |
| 116 union { | 114 union { |
| 117 CSSRule* m_parentRule; | 115 CSSRule* m_parentRule; |
| 118 CSSStyleSheet* m_parentStyleSheet; | 116 CSSStyleSheet* m_parentStyleSheet; |
| 119 }; | 117 }; |
| 120 }; | 118 }; |
| 121 | 119 |
| 122 } // namespace WebCore | 120 } // namespace WebCore |
| 123 | 121 |
| 124 #endif // CSSRule_h | 122 #endif // CSSRule_h |
| OLD | NEW |