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

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

Issue 52443003: Reland 160869 "Move innerHTML and outerHTML to Element" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
« no previous file with comments | « Source/core/html/HTMLElement.idl ('k') | Source/core/html/parser/HTMLTreeBuilder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 // Default processing for the different insertion modes. 160 // Default processing for the different insertion modes.
161 void defaultForInitial(); 161 void defaultForInitial();
162 void defaultForBeforeHTML(); 162 void defaultForBeforeHTML();
163 void defaultForBeforeHead(); 163 void defaultForBeforeHead();
164 void defaultForInHead(); 164 void defaultForInHead();
165 void defaultForInHeadNoscript(); 165 void defaultForInHeadNoscript();
166 void defaultForAfterHead(); 166 void defaultForAfterHead();
167 void defaultForInTableText(); 167 void defaultForInTableText();
168 168
169 inline PassRefPtr<HTMLStackItem> adjustedCurrentStackItem() const;
169 inline bool shouldProcessTokenInForeignContent(AtomicHTMLToken*); 170 inline bool shouldProcessTokenInForeignContent(AtomicHTMLToken*);
170 void processTokenInForeignContent(AtomicHTMLToken*); 171 void processTokenInForeignContent(AtomicHTMLToken*);
171 172
172 Vector<Attribute> attributesForIsindexInput(AtomicHTMLToken*); 173 Vector<Attribute> attributesForIsindexInput(AtomicHTMLToken*);
173 174
174 void callTheAdoptionAgency(AtomicHTMLToken*); 175 void callTheAdoptionAgency(AtomicHTMLToken*);
175 176
176 void closeTheCell(); 177 void closeTheCell();
177 178
178 template <bool shouldClose(const HTMLStackItem*)> 179 template <bool shouldClose(const HTMLStackItem*)>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 231
231 RefPtr<Element> m_scriptToProcess; // <script> tag which needs processing be fore resuming the parser. 232 RefPtr<Element> m_scriptToProcess; // <script> tag which needs processing be fore resuming the parser.
232 TextPosition m_scriptToProcessStartPosition; // Starting line number of the script tag needing processing. 233 TextPosition m_scriptToProcessStartPosition; // Starting line number of the script tag needing processing.
233 234
234 HTMLParserOptions m_options; 235 HTMLParserOptions m_options;
235 }; 236 };
236 237
237 } 238 }
238 239
239 #endif 240 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLElement.idl ('k') | Source/core/html/parser/HTMLTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698