| 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-2011, 2013, 2014 Apple Inc. All rights reserved. | 6 * Copyright (C) 2003-2011, 2013, 2014 Apple 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy); | 133 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy); |
| 134 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut); | 134 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut); |
| 135 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste); | 135 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste); |
| 136 DEFINE_ATTRIBUTE_EVENT_LISTENER(copy); | 136 DEFINE_ATTRIBUTE_EVENT_LISTENER(copy); |
| 137 DEFINE_ATTRIBUTE_EVENT_LISTENER(cut); | 137 DEFINE_ATTRIBUTE_EVENT_LISTENER(cut); |
| 138 DEFINE_ATTRIBUTE_EVENT_LISTENER(gotpointercapture); | 138 DEFINE_ATTRIBUTE_EVENT_LISTENER(gotpointercapture); |
| 139 DEFINE_ATTRIBUTE_EVENT_LISTENER(lostpointercapture); | 139 DEFINE_ATTRIBUTE_EVENT_LISTENER(lostpointercapture); |
| 140 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste); | 140 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste); |
| 141 DEFINE_ATTRIBUTE_EVENT_LISTENER(search); | 141 DEFINE_ATTRIBUTE_EVENT_LISTENER(search); |
| 142 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart); | 142 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart); |
| 143 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel); | |
| 144 | 143 |
| 145 bool hasAttribute(const QualifiedName&) const; | 144 bool hasAttribute(const QualifiedName&) const; |
| 146 const AtomicString& getAttribute(const QualifiedName&) const; | 145 const AtomicString& getAttribute(const QualifiedName&) const; |
| 147 | 146 |
| 148 // Passing nullAtom as the second parameter removes the attribute when calling | 147 // Passing nullAtom as the second parameter removes the attribute when calling |
| 149 // either of these set methods. | 148 // either of these set methods. |
| 150 void setAttribute(const QualifiedName&, const AtomicString& value); | 149 void setAttribute(const QualifiedName&, const AtomicString& value); |
| 151 void SetSynchronizedLazyAttribute(const QualifiedName&, | 150 void SetSynchronizedLazyAttribute(const QualifiedName&, |
| 152 const AtomicString& value); | 151 const AtomicString& value); |
| 153 | 152 |
| (...skipping 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1239 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1238 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1240 static T* Create(const QualifiedName&, Document&) | 1239 static T* Create(const QualifiedName&, Document&) |
| 1241 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1240 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1242 T* T::Create(const QualifiedName& tagName, Document& document) { \ | 1241 T* T::Create(const QualifiedName& tagName, Document& document) { \ |
| 1243 return new T(tagName, document); \ | 1242 return new T(tagName, document); \ |
| 1244 } | 1243 } |
| 1245 | 1244 |
| 1246 } // namespace blink | 1245 } // namespace blink |
| 1247 | 1246 |
| 1248 #endif // Element_h | 1247 #endif // Element_h |
| OLD | NEW |