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

Side by Side Diff: Source/core/html/parser/HTMLTreeBuilder.h

Issue 611593003: Clean up forward declarations in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 24 matching lines...) Expand all
35 #include "wtf/PassOwnPtr.h" 35 #include "wtf/PassOwnPtr.h"
36 #include "wtf/PassRefPtr.h" 36 #include "wtf/PassRefPtr.h"
37 #include "wtf/RefPtr.h" 37 #include "wtf/RefPtr.h"
38 #include "wtf/Vector.h" 38 #include "wtf/Vector.h"
39 #include "wtf/text/StringBuilder.h" 39 #include "wtf/text/StringBuilder.h"
40 #include "wtf/text/TextPosition.h" 40 #include "wtf/text/TextPosition.h"
41 41
42 namespace blink { 42 namespace blink {
43 43
44 class AtomicHTMLToken; 44 class AtomicHTMLToken;
45 class Document;
46 class DocumentFragment; 45 class DocumentFragment;
47 class Element; 46 class Element;
48 class LocalFrame;
49 class HTMLToken;
50 class HTMLDocument; 47 class HTMLDocument;
51 class Node;
52 class HTMLDocumentParser; 48 class HTMLDocumentParser;
53 49
54 class HTMLTreeBuilder FINAL : public NoBaseWillBeGarbageCollectedFinalized<HTMLT reeBuilder> { 50 class HTMLTreeBuilder FINAL : public NoBaseWillBeGarbageCollectedFinalized<HTMLT reeBuilder> {
55 WTF_MAKE_NONCOPYABLE(HTMLTreeBuilder); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOV ED; 51 WTF_MAKE_NONCOPYABLE(HTMLTreeBuilder); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOV ED;
56 public: 52 public:
57 static PassOwnPtrWillBeRawPtr<HTMLTreeBuilder> create(HTMLDocumentParser* pa rser, HTMLDocument* document, ParserContentPolicy parserContentPolicy, bool repo rtErrors, const HTMLParserOptions& options) 53 static PassOwnPtrWillBeRawPtr<HTMLTreeBuilder> create(HTMLDocumentParser* pa rser, HTMLDocument* document, ParserContentPolicy parserContentPolicy, bool repo rtErrors, const HTMLParserOptions& options)
58 { 54 {
59 return adoptPtrWillBeNoop(new HTMLTreeBuilder(parser, document, parserCo ntentPolicy, reportErrors, options)); 55 return adoptPtrWillBeNoop(new HTMLTreeBuilder(parser, document, parserCo ntentPolicy, reportErrors, options));
60 } 56 }
61 static PassOwnPtrWillBeRawPtr<HTMLTreeBuilder> create(HTMLDocumentParser* pa rser, DocumentFragment* fragment, Element* contextElement, ParserContentPolicy p arserContentPolicy, const HTMLParserOptions& options) 57 static PassOwnPtrWillBeRawPtr<HTMLTreeBuilder> create(HTMLDocumentParser* pa rser, DocumentFragment* fragment, Element* contextElement, ParserContentPolicy p arserContentPolicy, const HTMLParserOptions& options)
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 236
241 RefPtrWillBeMember<Element> m_scriptToProcess; // <script> tag which needs p rocessing before resuming the parser. 237 RefPtrWillBeMember<Element> m_scriptToProcess; // <script> tag which needs p rocessing before resuming the parser.
242 TextPosition m_scriptToProcessStartPosition; // Starting line number of the script tag needing processing. 238 TextPosition m_scriptToProcessStartPosition; // Starting line number of the script tag needing processing.
243 239
244 HTMLParserOptions m_options; 240 HTMLParserOptions m_options;
245 }; 241 };
246 242
247 } 243 }
248 244
249 #endif 245 #endif
OLDNEW
« no previous file with comments | « Source/core/html/parser/HTMLScriptRunner.h ('k') | Source/core/html/parser/TextResourceDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698