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 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(thisType) | 936 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(thisType) |
937 | 937 |
938 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 938 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
939 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 939 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
940 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 940 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
941 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 941 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
942 { \ | 942 { \ |
943 return adoptRefWillBeNoop(new T(tagName, document)); \ | 943 return adoptRefWillBeNoop(new T(tagName, document)); \ |
944 } | 944 } |
945 | 945 |
946 } // namespace | 946 } // namespace blink |
947 | 947 |
948 #endif // Element_h | 948 #endif // Element_h |
OLD | NEW |