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

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

Issue 1740483004: Rename enums/functions that collide in chromium style in core/html/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-5
Patch Set: get-names-6: . Created 4 years, 9 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 void callTheAdoptionAgency(AtomicHTMLToken*); 173 void callTheAdoptionAgency(AtomicHTMLToken*);
174 174
175 void closeTheCell(); 175 void closeTheCell();
176 176
177 template <bool shouldClose(const HTMLStackItem*)> 177 template <bool shouldClose(const HTMLStackItem*)>
178 void processCloseWhenNestedTag(AtomicHTMLToken*); 178 void processCloseWhenNestedTag(AtomicHTMLToken*);
179 179
180 void parseError(AtomicHTMLToken*); 180 void parseError(AtomicHTMLToken*);
181 181
182 InsertionMode insertionMode() const { return m_insertionMode; } 182 InsertionMode getInsertionMode() const { return m_insertionMode; }
183 void setInsertionMode(InsertionMode mode) { m_insertionMode = mode; } 183 void setInsertionMode(InsertionMode mode) { m_insertionMode = mode; }
184 184
185 void resetInsertionModeAppropriately(); 185 void resetInsertionModeAppropriately();
186 186
187 void processTemplateStartTag(AtomicHTMLToken*); 187 void processTemplateStartTag(AtomicHTMLToken*);
188 bool processTemplateEndTag(AtomicHTMLToken*); 188 bool processTemplateEndTag(AtomicHTMLToken*);
189 bool processEndOfFileForInTemplateContents(AtomicHTMLToken*); 189 bool processEndOfFileForInTemplateContents(AtomicHTMLToken*);
190 190
191 class FragmentParsingContext { 191 class FragmentParsingContext {
192 WTF_MAKE_NONCOPYABLE(FragmentParsingContext); 192 WTF_MAKE_NONCOPYABLE(FragmentParsingContext);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 234
235 RefPtrWillBeMember<Element> m_scriptToProcess; // <script> tag which needs p rocessing before resuming the parser. 235 RefPtrWillBeMember<Element> m_scriptToProcess; // <script> tag which needs p rocessing before resuming the parser.
236 TextPosition m_scriptToProcessStartPosition; // Starting line number of the script tag needing processing. 236 TextPosition m_scriptToProcessStartPosition; // Starting line number of the script tag needing processing.
237 237
238 HTMLParserOptions m_options; 238 HTMLParserOptions m_options;
239 }; 239 };
240 240
241 } // namespace blink 241 } // namespace blink
242 242
243 #endif 243 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698