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

Side by Side Diff: third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.h

Issue 2562093002: Move DocumentXMLTreeViewer off of private script (Closed)
Patch Set: Removed the wrong include Created 4 years 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
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698