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

Side by Side Diff: third_party/WebKit/Source/core/dom/DocumentParser.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) 2000 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2005, 2006 Apple Computer, Inc. 3 * Copyright (C) 2005, 2006 Apple Computer, Inc.
4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) 4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org)
5 * Copyright (C) 2010 Google, Inc. 5 * Copyright (C) 2010 Google, Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 18 matching lines...) Expand all
29 #include "wtf/RefCounted.h" 29 #include "wtf/RefCounted.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class Document; 33 class Document;
34 class DocumentParserClient; 34 class DocumentParserClient;
35 class SegmentedString; 35 class SegmentedString;
36 class ScriptableDocumentParser; 36 class ScriptableDocumentParser;
37 class TextResourceDecoder; 37 class TextResourceDecoder;
38 38
39 class DocumentParser : public RefCountedWillBeGarbageCollectedFinalized<Document Parser> { 39 class DocumentParser : public GarbageCollectedFinalized<DocumentParser> {
40 public: 40 public:
41 virtual ~DocumentParser(); 41 virtual ~DocumentParser();
42 DECLARE_VIRTUAL_TRACE(); 42 DECLARE_VIRTUAL_TRACE();
43 43
44 virtual ScriptableDocumentParser* asScriptableDocumentParser() { return 0; } 44 virtual ScriptableDocumentParser* asScriptableDocumentParser() { return 0; }
45 45
46 // http://www.whatwg.org/specs/web-apps/current-work/#insertion-point 46 // http://www.whatwg.org/specs/web-apps/current-work/#insertion-point
47 virtual bool hasInsertionPoint() { return true; } 47 virtual bool hasInsertionPoint() { return true; }
48 48
49 // insert is used by document.write. 49 // insert is used by document.write.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 ParsingState, 105 ParsingState,
106 StoppingState, 106 StoppingState,
107 StoppedState, 107 StoppedState,
108 DetachedState 108 DetachedState
109 }; 109 };
110 ParserState m_state; 110 ParserState m_state;
111 bool m_documentWasLoadedAsPartOfNavigation; 111 bool m_documentWasLoadedAsPartOfNavigation;
112 112
113 // Every DocumentParser needs a pointer back to the document. 113 // Every DocumentParser needs a pointer back to the document.
114 // m_document will be 0 after the parser is stopped. 114 // m_document will be 0 after the parser is stopped.
115 RawPtrWillBeMember<Document> m_document; 115 Member<Document> m_document;
116 116
117 WillBeHeapHashSet<RawPtrWillBeWeakMember<DocumentParserClient>> m_clients; 117 HeapHashSet<WeakMember<DocumentParserClient>> m_clients;
118 }; 118 };
119 119
120 } // namespace blink 120 } // namespace blink
121 121
122 #endif // DocumentParser_h 122 #endif // DocumentParser_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentOrderedMap.cpp ('k') | third_party/WebKit/Source/core/dom/DocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698