summaryrefslogtreecommitdiffstats
path: root/WebCore/inspector/InjectedScriptHost.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/inspector/InjectedScriptHost.h')
-rw-r--r--WebCore/inspector/InjectedScriptHost.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/WebCore/inspector/InjectedScriptHost.h b/WebCore/inspector/InjectedScriptHost.h
index 997f340..6b70f62 100644
--- a/WebCore/inspector/InjectedScriptHost.h
+++ b/WebCore/inspector/InjectedScriptHost.h
@@ -43,8 +43,8 @@ namespace WebCore {
class Database;
class InjectedScript;
class InspectorDOMAgent;
+class InspectorFrontend;
class Node;
-class RemoteInspectorFrontend;
class ScriptObject;
class Storage;
@@ -58,6 +58,7 @@ public:
~InjectedScriptHost();
+ String injectedScriptSource() { return m_injectedScriptSource; }
void setInjectedScriptSource(const String& source) { m_injectedScriptSource = source; }
InspectorController* inspectorController() { return m_inspectorController; }
@@ -94,8 +95,9 @@ public:
private:
InjectedScriptHost(InspectorController* inspectorController);
InspectorDOMAgent* inspectorDOMAgent();
- RemoteInspectorFrontend* remoteFrontend();
+ InspectorFrontend* frontend();
ScriptObject createInjectedScript(const String& source, ScriptState* scriptState, long id);
+ void discardInjectedScript(ScriptState*);
InspectorController* m_inspectorController;
String m_injectedScriptSource;