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) | |
233 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart); | 232 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart); |
234 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove); | 233 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove); |
235 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend); | 234 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend); |
236 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); | 235 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); |
237 #endif | |
238 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange); | 236 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange); |
239 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror); | 237 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror); |
240 | 238 |
241 bool hasAttribute(const QualifiedName&) const; | 239 bool hasAttribute(const QualifiedName&) const; |
242 const AtomicString& getAttribute(const QualifiedName&) const; | 240 const AtomicString& getAttribute(const QualifiedName&) const; |
243 void setAttribute(const QualifiedName&, const AtomicString& value); | 241 void setAttribute(const QualifiedName&, const AtomicString& value); |
244 void setSynchronizedLazyAttribute(const QualifiedName&, const AtomicString&
value); | 242 void setSynchronizedLazyAttribute(const QualifiedName&, const AtomicString&
value); |
245 void removeAttribute(const QualifiedName&); | 243 void removeAttribute(const QualifiedName&); |
246 | 244 |
247 // Typed getters and setters for language bindings. | 245 // Typed getters and setters for language bindings. |
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1019 | 1017 |
1020 inline const Attribute* ElementData::attributeItem(unsigned index) const | 1018 inline const Attribute* ElementData::attributeItem(unsigned index) const |
1021 { | 1019 { |
1022 RELEASE_ASSERT(index < length()); | 1020 RELEASE_ASSERT(index < length()); |
1023 return attributeBase() + index; | 1021 return attributeBase() + index; |
1024 } | 1022 } |
1025 | 1023 |
1026 } // namespace | 1024 } // namespace |
1027 | 1025 |
1028 #endif | 1026 #endif |
OLD | NEW |