| 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 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e Inc. All rights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e Inc. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 const AtomicString& getAttribute(const QualifiedName&) const; | 107 const AtomicString& getAttribute(const QualifiedName&) const; |
| 108 void setAttribute(const QualifiedName&, const AtomicString& value); | 108 void setAttribute(const QualifiedName&, const AtomicString& value); |
| 109 void setSynchronizedLazyAttribute(const QualifiedName&, const AtomicString&
value); | 109 void setSynchronizedLazyAttribute(const QualifiedName&, const AtomicString&
value); |
| 110 void removeAttribute(const QualifiedName&); | 110 void removeAttribute(const QualifiedName&); |
| 111 | 111 |
| 112 // Typed getters and setters for language bindings. | 112 // Typed getters and setters for language bindings. |
| 113 int getIntegralAttribute(const QualifiedName& attributeName) const; | 113 int getIntegralAttribute(const QualifiedName& attributeName) const; |
| 114 void setIntegralAttribute(const QualifiedName& attributeName, int value); | 114 void setIntegralAttribute(const QualifiedName& attributeName, int value); |
| 115 unsigned getUnsignedIntegralAttribute(const QualifiedName& attributeName) co
nst; | 115 unsigned getUnsignedIntegralAttribute(const QualifiedName& attributeName) co
nst; |
| 116 void setUnsignedIntegralAttribute(const QualifiedName& attributeName, unsign
ed value); | 116 void setUnsignedIntegralAttribute(const QualifiedName& attributeName, unsign
ed value); |
| 117 double getFloatingPointAttribute(const QualifiedName& attributeName, double
fallbackValue) const; |
| 118 double getFloatingPointAttribute(const QualifiedName& attributeName) const; |
| 119 void setFloatingPointAttribute(const QualifiedName& attributeName, double va
lue); |
| 117 | 120 |
| 118 // Call this to get the value of an attribute that is known not to be the st
yle | 121 // Call this to get the value of an attribute that is known not to be the st
yle |
| 119 // attribute or one of the SVG animatable attributes. | 122 // attribute or one of the SVG animatable attributes. |
| 120 bool fastHasAttribute(const QualifiedName&) const; | 123 bool fastHasAttribute(const QualifiedName&) const; |
| 121 const AtomicString& fastGetAttribute(const QualifiedName&) const; | 124 const AtomicString& fastGetAttribute(const QualifiedName&) const; |
| 122 #ifndef NDEBUG | 125 #ifndef NDEBUG |
| 123 bool fastAttributeLookupAllowed(const QualifiedName&) const; | 126 bool fastAttributeLookupAllowed(const QualifiedName&) const; |
| 124 #endif | 127 #endif |
| 125 | 128 |
| 126 #ifdef DUMP_NODE_STATISTICS | 129 #ifdef DUMP_NODE_STATISTICS |
| (...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 886 } | 889 } |
| 887 | 890 |
| 888 inline bool isShadowHost(const Element* element) | 891 inline bool isShadowHost(const Element* element) |
| 889 { | 892 { |
| 890 return element && element->shadow(); | 893 return element && element->shadow(); |
| 891 } | 894 } |
| 892 | 895 |
| 893 } // namespace | 896 } // namespace |
| 894 | 897 |
| 895 #endif | 898 #endif |
| OLD | NEW |