OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) |
3 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 12 matching lines...) Expand all Loading... |
23 #define EntityReference_h | 23 #define EntityReference_h |
24 | 24 |
25 #include "core/dom/ContainerNode.h" | 25 #include "core/dom/ContainerNode.h" |
26 | 26 |
27 namespace WebCore { | 27 namespace WebCore { |
28 | 28 |
29 class EntityReference : public ContainerNode { | 29 class EntityReference : public ContainerNode { |
30 public: | 30 public: |
31 static PassRefPtr<EntityReference> create(Handle<Document>, const String& en
tityName); | 31 static PassRefPtr<EntityReference> create(Handle<Document>, const String& en
tityName); |
32 | 32 |
| 33 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE; |
| 34 |
33 private: | 35 private: |
34 EntityReference(Handle<Document>, const String& entityName); | 36 EntityReference(Handle<Document>, const String& entityName); |
35 | 37 |
36 virtual String nodeName() const; | 38 virtual String nodeName() const; |
37 virtual NodeType nodeType() const; | 39 virtual NodeType nodeType() const; |
38 virtual PassRefPtr<Node> cloneNode(bool deep); | 40 virtual PassRefPtr<Node> cloneNode(bool deep); |
39 | 41 |
40 String m_entityName; | 42 String m_entityName; |
41 }; | 43 }; |
42 | 44 |
43 } //namespace | 45 } //namespace |
44 | 46 |
45 #endif | 47 #endif |
OLD | NEW |