| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 HTMLDocumentParser(HTMLDocument*, bool reportErrors); | 74 HTMLDocumentParser(HTMLDocument*, bool reportErrors); |
| 75 HTMLDocumentParser(DocumentFragment*, Element* contextElement, FragmentScrip
tingPermission); | 75 HTMLDocumentParser(DocumentFragment*, Element* contextElement, FragmentScrip
tingPermission); |
| 76 | 76 |
| 77 private: | 77 private: |
| 78 // DocumentParser | 78 // DocumentParser |
| 79 virtual void detach(); | 79 virtual void detach(); |
| 80 virtual bool hasInsertionPoint(); | 80 virtual bool hasInsertionPoint(); |
| 81 virtual void append(const SegmentedString&); | 81 virtual void append(const SegmentedString&); |
| 82 virtual bool finishWasCalled(); | 82 virtual bool finishWasCalled(); |
| 83 virtual bool processingData() const; | 83 virtual bool processingData() const; |
| 84 virtual void prepareToStopParsing(); | |
| 85 virtual void stopParsing(); | 84 virtual void stopParsing(); |
| 86 virtual bool isWaitingForScripts() const; | 85 virtual bool isWaitingForScripts() const; |
| 87 virtual bool isExecutingScript() const; | 86 virtual bool isExecutingScript() const; |
| 88 virtual void executeScriptsWaitingForStylesheets(); | 87 virtual void executeScriptsWaitingForStylesheets(); |
| 89 virtual int lineNumber() const; | 88 virtual int lineNumber() const; |
| 90 virtual int columnNumber() const; | 89 virtual int columnNumber() const; |
| 91 | 90 |
| 92 // HTMLScriptRunnerHost | 91 // HTMLScriptRunnerHost |
| 93 virtual void watchForLoad(CachedResource*); | 92 virtual void watchForLoad(CachedResource*); |
| 94 virtual void stopWatchingForLoad(CachedResource*); | 93 virtual void stopWatchingForLoad(CachedResource*); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 OwnPtr<HTMLPreloadScanner> m_preloadScanner; | 133 OwnPtr<HTMLPreloadScanner> m_preloadScanner; |
| 135 OwnPtr<HTMLParserScheduler> m_parserScheduler; | 134 OwnPtr<HTMLParserScheduler> m_parserScheduler; |
| 136 | 135 |
| 137 bool m_endWasDelayed; | 136 bool m_endWasDelayed; |
| 138 int m_writeNestingLevel; | 137 int m_writeNestingLevel; |
| 139 }; | 138 }; |
| 140 | 139 |
| 141 } | 140 } |
| 142 | 141 |
| 143 #endif | 142 #endif |
| OLD | NEW |