Searched refs:ScriptValue (Results 1 - 25 of 46) sorted by relevance

12

/external/webkit/WebCore/bindings/v8/
H A DScriptValue.cpp32 #include "ScriptValue.h"
40 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState)
46 ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptValue* value)
49 return ScriptValue(value->deserialize());
52 bool ScriptValue::getString(String& result) const
64 String ScriptValue::toString(ScriptState*) const
H A DWorkerScriptController.h42 class ScriptValue;
53 ScriptValue evaluate(const ScriptSourceCode&);
54 ScriptValue evaluate(const ScriptSourceCode&, ScriptValue* exception);
56 void setException(ScriptValue);
H A DWorkerScriptController.cpp40 #include "ScriptValue.h"
63 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode)
68 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* exception)
73 return ScriptValue();
77 ScriptValue result = m_proxy->evaluate(sourceCode.source(), sourceCode.url().string(), sourceCode.startLine() - 1, &state);
95 void WorkerScriptController::setException(ScriptValue exception)
H A DScriptValue.h48 class ScriptValue { class in namespace:WebCore
50 ScriptValue() {} function in class:WebCore::ScriptValue
52 ScriptValue(v8::Handle<v8::Value> value) function in class:WebCore::ScriptValue
63 ScriptValue(const ScriptValue& value) function in class:WebCore::ScriptValue
74 ScriptValue& operator=(const ScriptValue& value)
92 bool operator==(const ScriptValue value) const
97 bool isEqual(ScriptState*, const ScriptValue& value) const
102 bool operator!=(const ScriptValue valu
[all...]
H A DScriptFunctionCall.h40 class ScriptValue;
51 void appendArgument(const ScriptValue&);
60 ScriptValue call(bool& hadException, bool reportExceptions = true);
61 ScriptValue call();
68 Vector<ScriptValue> m_arguments;
H A DScriptCallFrame.h44 class ScriptValue;
60 const ScriptValue& argumentAt(unsigned) const;
68 Vector<ScriptValue> m_arguments;
H A DScriptCallFrame.cpp39 #include "ScriptValue.h"
49 m_arguments.append(ScriptValue(arguments[i]));
56 const ScriptValue& ScriptCallFrame::argumentAt(unsigned index) const
H A DScriptFunctionCall.cpp37 #include "ScriptValue.h"
70 void ScriptFunctionCall::appendArgument(const ScriptValue& argument)
122 ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions)
130 return ScriptValue();
143 return ScriptValue();
146 return ScriptValue(result);
149 ScriptValue ScriptFunctionCall::call()
H A DWorkerContextExecutionProxy.h37 #include "ScriptValue.h"
56 ScriptValue exception;
76 ScriptValue evaluate(const String& script, const String& fileName, int baseLine, WorkerContextExecutionState*);
H A DScriptController.h35 #include "ScriptValue.h"
67 ScriptValue executeScript(const ScriptSourceCode&);
68 ScriptValue executeScript(const String& script, bool forceUserGesture = false);
79 ScriptValue evaluate(const ScriptSourceCode&);
/external/webkit/WebCore/bindings/js/
H A DScriptValue.cpp30 #include "ScriptValue.h"
45 bool ScriptValue::getString(ScriptState* scriptState, String& result) const
57 bool ScriptValue::isEqual(ScriptState* scriptState, const ScriptValue& anotherValue) const
65 bool ScriptValue::isNull() const
72 bool ScriptValue::isUndefined() const
79 bool ScriptValue::isObject() const
86 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState)
91 ScriptValue ScriptValue
[all...]
H A DScriptValue.h44 class ScriptValue { class in namespace:WebCore
46 ScriptValue(JSC::JSValue value = JSC::JSValue()) : m_value(value) {} function in class:WebCore::ScriptValue
47 virtual ~ScriptValue() {}
52 bool isEqual(ScriptState*, const ScriptValue&) const;
59 static ScriptValue deserialize(ScriptState*, SerializedScriptValue*);
H A DWorkerScriptController.h44 class ScriptValue;
59 ScriptValue evaluate(const ScriptSourceCode&);
60 ScriptValue evaluate(const ScriptSourceCode&, ScriptValue* exception);
62 void setException(ScriptValue);
H A DScriptFunctionCall.h46 class ScriptValue;
56 void appendArgument(const ScriptValue&);
67 ScriptValue call(bool& hadException, bool reportExceptions = true);
68 ScriptValue call();
H A DScriptCallFrame.cpp48 m_arguments.append(ScriptValue(args.at(i)));
55 const ScriptValue &ScriptCallFrame::argumentAt(unsigned index) const
H A DScriptCallFrame.h37 #include "ScriptValue.h"
61 const ScriptValue& argumentAt(unsigned) const;
69 Vector<ScriptValue> m_arguments;
H A DWorkerScriptController.cpp37 #include "ScriptValue.h"
94 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode)
101 ScriptValue exception;
102 ScriptValue result = evaluate(sourceCode, &exception);
110 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* exception)
134 void WorkerScriptController::setException(ScriptValue exception)
H A DScriptFunctionCall.cpp36 #include "ScriptValue.h"
66 void ScriptFunctionCall::appendArgument(const ScriptValue& argument)
129 ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions)
141 return ScriptValue();
147 return ScriptValue();
155 return ScriptValue();
158 return ScriptValue(result);
161 ScriptValue ScriptFunctionCall::call()
H A DScriptController.h58 class ScriptValue;
92 ScriptValue executeScript(const ScriptSourceCode&);
93 ScriptValue executeScript(const String& script, bool forceUserGesture = false);
94 ScriptValue executeScriptInWorld(DOMWrapperWorld* world, const String& script, bool forceUserGesture = false);
103 ScriptValue evaluate(const ScriptSourceCode&);
104 ScriptValue evaluateInWorld(const ScriptSourceCode&, DOMWrapperWorld*);
H A DScriptObject.h35 #include "ScriptValue.h"
45 class ScriptObject : public ScriptValue {
/external/webkit/WebCore/bindings/
H A DScriptControllerBase.cpp28 #include "ScriptValue.h"
44 ScriptValue ScriptController::executeScript(const String& script, bool forceUserGesture)
49 ScriptValue ScriptController::executeScript(const ScriptSourceCode& sourceCode)
52 return ScriptValue();
57 ScriptValue result = evaluate(sourceCode);
82 ScriptValue result;
/external/webkit/WebCore/inspector/
H A DInjectedScript.cpp56 ScriptValue resultValue = function.call(*hadException);
66 ScriptValue callFramesValue = function.call();
71 PassRefPtr<SerializedScriptValue> InjectedScript::wrapForConsole(ScriptValue value)
77 ScriptValue r = wrapFunction.call();
H A DInjectedScript.h55 PassRefPtr<SerializedScriptValue> wrapForConsole(ScriptValue);
H A DConsoleMessage.h66 Vector<ScriptValue> m_arguments;
H A DInspectorFrontend.h70 void addConsoleMessage(const ScriptObject& messageObj, const Vector<ScriptString>& frames, ScriptState*, const Vector<ScriptValue> arguments, const String& message);
99 void addProfileHeader(const ScriptValue& profile);
102 void didGetProfile(int callId, const ScriptValue& profile);

Completed in 183 milliseconds

12