| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef HTMLParserReentryPermit_h | 5 #ifndef HTMLParserReentryPermit_h |
| 6 #define HTMLParserReentryPermit_h | 6 #define HTMLParserReentryPermit_h |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "wtf/PassRefPtr.h" | 9 #include "platform/wtf/PassRefPtr.h" |
| 10 #include "wtf/RefCounted.h" | 10 #include "platform/wtf/RefCounted.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 // The HTML spec for parsing controls reentering the parser from | 14 // The HTML spec for parsing controls reentering the parser from |
| 15 // script with the "parser pause flag" and "script nesting level." | 15 // script with the "parser pause flag" and "script nesting level." |
| 16 // | 16 // |
| 17 // The parser pause flag puts a brake on whether the tokenizer will | 17 // The parser pause flag puts a brake on whether the tokenizer will |
| 18 // produce more tokens. When the parser is paused, nested invocations | 18 // produce more tokens. When the parser is paused, nested invocations |
| 19 // of the tokenizer unwind. | 19 // of the tokenizer unwind. |
| 20 // | 20 // |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 // https://html.spec.whatwg.org/#parser-pause-flag | 84 // https://html.spec.whatwg.org/#parser-pause-flag |
| 85 bool parser_pause_flag_; | 85 bool parser_pause_flag_; |
| 86 | 86 |
| 87 DISALLOW_COPY_AND_ASSIGN(HTMLParserReentryPermit); | 87 DISALLOW_COPY_AND_ASSIGN(HTMLParserReentryPermit); |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 } // namespace blink | 90 } // namespace blink |
| 91 | 91 |
| 92 #endif // HTMLParserReentryPermit_h | 92 #endif // HTMLParserReentryPermit_h |
| OLD | NEW |