Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Unified Diff: Source/core/inspector/InjectedScriptBase.h

Issue 293963003: Remove ScriptObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/InjectedScript.cpp ('k') | Source/core/inspector/InjectedScriptBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InjectedScriptBase.h
diff --git a/Source/core/inspector/InjectedScriptBase.h b/Source/core/inspector/InjectedScriptBase.h
index c7ae14bb5ec9c0522d4c85ea53327db8377b4be4..c8c52022a3bd151697d0d1b5a257672541a84bfe 100644
--- a/Source/core/inspector/InjectedScriptBase.h
+++ b/Source/core/inspector/InjectedScriptBase.h
@@ -32,8 +32,8 @@
#define InjectedScriptBase_h
#include "InspectorTypeBuilder.h"
-#include "bindings/v8/ScriptObject.h"
#include "bindings/v8/ScriptState.h"
+#include "bindings/v8/ScriptValue.h"
#include "wtf/Forward.h"
namespace WebCore {
@@ -55,18 +55,18 @@ public:
protected:
typedef bool (*InspectedStateAccessCheck)(ScriptState*);
InjectedScriptBase(const String& name);
- InjectedScriptBase(const String& name, ScriptObject, InspectedStateAccessCheck);
+ InjectedScriptBase(const String& name, ScriptValue, InspectedStateAccessCheck);
- void initialize(ScriptObject, InspectedStateAccessCheck);
+ void initialize(ScriptValue, InspectedStateAccessCheck);
bool canAccessInspectedWindow() const;
- const ScriptObject& injectedScriptObject() const;
+ const ScriptValue& injectedScriptObject() const;
ScriptValue callFunctionWithEvalEnabled(ScriptFunctionCall&, bool& hadException) const;
void makeCall(ScriptFunctionCall&, RefPtr<JSONValue>* result);
void makeEvalCall(ErrorString*, ScriptFunctionCall&, RefPtr<TypeBuilder::Runtime::RemoteObject>* result, TypeBuilder::OptOutput<bool>* wasThrown);
private:
String m_name;
- ScriptObject m_injectedScriptObject;
+ ScriptValue m_injectedScriptObject;
InspectedStateAccessCheck m_inspectedStateAccessCheck;
};
« no previous file with comments | « Source/core/inspector/InjectedScript.cpp ('k') | Source/core/inspector/InjectedScriptBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698