| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 // WebKit extensions | 222 // WebKit extensions |
| 223 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut); | 223 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut); |
| 224 DEFINE_ATTRIBUTE_EVENT_LISTENER(cut); | 224 DEFINE_ATTRIBUTE_EVENT_LISTENER(cut); |
| 225 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy); | 225 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy); |
| 226 DEFINE_ATTRIBUTE_EVENT_LISTENER(copy); | 226 DEFINE_ATTRIBUTE_EVENT_LISTENER(copy); |
| 227 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste); | 227 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste); |
| 228 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste); | 228 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste); |
| 229 DEFINE_ATTRIBUTE_EVENT_LISTENER(reset); | 229 DEFINE_ATTRIBUTE_EVENT_LISTENER(reset); |
| 230 DEFINE_ATTRIBUTE_EVENT_LISTENER(search); | 230 DEFINE_ATTRIBUTE_EVENT_LISTENER(search); |
| 231 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart); | 231 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart); |
| 232 #if ENABLE(TOUCH_EVENTS) |
| 232 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart); | 233 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart); |
| 233 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove); | 234 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove); |
| 234 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend); | 235 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend); |
| 235 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); | 236 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); |
| 237 #endif |
| 236 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange); | 238 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange); |
| 237 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror); | 239 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror); |
| 238 | 240 |
| 239 bool hasAttribute(const QualifiedName&) const; | 241 bool hasAttribute(const QualifiedName&) const; |
| 240 const AtomicString& getAttribute(const QualifiedName&) const; | 242 const AtomicString& getAttribute(const QualifiedName&) const; |
| 241 void setAttribute(const QualifiedName&, const AtomicString& value); | 243 void setAttribute(const QualifiedName&, const AtomicString& value); |
| 242 void setSynchronizedLazyAttribute(const QualifiedName&, const AtomicString&
value); | 244 void setSynchronizedLazyAttribute(const QualifiedName&, const AtomicString&
value); |
| 243 void removeAttribute(const QualifiedName&); | 245 void removeAttribute(const QualifiedName&); |
| 244 | 246 |
| 245 // Typed getters and setters for language bindings. | 247 // Typed getters and setters for language bindings. |
| (...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1017 | 1019 |
| 1018 inline const Attribute* ElementData::attributeItem(unsigned index) const | 1020 inline const Attribute* ElementData::attributeItem(unsigned index) const |
| 1019 { | 1021 { |
| 1020 RELEASE_ASSERT(index < length()); | 1022 RELEASE_ASSERT(index < length()); |
| 1021 return attributeBase() + index; | 1023 return attributeBase() + index; |
| 1022 } | 1024 } |
| 1023 | 1025 |
| 1024 } // namespace | 1026 } // namespace |
| 1025 | 1027 |
| 1026 #endif | 1028 #endif |
| OLD | NEW |