| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2011 Google Inc. All rights reserved. | 5 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 bool shouldProcessStyle() { return linkResourceToProcess() && linkStyle(); } | 160 bool shouldProcessStyle() { return linkResourceToProcess() && linkStyle(); } |
| 161 bool isCreatedByParser() const { return m_createdByParser; } | 161 bool isCreatedByParser() const { return m_createdByParser; } |
| 162 | 162 |
| 163 // Parse the icon size attribute into |iconSizes|, make this method public | 163 // Parse the icon size attribute into |iconSizes|, make this method public |
| 164 // visible for testing purpose. | 164 // visible for testing purpose. |
| 165 static void parseSizesAttribute(const AtomicString& value, Vector<IntSize>&
iconSizes); | 165 static void parseSizesAttribute(const AtomicString& value, Vector<IntSize>&
iconSizes); |
| 166 | 166 |
| 167 virtual void trace(Visitor*) OVERRIDE; | 167 virtual void trace(Visitor*) OVERRIDE; |
| 168 | 168 |
| 169 private: | 169 private: |
| 170 virtual void attributeWillChange(const QualifiedName&, const AtomicString& o
ldValue, const AtomicString& newValue) OVERRIDE; | |
| 171 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 170 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 172 | 171 |
| 173 LinkStyle* linkStyle() const; | 172 LinkStyle* linkStyle() const; |
| 174 LinkImport* linkImport() const; | 173 LinkImport* linkImport() const; |
| 175 LinkResource* linkResourceToProcess(); | 174 LinkResource* linkResourceToProcess(); |
| 176 | 175 |
| 177 void process(); | 176 void process(); |
| 178 static void processCallback(Node*); | 177 static void processCallback(Node*); |
| 179 | 178 |
| 180 // From Node and subclassses | 179 // From Node and subclassses |
| (...skipping 27 matching lines...) Expand all Loading... |
| 208 Vector<IntSize> m_iconSizes; | 207 Vector<IntSize> m_iconSizes; |
| 209 LinkRelAttribute m_relAttribute; | 208 LinkRelAttribute m_relAttribute; |
| 210 | 209 |
| 211 bool m_createdByParser; | 210 bool m_createdByParser; |
| 212 bool m_isInShadowTree; | 211 bool m_isInShadowTree; |
| 213 }; | 212 }; |
| 214 | 213 |
| 215 } //namespace | 214 } //namespace |
| 216 | 215 |
| 217 #endif | 216 #endif |
| OLD | NEW |