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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 * Copyright (C) 2000 Frederik Holljen (frederik.holljen@hig.no) 3 * Copyright (C) 2000 Frederik Holljen (frederik.holljen@hig.no)
4 * Copyright (C) 2001 Peter Kelly (pmk@post.com) 4 * Copyright (C) 2001 Peter Kelly (pmk@post.com)
5 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 5 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
6 * Copyright (C) 2004, 2008 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2008 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 16 matching lines...) Expand all
27 27
28 #include "platform/heap/Handle.h" 28 #include "platform/heap/Handle.h"
29 #include "wtf/RefPtr.h" 29 #include "wtf/RefPtr.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class ExceptionState; 33 class ExceptionState;
34 class Node; 34 class Node;
35 class NodeFilter; 35 class NodeFilter;
36 36
37 class NodeIteratorBase : public WillBeGarbageCollectedMixin { 37 class NodeIteratorBase : public GarbageCollectedMixin {
38 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(NodeIteratorBase);
39 public: 38 public:
40 Node* root() const { return m_root.get(); } 39 Node* root() const { return m_root.get(); }
41 unsigned whatToShow() const { return m_whatToShow; } 40 unsigned whatToShow() const { return m_whatToShow; }
42 NodeFilter* filter() const { return m_filter.get(); } 41 NodeFilter* filter() const { return m_filter.get(); }
43 42
44 DECLARE_VIRTUAL_TRACE(); 43 DECLARE_VIRTUAL_TRACE();
45 44
46 protected: 45 protected:
47 NodeIteratorBase(PassRefPtrWillBeRawPtr<Node>, unsigned whatToShow, PassRefP trWillBeRawPtr<NodeFilter>); 46 NodeIteratorBase(RawPtr<Node>, unsigned whatToShow, RawPtr<NodeFilter>);
48 unsigned acceptNode(Node*, ExceptionState&) const; 47 unsigned acceptNode(Node*, ExceptionState&) const;
49 48
50 private: 49 private:
51 RefPtrWillBeMember<Node> m_root; 50 Member<Node> m_root;
52 unsigned m_whatToShow; 51 unsigned m_whatToShow;
53 RefPtrWillBeMember<NodeFilter> m_filter; 52 Member<NodeFilter> m_filter;
54 }; 53 };
55 54
56 } // namespace blink 55 } // namespace blink
57 56
58 #endif // NodeIteratorBase_h 57 #endif // NodeIteratorBase_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/NodeIterator.idl ('k') | third_party/WebKit/Source/core/dom/NodeIteratorBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698