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

Side by Side Diff: sky/engine/core/html/parser/HTMLTreeBuilder.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class AtomicHTMLToken; 43 class AtomicHTMLToken;
44 class Document; 44 class Document;
45 class DocumentFragment; 45 class DocumentFragment;
46 class Element; 46 class Element;
47 class LocalFrame; 47 class LocalFrame;
48 class HTMLToken; 48 class HTMLToken;
49 class HTMLDocument; 49 class HTMLDocument;
50 class Node; 50 class Node;
51 class HTMLDocumentParser; 51 class HTMLDocumentParser;
52 52
53 class HTMLTreeBuilder final : public DummyBase<HTMLTreeBuilder> { 53 class HTMLTreeBuilder final {
54 WTF_MAKE_NONCOPYABLE(HTMLTreeBuilder); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOV ED; 54 WTF_MAKE_NONCOPYABLE(HTMLTreeBuilder); WTF_MAKE_FAST_ALLOCATED;
55 public: 55 public:
56 static PassOwnPtr<HTMLTreeBuilder> create(HTMLDocumentParser* parser, HTMLDo cument* document, bool reportErrors) 56 static PassOwnPtr<HTMLTreeBuilder> create(HTMLDocumentParser* parser, HTMLDo cument* document, bool reportErrors)
57 { 57 {
58 return adoptPtr(new HTMLTreeBuilder(parser, document, reportErrors)); 58 return adoptPtr(new HTMLTreeBuilder(parser, document, reportErrors));
59 } 59 }
60 ~HTMLTreeBuilder(); 60 ~HTMLTreeBuilder();
61 61
62 const HTMLElementStack* openElements() const { return m_tree.openElements(); } 62 const HTMLElementStack* openElements() const { return m_tree.openElements(); }
63 63
64 bool isParsingFragment() const { return !!m_fragmentContext.fragment(); } 64 bool isParsingFragment() const { return !!m_fragmentContext.fragment(); }
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // from within parser actions. We also need it to track the current position . 131 // from within parser actions. We also need it to track the current position .
132 RawPtr<HTMLDocumentParser> m_parser; 132 RawPtr<HTMLDocumentParser> m_parser;
133 133
134 RefPtr<Element> m_scriptToProcess; // <script> tag which needs processing be fore resuming the parser. 134 RefPtr<Element> m_scriptToProcess; // <script> tag which needs processing be fore resuming the parser.
135 TextPosition m_scriptToProcessStartPosition; // Starting line number of the script tag needing processing. 135 TextPosition m_scriptToProcessStartPosition; // Starting line number of the script tag needing processing.
136 }; 136 };
137 137
138 } 138 }
139 139
140 #endif 140 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/html/imports/HTMLImportsController.h ('k') | sky/engine/core/inspector/ConsoleMessageStorage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698