| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 ResourcePtr<ScriptResource> m_resource; | 90 ResourcePtr<ScriptResource> m_resource; |
| 91 WTF::OrdinalNumber m_startLineNumber; | 91 WTF::OrdinalNumber m_startLineNumber; |
| 92 bool m_parserInserted : 1; | 92 bool m_parserInserted : 1; |
| 93 bool m_isExternalScript : 1; | 93 bool m_isExternalScript : 1; |
| 94 bool m_alreadyStarted : 1; | 94 bool m_alreadyStarted : 1; |
| 95 bool m_haveFiredLoad : 1; | 95 bool m_haveFiredLoad : 1; |
| 96 bool m_willBeParserExecuted : 1; // Same as "The parser will handle executin
g the script." | 96 bool m_willBeParserExecuted : 1; // Same as "The parser will handle executin
g the script." |
| 97 bool m_readyToBeParserExecuted : 1; | 97 bool m_readyToBeParserExecuted : 1; |
| 98 bool m_willExecuteWhenDocumentFinishedParsing : 1; | 98 bool m_willExecuteWhenDocumentFinishedParsing : 1; |
| 99 bool m_forceAsync : 1; | 99 bool m_forceAsync : 1; |
| 100 bool m_hasAsyncAttribute : 1; |
| 101 bool m_hasDeferAttribute : 1; |
| 100 bool m_willExecuteInOrder : 1; | 102 bool m_willExecuteInOrder : 1; |
| 101 String m_characterEncoding; | 103 String m_characterEncoding; |
| 102 String m_fallbackCharacterEncoding; | 104 String m_fallbackCharacterEncoding; |
| 103 }; | 105 }; |
| 104 | 106 |
| 105 ScriptLoader* toScriptLoaderIfPossible(Element*); | 107 ScriptLoader* toScriptLoaderIfPossible(Element*); |
| 106 | 108 |
| 107 inline PassOwnPtr<ScriptLoader> ScriptLoader::create(Element* element, bool crea
tedByParser, bool isEvaluated) | 109 inline PassOwnPtr<ScriptLoader> ScriptLoader::create(Element* element, bool crea
tedByParser, bool isEvaluated) |
| 108 { | 110 { |
| 109 return adoptPtr(new ScriptLoader(element, createdByParser, isEvaluated)); | 111 return adoptPtr(new ScriptLoader(element, createdByParser, isEvaluated)); |
| 110 } | 112 } |
| 111 | 113 |
| 112 } | 114 } |
| 113 | 115 |
| 114 | 116 |
| 115 #endif | 117 #endif |
| OLD | NEW |