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

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

Issue 1291723004: Remove all support for <applet> handling in Chrome. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 3 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Company 100, Inc. All rights reserved. 2 * Copyright (C) 2012 Company 100, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 || hasTagName(SVGNames::foreignObjectTag) 127 || hasTagName(SVGNames::foreignObjectTag)
128 || hasTagName(SVGNames::descTag) 128 || hasTagName(SVGNames::descTag)
129 || hasTagName(SVGNames::titleTag)) 129 || hasTagName(SVGNames::titleTag))
130 return true; 130 return true;
131 if (isDocumentFragmentNode()) 131 if (isDocumentFragmentNode())
132 return true; 132 return true;
133 if (!isInHTMLNamespace()) 133 if (!isInHTMLNamespace())
134 return false; 134 return false;
135 const AtomicString& tagName = localName(); 135 const AtomicString& tagName = localName();
136 return tagName == HTMLNames::addressTag 136 return tagName == HTMLNames::addressTag
137 || tagName == HTMLNames::appletTag
138 || tagName == HTMLNames::areaTag 137 || tagName == HTMLNames::areaTag
139 || tagName == HTMLNames::articleTag 138 || tagName == HTMLNames::articleTag
140 || tagName == HTMLNames::asideTag 139 || tagName == HTMLNames::asideTag
141 || tagName == HTMLNames::baseTag 140 || tagName == HTMLNames::baseTag
142 || tagName == HTMLNames::basefontTag 141 || tagName == HTMLNames::basefontTag
143 || tagName == HTMLNames::bgsoundTag 142 || tagName == HTMLNames::bgsoundTag
144 || tagName == HTMLNames::blockquoteTag 143 || tagName == HTMLNames::blockquoteTag
145 || tagName == HTMLNames::bodyTag 144 || tagName == HTMLNames::bodyTag
146 || tagName == HTMLNames::brTag 145 || tagName == HTMLNames::brTag
147 || tagName == HTMLNames::buttonTag 146 || tagName == HTMLNames::buttonTag
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 239
241 AtomicString m_tokenLocalName; 240 AtomicString m_tokenLocalName;
242 Vector<Attribute> m_tokenAttributes; 241 Vector<Attribute> m_tokenAttributes;
243 AtomicString m_namespaceURI; 242 AtomicString m_namespaceURI;
244 bool m_isDocumentFragmentNode; 243 bool m_isDocumentFragmentNode;
245 }; 244 };
246 245
247 } // namespace blink 246 } // namespace blink
248 247
249 #endif // HTMLStackItem_h 248 #endif // HTMLStackItem_h
OLDNEW
« no previous file with comments | « Source/core/html/parser/HTMLElementStack.cpp ('k') | Source/core/html/parser/HTMLTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698