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

123

/external/webkit/Source/WebCore/bindings/v8/
H A DScriptFunctionCall.h40 class ScriptValue;
48 void appendArgument(const ScriptValue&);
60 Vector<ScriptValue> m_arguments;
66 ScriptValue call(bool& hadException, bool reportExceptions = true);
67 ScriptValue call();
77 ScriptCallback(ScriptState*, ScriptValue);
79 ScriptValue call();
80 ScriptValue call(bool& hadException);
83 ScriptValue m_function;
H A DWorkerScriptController.h42 class ScriptValue;
54 ScriptValue evaluate(const ScriptSourceCode&);
55 ScriptValue evaluate(const ScriptSourceCode&, ScriptValue* exception);
57 void setException(ScriptValue);
H A DScriptValue.h49 class ScriptValue { class in namespace:WebCore
51 ScriptValue() {} function in class:WebCore::ScriptValue
53 ScriptValue(v8::Handle<v8::Value> value) function in class:WebCore::ScriptValue
64 ScriptValue(const ScriptValue& value) function in class:WebCore::ScriptValue
75 ScriptValue& operator=(const ScriptValue& value)
93 bool operator==(const ScriptValue value) const
98 bool isEqual(ScriptState*, const ScriptValue& value) const
108 bool operator!=(const ScriptValue valu
[all...]
H A DWorkerScriptController.cpp40 #include "ScriptValue.h"
64 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode)
69 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* exception)
72 return ScriptValue();
75 ScriptValue result = m_proxy->evaluate(sourceCode.source(), sourceCode.url().string(), WTF::toZeroBasedTextPosition(sourceCode.startPosition()), &state);
103 void WorkerScriptController::setException(ScriptValue exception)
H A DScriptFunctionCall.cpp36 #include "ScriptValue.h"
56 void ScriptCallArgumentHandler::appendArgument(const ScriptValue& argument)
115 ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions)
123 return ScriptValue();
136 return ScriptValue();
139 return ScriptValue(result);
142 ScriptValue ScriptFunctionCall::call()
175 ScriptCallback::ScriptCallback(ScriptState* state, ScriptValue function)
181 ScriptValue ScriptCallback::call()
187 ScriptValue ScriptCallbac
[all...]
H A DScriptValue.cpp32 #include "ScriptValue.h"
41 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState)
47 ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptValue* value)
50 return ScriptValue(value->deserialize());
53 bool ScriptValue::getString(String& result) const
65 String ScriptValue::toString(ScriptState*) const
128 PassRefPtr<InspectorValue> ScriptValue::toInspectorValue(ScriptState* scriptState) const
H A DWorkerContextExecutionProxy.h37 #include "ScriptValue.h"
53 ScriptValue exception;
70 ScriptValue evaluate(const String& script, const String& fileName, const TextPosition0& scriptStartPosition, WorkerContextExecutionState*);
/external/webkit/Source/WebCore/inspector/
H A DScriptArguments.h42 class ScriptValue;
46 static PassRefPtr<ScriptArguments> create(ScriptState*, Vector<ScriptValue>& arguments);
50 const ScriptValue& argumentAt(size_t) const;
59 ScriptArguments(ScriptState*, Vector<ScriptValue>& arguments);
62 Vector<ScriptValue> m_arguments;
H A DScriptArguments.cpp34 #include "ScriptValue.h"
38 PassRefPtr<ScriptArguments> ScriptArguments::create(ScriptState* scriptState, Vector<ScriptValue>& arguments)
43 ScriptArguments::ScriptArguments(ScriptState* scriptState, Vector<ScriptValue>& arguments)
53 const ScriptValue &ScriptArguments::argumentAt(size_t index) const
69 const ScriptValue& value = argumentAt(0);
H A DInjectedScriptHost.h55 class ScriptValue;
92 static Node* scriptValueAsNode(ScriptValue);
93 static ScriptValue nodeAsScriptValue(ScriptState*, Node*);
/external/webkit/Source/WebCore/dom/
H A DCustomEvent.h30 #include "ScriptValue.h"
44 void initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, ScriptValue detail);
48 ScriptValue detail() const { return m_detail; }
53 ScriptValue m_detail;
H A DCustomEvent.cpp41 void CustomEvent::initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, ScriptValue detail)
/external/webkit/Source/WebCore/bindings/js/
H A DScriptFunctionCall.h46 class ScriptValue;
53 void appendArgument(const ScriptValue&);
79 ScriptValue call(bool& hadException, bool reportExceptions = true);
80 ScriptValue call();
90 ScriptCallback(ScriptState*, ScriptValue);
92 ScriptValue call();
93 ScriptValue call(bool& hadException);
96 ScriptValue m_function;
H A DScriptValue.h47 class ScriptValue { class in namespace:WebCore
49 ScriptValue() { } function in class:WebCore::ScriptValue
50 ScriptValue(JSC::JSGlobalData& globalData, JSC::JSValue value) : m_value(globalData, value) {} function in class:WebCore::ScriptValue
51 virtual ~ScriptValue() {}
56 bool isEqual(ScriptState*, const ScriptValue&) const;
63 bool operator==(const ScriptValue& other) const { return m_value == other.m_value; }
66 static ScriptValue deserialize(ScriptState*, SerializedScriptValue*, SerializationErrorMode = Throwing);
68 static ScriptValue undefined();
H A DWorkerScriptController.h44 class ScriptValue;
59 ScriptValue evaluate(const ScriptSourceCode&);
60 ScriptValue evaluate(const ScriptSourceCode&, ScriptValue* exception);
62 void setException(ScriptValue);
H A DScriptValue.cpp31 #include "ScriptValue.h"
47 bool ScriptValue::getString(ScriptState* scriptState, String& result) const
59 String ScriptValue::toString(ScriptState* scriptState) const
68 bool ScriptValue::isEqual(ScriptState* scriptState, const ScriptValue& anotherValue) const
76 bool ScriptValue::isNull() const
83 bool ScriptValue::isUndefined() const
90 bool ScriptValue::isObject() const
97 bool ScriptValue::isFunction() const
103 PassRefPtr<SerializedScriptValue> ScriptValue
[all...]
H A DWorkerScriptController.cpp37 #include "ScriptValue.h"
102 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode)
105 return ScriptValue();
107 ScriptValue exception;
108 ScriptValue result(evaluate(sourceCode, &exception));
116 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* exception)
119 return ScriptValue();
134 return ScriptValue();
138 return ScriptValue(*m_globalDat
[all...]
H A DScriptFunctionCall.cpp36 #include "ScriptValue.h"
54 void ScriptCallArgumentHandler::appendArgument(const ScriptValue& argument)
124 ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions)
136 return ScriptValue();
142 return ScriptValue();
150 return ScriptValue();
153 return ScriptValue(m_exec->globalData(), result);
156 ScriptValue ScriptFunctionCall::call()
194 ScriptCallback::ScriptCallback(ScriptState* state, ScriptValue function)
200 ScriptValue ScriptCallbac
[all...]
H A DJSInjectedScriptHostCustom.cpp47 #include "ScriptValue.h"
64 Node* InjectedScriptHost::scriptValueAsNode(ScriptValue value)
71 ScriptValue InjectedScriptHost::nodeAsScriptValue(ScriptState* state, Node* node)
74 return ScriptValue(state->globalData(), toJS(state, node));
117 ScriptValue object(exec->globalData(), exec->argument(0));
118 ScriptValue hints(exec->globalData(), exec->argument(1));
H A DScriptController.h60 class ScriptValue;
95 ScriptValue executeScript(const ScriptSourceCode&);
96 ScriptValue executeScript(const String& script, bool forceUserGesture = false);
97 ScriptValue executeScriptInWorld(DOMWrapperWorld*, const String& script, bool forceUserGesture = false);
106 ScriptValue evaluate(const ScriptSourceCode&);
107 ScriptValue evaluateInWorld(const ScriptSourceCode&, DOMWrapperWorld*);
H A DScriptCallStackFactory.cpp38 #include "ScriptValue.h"
88 Vector<ScriptValue> arguments;
91 arguments.append(ScriptValue(exec->globalData(), exec->argument(i)));
/external/webkit/Source/WebCore/css/
H A DMediaQueryListListener.h25 #include "ScriptValue.h"
37 static PassRefPtr<MediaQueryListListener> create(ScriptValue value)
48 MediaQueryListListener(ScriptValue value) : m_value(value) { }
50 ScriptValue m_value;
/external/webkit/Source/WebCore/html/
H A DAsyncImageResizer.h39 #include "ScriptValue.h"
80 static PassRefPtr<AsyncImageResizer> create(CachedImage*, OutputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption, OrientationOption);
89 AsyncImageResizer(CachedImage*, OutputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption, OrientationOption);
93 ScriptValue m_successCallback;
94 ScriptValue m_errorCallback;
H A DAsyncImageResizer.cpp43 PassRefPtr<AsyncImageResizer> AsyncImageResizer::create(CachedImage* cachedImage, OutputType outputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption aspectRatioOption, OrientationOption orientationOption)
48 AsyncImageResizer::AsyncImageResizer(CachedImage* cachedImage, OutputType outputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption aspectRatioOption, OrientationOption orientationOption)
/external/webkit/Source/WebCore/bindings/
H A DScriptControllerBase.cpp30 #include "ScriptValue.h"
48 ScriptValue ScriptController::executeScript(const String& script, bool forceUserGesture)
53 ScriptValue ScriptController::executeScript(const ScriptSourceCode& sourceCode)
56 return ScriptValue();
61 ScriptValue result = evaluate(sourceCode);
89 ScriptValue result = executeScript(decodedURL.substring(javascriptSchemeLength), false);

Completed in 521 milliseconds

123