| 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseover); | 229 DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseover); |
| 230 DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseup); | 230 DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseup); |
| 231 DEFINE_ATTRIBUTE_EVENT_LISTENER(mousewheel); | 231 DEFINE_ATTRIBUTE_EVENT_LISTENER(mousewheel); |
| 232 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste); | 232 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste); |
| 233 DEFINE_ATTRIBUTE_EVENT_LISTENER(pause); | 233 DEFINE_ATTRIBUTE_EVENT_LISTENER(pause); |
| 234 DEFINE_ATTRIBUTE_EVENT_LISTENER(play); | 234 DEFINE_ATTRIBUTE_EVENT_LISTENER(play); |
| 235 DEFINE_ATTRIBUTE_EVENT_LISTENER(playing); | 235 DEFINE_ATTRIBUTE_EVENT_LISTENER(playing); |
| 236 DEFINE_ATTRIBUTE_EVENT_LISTENER(progress); | 236 DEFINE_ATTRIBUTE_EVENT_LISTENER(progress); |
| 237 DEFINE_ATTRIBUTE_EVENT_LISTENER(ratechange); | 237 DEFINE_ATTRIBUTE_EVENT_LISTENER(ratechange); |
| 238 DEFINE_ATTRIBUTE_EVENT_LISTENER(reset); | 238 DEFINE_ATTRIBUTE_EVENT_LISTENER(reset); |
| 239 DEFINE_ATTRIBUTE_EVENT_LISTENER(scroll); | |
| 240 DEFINE_ATTRIBUTE_EVENT_LISTENER(search); | 239 DEFINE_ATTRIBUTE_EVENT_LISTENER(search); |
| 241 DEFINE_ATTRIBUTE_EVENT_LISTENER(seeked); | 240 DEFINE_ATTRIBUTE_EVENT_LISTENER(seeked); |
| 242 DEFINE_ATTRIBUTE_EVENT_LISTENER(seeking); | 241 DEFINE_ATTRIBUTE_EVENT_LISTENER(seeking); |
| 243 DEFINE_ATTRIBUTE_EVENT_LISTENER(select); | 242 DEFINE_ATTRIBUTE_EVENT_LISTENER(select); |
| 244 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart); | 243 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart); |
| 245 DEFINE_ATTRIBUTE_EVENT_LISTENER(show); | 244 DEFINE_ATTRIBUTE_EVENT_LISTENER(show); |
| 246 DEFINE_ATTRIBUTE_EVENT_LISTENER(stalled); | 245 DEFINE_ATTRIBUTE_EVENT_LISTENER(stalled); |
| 247 DEFINE_ATTRIBUTE_EVENT_LISTENER(submit); | 246 DEFINE_ATTRIBUTE_EVENT_LISTENER(submit); |
| 248 DEFINE_ATTRIBUTE_EVENT_LISTENER(suspend); | 247 DEFINE_ATTRIBUTE_EVENT_LISTENER(suspend); |
| 249 DEFINE_ATTRIBUTE_EVENT_LISTENER(timeupdate); | 248 DEFINE_ATTRIBUTE_EVENT_LISTENER(timeupdate); |
| 250 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); | 249 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); |
| 251 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend); | 250 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend); |
| 252 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove); | 251 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove); |
| 253 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart); | 252 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart); |
| 254 DEFINE_ATTRIBUTE_EVENT_LISTENER(volumechange); | 253 DEFINE_ATTRIBUTE_EVENT_LISTENER(volumechange); |
| 255 DEFINE_ATTRIBUTE_EVENT_LISTENER(waiting); | 254 DEFINE_ATTRIBUTE_EVENT_LISTENER(waiting); |
| 256 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange); | 255 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange); |
| 257 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror); | 256 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror); |
| 258 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel); | 257 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel); |
| 259 | 258 |
| 260 // These four attribute event handler attributes are overridden by HTMLBodyE
lement | 259 // These four attribute event handler attributes are overridden by HTMLBodyE
lement |
| 261 // and HTMLFrameSetElement to forward to the DOMWindow. | 260 // and HTMLFrameSetElement to forward to the DOMWindow. |
| 262 DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(blur); | 261 DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(blur); |
| 263 DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(error); | 262 DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(error); |
| 264 DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(focus); | 263 DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(focus); |
| 265 DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(load); | 264 DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(load); |
| 265 DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(scroll); |
| 266 | 266 |
| 267 bool hasAttribute(const QualifiedName&) const; | 267 bool hasAttribute(const QualifiedName&) const; |
| 268 const AtomicString& getAttribute(const QualifiedName&) const; | 268 const AtomicString& getAttribute(const QualifiedName&) const; |
| 269 void setAttribute(const QualifiedName&, const AtomicString& value); | 269 void setAttribute(const QualifiedName&, const AtomicString& value); |
| 270 void setSynchronizedLazyAttribute(const QualifiedName&, const AtomicString&
value); | 270 void setSynchronizedLazyAttribute(const QualifiedName&, const AtomicString&
value); |
| 271 void removeAttribute(const QualifiedName&); | 271 void removeAttribute(const QualifiedName&); |
| 272 | 272 |
| 273 // Typed getters and setters for language bindings. | 273 // Typed getters and setters for language bindings. |
| 274 int getIntegralAttribute(const QualifiedName& attributeName) const; | 274 int getIntegralAttribute(const QualifiedName& attributeName) const; |
| 275 void setIntegralAttribute(const QualifiedName& attributeName, int value); | 275 void setIntegralAttribute(const QualifiedName& attributeName, int value); |
| (...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1084 | 1084 |
| 1085 inline const Attribute* ElementData::attributeItem(unsigned index) const | 1085 inline const Attribute* ElementData::attributeItem(unsigned index) const |
| 1086 { | 1086 { |
| 1087 RELEASE_ASSERT(index < length()); | 1087 RELEASE_ASSERT(index < length()); |
| 1088 return attributeBase() + index; | 1088 return attributeBase() + index; |
| 1089 } | 1089 } |
| 1090 | 1090 |
| 1091 } // namespace | 1091 } // namespace |
| 1092 | 1092 |
| 1093 #endif | 1093 #endif |
| OLD | NEW |