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

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

Issue 67773002: Revert "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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 162
163 // Default processing for the different insertion modes. 163 // Default processing for the different insertion modes.
164 void defaultForInitial(); 164 void defaultForInitial();
165 void defaultForBeforeHTML(); 165 void defaultForBeforeHTML();
166 void defaultForBeforeHead(); 166 void defaultForBeforeHead();
167 void defaultForInHead(); 167 void defaultForInHead();
168 void defaultForInHeadNoscript(); 168 void defaultForInHeadNoscript();
169 void defaultForAfterHead(); 169 void defaultForAfterHead();
170 void defaultForInTableText(); 170 void defaultForInTableText();
171 171
172 inline PassRefPtr<HTMLStackItem> adjustedCurrentStackItem() const;
173 inline bool shouldProcessTokenInForeignContent(AtomicHTMLToken*); 172 inline bool shouldProcessTokenInForeignContent(AtomicHTMLToken*);
174 void processTokenInForeignContent(AtomicHTMLToken*); 173 void processTokenInForeignContent(AtomicHTMLToken*);
175 174
176 Vector<Attribute> attributesForIsindexInput(AtomicHTMLToken*); 175 Vector<Attribute> attributesForIsindexInput(AtomicHTMLToken*);
177 176
178 void callTheAdoptionAgency(AtomicHTMLToken*); 177 void callTheAdoptionAgency(AtomicHTMLToken*);
179 178
180 void closeTheCell(); 179 void closeTheCell();
181 180
182 template <bool shouldClose(const HTMLStackItem*)> 181 template <bool shouldClose(const HTMLStackItem*)>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 233
235 RefPtr<Element> m_scriptToProcess; // <script> tag which needs processing be fore resuming the parser. 234 RefPtr<Element> m_scriptToProcess; // <script> tag which needs processing be fore resuming the parser.
236 TextPosition m_scriptToProcessStartPosition; // Starting line number of the script tag needing processing. 235 TextPosition m_scriptToProcessStartPosition; // Starting line number of the script tag needing processing.
237 236
238 HTMLParserOptions m_options; 237 HTMLParserOptions m_options;
239 }; 238 };
240 239
241 } 240 }
242 241
243 #endif 242 #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