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

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

Issue 443373002: Add <menuitem>, new HTMLMenuElement IDL attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed comments Created 6 years, 4 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
« no previous file with comments | « Source/core/html/HTMLTagNames.in ('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) 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 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef HTMLStackItem_h 26 #ifndef HTMLStackItem_h
27 #define HTMLStackItem_h 27 #define HTMLStackItem_h
28 28
29 #include "core/HTMLNames.h" 29 #include "core/HTMLNames.h"
30 #include "core/MathMLNames.h" 30 #include "core/MathMLNames.h"
31 #include "core/SVGNames.h" 31 #include "core/SVGNames.h"
32 #include "core/dom/Element.h" 32 #include "core/dom/Element.h"
33 #include "core/html/parser/AtomicHTMLToken.h" 33 #include "core/html/parser/AtomicHTMLToken.h"
34 #include "platform/RuntimeEnabledFeatures.h"
34 #include "wtf/RefCounted.h" 35 #include "wtf/RefCounted.h"
35 #include "wtf/RefPtr.h" 36 #include "wtf/RefPtr.h"
36 #include "wtf/text/AtomicString.h" 37 #include "wtf/text/AtomicString.h"
37 38
38 namespace blink { 39 namespace blink {
39 40
40 class ContainerNode; 41 class ContainerNode;
41 42
42 class HTMLStackItem : public RefCountedWillBeGarbageCollectedFinalized<HTMLStack Item> { 43 class HTMLStackItem : public RefCountedWillBeGarbageCollectedFinalized<HTMLStack Item> {
43 public: 44 public:
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 || tagName == HTMLNames::htmlTag 172 || tagName == HTMLNames::htmlTag
172 || tagName == HTMLNames::iframeTag 173 || tagName == HTMLNames::iframeTag
173 || tagName == HTMLNames::imgTag 174 || tagName == HTMLNames::imgTag
174 || tagName == HTMLNames::inputTag 175 || tagName == HTMLNames::inputTag
175 || tagName == HTMLNames::liTag 176 || tagName == HTMLNames::liTag
176 || tagName == HTMLNames::linkTag 177 || tagName == HTMLNames::linkTag
177 || tagName == HTMLNames::listingTag 178 || tagName == HTMLNames::listingTag
178 || tagName == HTMLNames::mainTag 179 || tagName == HTMLNames::mainTag
179 || tagName == HTMLNames::marqueeTag 180 || tagName == HTMLNames::marqueeTag
180 || tagName == HTMLNames::menuTag 181 || tagName == HTMLNames::menuTag
182 || (RuntimeEnabledFeatures::contextMenuEnabled() && tagName == HTMLN ames::menuitemTag)
181 || tagName == HTMLNames::metaTag 183 || tagName == HTMLNames::metaTag
182 || tagName == HTMLNames::navTag 184 || tagName == HTMLNames::navTag
183 || tagName == HTMLNames::noembedTag 185 || tagName == HTMLNames::noembedTag
184 || tagName == HTMLNames::noframesTag 186 || tagName == HTMLNames::noframesTag
185 || tagName == HTMLNames::noscriptTag 187 || tagName == HTMLNames::noscriptTag
186 || tagName == HTMLNames::objectTag 188 || tagName == HTMLNames::objectTag
187 || tagName == HTMLNames::olTag 189 || tagName == HTMLNames::olTag
188 || tagName == HTMLNames::pTag 190 || tagName == HTMLNames::pTag
189 || tagName == HTMLNames::paramTag 191 || tagName == HTMLNames::paramTag
190 || tagName == HTMLNames::plaintextTag 192 || tagName == HTMLNames::plaintextTag
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 240
239 AtomicString m_tokenLocalName; 241 AtomicString m_tokenLocalName;
240 Vector<Attribute> m_tokenAttributes; 242 Vector<Attribute> m_tokenAttributes;
241 AtomicString m_namespaceURI; 243 AtomicString m_namespaceURI;
242 bool m_isDocumentFragmentNode; 244 bool m_isDocumentFragmentNode;
243 }; 245 };
244 246
245 } // namespace blink 247 } // namespace blink
246 248
247 #endif // HTMLStackItem_h 249 #endif // HTMLStackItem_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLTagNames.in ('k') | Source/core/html/parser/HTMLTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698