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 723253004: Remove tons of 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 class FragmentParsingContext { 102 class FragmentParsingContext {
103 WTF_MAKE_NONCOPYABLE(FragmentParsingContext); 103 WTF_MAKE_NONCOPYABLE(FragmentParsingContext);
104 DISALLOW_ALLOCATION(); 104 DISALLOW_ALLOCATION();
105 public: 105 public:
106 FragmentParsingContext(); 106 FragmentParsingContext();
107 FragmentParsingContext(DocumentFragment*, Element* contextElement); 107 FragmentParsingContext(DocumentFragment*, Element* contextElement);
108 ~FragmentParsingContext(); 108 ~FragmentParsingContext();
109 109
110 DocumentFragment* fragment() const { return m_fragment; } 110 DocumentFragment* fragment() const { return m_fragment; }
111 111
112 void trace(Visitor*);
113
114 private: 112 private:
115 RawPtr<DocumentFragment> m_fragment; 113 RawPtr<DocumentFragment> m_fragment;
116 }; 114 };
117 115
118 #if ENABLE(ASSERT) 116 #if ENABLE(ASSERT)
119 bool m_isAttached; 117 bool m_isAttached;
120 #endif 118 #endif
121 FragmentParsingContext m_fragmentContext; 119 FragmentParsingContext m_fragmentContext;
122 HTMLConstructionSite m_tree; 120 HTMLConstructionSite m_tree;
123 121
124 // http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html# insertion-mode 122 // http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html# insertion-mode
125 InsertionMode m_insertionMode; 123 InsertionMode m_insertionMode;
126 124
127 // http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html# original-insertion-mode 125 // http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html# original-insertion-mode
128 InsertionMode m_originalInsertionMode; 126 InsertionMode m_originalInsertionMode;
129 127
130 // We access parser because HTML5 spec requires that we be able to change th e state of the tokenizer 128 // We access parser because HTML5 spec requires that we be able to change th e state of the tokenizer
131 // from within parser actions. We also need it to track the current position . 129 // from within parser actions. We also need it to track the current position .
132 RawPtr<HTMLDocumentParser> m_parser; 130 RawPtr<HTMLDocumentParser> m_parser;
133 131
134 RefPtr<Element> m_scriptToProcess; // <script> tag which needs processing be fore resuming the parser. 132 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. 133 TextPosition m_scriptToProcessStartPosition; // Starting line number of the script tag needing processing.
136 }; 134 };
137 135
138 } 136 }
139 137
140 #endif 138 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/html/parser/HTMLConstructionSite.cpp ('k') | sky/engine/core/html/parser/HTMLTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698