| 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 Apple Inc. All rights | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
| 7 * reserved. | 7 * reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| 11 * License as published by the Free Software Foundation; either | 11 * License as published by the Free Software Foundation; either |
| 12 * version 2 of the License, or (at your option) any later version. | 12 * version 2 of the License, or (at your option) any later version. |
| 13 * | 13 * |
| 14 * This library is distributed in the hope that it will be useful, | 14 * This library is distributed in the hope that it will be useful, |
| 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 * Library General Public License for more details. | 17 * Library General Public License for more details. |
| 18 * | 18 * |
| 19 * You should have received a copy of the GNU Library General Public License | 19 * You should have received a copy of the GNU Library General Public License |
| 20 * along with this library; see the file COPYING.LIB. If not, write to | 20 * along with this library; see the file COPYING.LIB. If not, write to |
| 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 22 * Boston, MA 02110-1301, USA. | 22 * Boston, MA 02110-1301, USA. |
| 23 * | 23 * |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef Attr_h | 26 #ifndef Attr_h |
| 27 #define Attr_h | 27 #define Attr_h |
| 28 | 28 |
| 29 #include "bindings/core/v8/TraceWrapperMember.h" | |
| 30 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
| 31 #include "core/dom/Node.h" | 30 #include "core/dom/Node.h" |
| 32 #include "core/dom/QualifiedName.h" | 31 #include "core/dom/QualifiedName.h" |
| 32 #include "platform/bindings/TraceWrapperMember.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class CORE_EXPORT Attr final : public Node { | 36 class CORE_EXPORT Attr final : public Node { |
| 37 DEFINE_WRAPPERTYPEINFO(); | 37 DEFINE_WRAPPERTYPEINFO(); |
| 38 | 38 |
| 39 public: | 39 public: |
| 40 static Attr* Create(Element&, const QualifiedName&); | 40 static Attr* Create(Element&, const QualifiedName&); |
| 41 static Attr* Create(Document&, | 41 static Attr* Create(Document&, |
| 42 const QualifiedName&, | 42 const QualifiedName&, |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 // differ from m_name's local name. As these two modes are non-overlapping, | 89 // differ from m_name's local name. As these two modes are non-overlapping, |
| 90 // use a single field. | 90 // use a single field. |
| 91 AtomicString standalone_value_or_attached_local_name_; | 91 AtomicString standalone_value_or_attached_local_name_; |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 DEFINE_NODE_TYPE_CASTS(Attr, IsAttributeNode()); | 94 DEFINE_NODE_TYPE_CASTS(Attr, IsAttributeNode()); |
| 95 | 95 |
| 96 } // namespace blink | 96 } // namespace blink |
| 97 | 97 |
| 98 #endif // Attr_h | 98 #endif // Attr_h |
| OLD | NEW |