Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Side by Side Diff: third_party/WebKit/Source/core/dom/Attr.h

Issue 2856653003: Clean up bindings/core/v8 (Part 3) (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleSheetList.h ('k') | third_party/WebKit/Source/core/dom/ContainerNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698