Index: Source/core/dom/ScriptLoader.h |
diff --git a/Source/core/dom/ScriptLoader.h b/Source/core/dom/ScriptLoader.h |
index 3b1d379d46bb636dc615ee99af4a903f634ff143..6367afd8342e05856d551b91cf214f7de6f871f5 100644 |
--- a/Source/core/dom/ScriptLoader.h |
+++ b/Source/core/dom/ScriptLoader.h |
@@ -61,8 +61,8 @@ public: |
// XML parser calls these |
void dispatchLoadEvent(); |
void dispatchErrorEvent(); |
- enum ScriptType { ScriptNone = 0, ScriptJavaScript, ScriptDart }; |
- ScriptType isScriptTypeSupported(LegacyTypeSupport) const; |
+ |
+ bool isScriptTypeSupported(LegacyTypeSupport) const; |
bool haveFiredLoadEvent() const { return m_haveFiredLoad; } |
bool willBeParserExecuted() const { return m_willBeParserExecuted; } |
@@ -118,6 +118,10 @@ private: |
bool m_willExecuteWhenDocumentFinishedParsing : 1; |
bool m_forceAsync : 1; |
bool m_willExecuteInOrder : 1; |
+ |
+ // FIXMEDART: Type of script (JS, Dart, None). |
+ enum ScriptType { ScriptNone = 0, ScriptJavaScript, ScriptDart }; |
+ ScriptType getScriptTypeSupported(LegacyTypeSupport) const; |
ScriptType m_scriptType; |
}; |