OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "platform/heap/Heap.h" | |
6 #include "platform/heap/Member.h" | |
7 #include "platform/heap/Visitor.h" | |
8 #include "wtf/Noncopyable.h" | |
9 | |
10 #ifndef DocumentXMLTreeViewer_h | |
11 #define DocumentXMLTreeViewer_h | |
12 | |
13 namespace blink { | |
14 | |
15 class Document; | |
16 | |
17 class DocumentXMLTreeViewer final | |
18 : public GarbageCollected<DocumentXMLTreeViewer> { | |
jbroman
2016/12/10 20:35:31
No need to make this object garbage-collected, sin
adithyas
2016/12/12 16:13:50
Yup, that makes sense. I've changed it to a functi
| |
19 public: | |
20 WTF_MAKE_NONCOPYABLE(DocumentXMLTreeViewer); | |
21 DECLARE_TRACE(); | |
22 | |
23 explicit DocumentXMLTreeViewer(Document* document) : m_document(document) {} | |
24 void transformDocumentToTreeView(); | |
25 | |
26 private: | |
27 Member<Document> m_document; | |
28 }; | |
29 | |
30 } // namespace blink | |
31 | |
32 #endif | |
OLD | NEW |