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

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

Issue 2145353002: HTML parser: Add show/toString() debug helper methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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) 2013 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2013 Google, 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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 bool m_selfClosing; 493 bool m_selfClosing;
494 AttributeList m_attributes; 494 AttributeList m_attributes;
495 495
496 // A pointer into m_attributes used during lexing. 496 // A pointer into m_attributes used during lexing.
497 Attribute* m_currentAttribute; 497 Attribute* m_currentAttribute;
498 498
499 // For DOCTYPE 499 // For DOCTYPE
500 std::unique_ptr<DoctypeData> m_doctypeData; 500 std::unique_ptr<DoctypeData> m_doctypeData;
501 }; 501 };
502 502
503 #ifndef NDEBUG
504 const char* toString(HTMLToken::TokenType);
505 #endif
506
503 } // namespace blink 507 } // namespace blink
504 508
505 #endif 509 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698