summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/inspector/InjectedScriptManager.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-05-24 08:28:08 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-05-24 08:28:08 +0000
commita4e969f4965059196ca948db781e52f7cfebf19e (patch)
tree6ca352808c8fdc52006a0f33f6ae3c593b23867d /Source/JavaScriptCore/inspector/InjectedScriptManager.h
parent41386e9cb918eed93b3f13648cbef387e371e451 (diff)
downloadWebKitGtk-tarball-a4e969f4965059196ca948db781e52f7cfebf19e.tar.gz
webkitgtk-2.12.3webkitgtk-2.12.3
Diffstat (limited to 'Source/JavaScriptCore/inspector/InjectedScriptManager.h')
-rw-r--r--Source/JavaScriptCore/inspector/InjectedScriptManager.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/JavaScriptCore/inspector/InjectedScriptManager.h b/Source/JavaScriptCore/inspector/InjectedScriptManager.h
index bcc64e2a4..e18d7cd46 100644
--- a/Source/JavaScriptCore/inspector/InjectedScriptManager.h
+++ b/Source/JavaScriptCore/inspector/InjectedScriptManager.h
@@ -11,7 +11,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
+ * 3. Neither the name of Apple Inc. ("Apple") nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
@@ -54,6 +54,7 @@ public:
virtual ~InjectedScriptManager();
virtual void disconnect();
+ virtual void discardInjectedScripts();
InjectedScriptHost* injectedScriptHost();
InspectorEnvironment& inspectorEnvironment() const { return m_environment; }
@@ -62,11 +63,11 @@ public:
InjectedScript injectedScriptForId(int);
int injectedScriptIdFor(JSC::ExecState*);
InjectedScript injectedScriptForObjectId(const String& objectId);
- void discardInjectedScripts();
void releaseObjectGroup(const String& objectGroup);
+ void clearExceptionValue();
protected:
- virtual void didCreateInjectedScript(InjectedScript);
+ virtual void didCreateInjectedScript(const InjectedScript&);
HashMap<int, InjectedScript> m_idToInjectedScript;
HashMap<JSC::ExecState*, int> m_scriptStateToId;