/external/webkit/WebCore/bindings/v8/ |
ScriptScope.cpp | 34 #include "ScriptState.h" 40 ScriptScope::ScriptScope(ScriptState* scriptState, bool reportExceptions) 41 : m_context(scriptState->context()) 43 , m_scriptState(scriptState)
|
ScriptValue.cpp | 40 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState) 42 ScriptScope scope(scriptState); 46 ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptValue* value) 48 ScriptScope scope(scriptState); 64 String ScriptValue::toString(ScriptState*) const
|
ScriptObject.cpp | 35 #include "ScriptState.h" 49 ScriptObject::ScriptObject(ScriptState* scriptState, v8::Handle<v8::Object> v8Object) 51 , m_scriptState(scriptState) 70 if (value.scriptState() != m_scriptState) { 135 ScriptObject ScriptObject::createNew(ScriptState* scriptState) 137 ScriptScope scope(scriptState); 138 return ScriptObject(scriptState, v8::Object::New()); 141 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, const ScriptObject& value [all...] |
ScriptArray.cpp | 35 #include "ScriptState.h" 46 ScriptArray::ScriptArray(ScriptState* scriptState, v8::Handle<v8::Array> v8Array) 47 : ScriptObject(scriptState, v8Array) 53 if (value.scriptState() != m_scriptState) { 103 ScriptArray ScriptArray::createNew(ScriptState* scriptState) 105 ScriptScope scope(scriptState); 106 return ScriptArray(scriptState, v8::Array::New());
|
ScriptArray.h | 39 class ScriptState; 43 ScriptArray(ScriptState* scriptState, v8::Handle<v8::Array>); 54 static ScriptArray createNew(ScriptState*);
|
ScriptScope.h | 37 class ScriptState; 41 ScriptScope(ScriptState* scriptState, bool reportExceptions = true); 51 ScriptState* m_scriptState;
|
V8HiddenPropertyName.h | 42 V(scriptState) \
|
ScriptState.cpp | 32 #include "ScriptState.h" 45 ScriptState::ScriptState(v8::Handle<v8::Context> context) 48 m_context.MakeWeak(this, &ScriptState::weakReferenceCallback); 51 ScriptState::~ScriptState() 57 ScriptState* ScriptState::forContext(v8::Local<v8::Context> context) 66 v8::Handle<v8::String> key = V8HiddenPropertyName::scriptState(); 69 return static_cast<ScriptState*>(v8::External::Cast(*val)->Value()) [all...] |
V8Utilities.cpp | 39 #include "ScriptState.h" 128 ScriptExecutionContext* getScriptExecutionContext(ScriptState* scriptState) 137 if (scriptState) { 139 frame = V8Proxy::retrieveFrame(scriptState->context()); 149 void reportException(ScriptState* scriptState, v8::TryCatch& exceptionCatcher) 171 ScriptExecutionContext* context = getScriptExecutionContext(scriptState);
|
ScriptObject.h | 42 class ScriptState; 46 ScriptObject(ScriptState*, v8::Handle<v8::Object>); 51 ScriptState* scriptState() const { return m_scriptState; } 64 static ScriptObject createNew(ScriptState*); 66 ScriptState* m_scriptState; 71 static bool set(ScriptState*, const char* name, const ScriptObject&); 72 static bool set(ScriptState*, const char* name, InspectorBackend*); 73 static bool set(ScriptState*, const char* name, InspectorFrontendHost*); 74 static bool set(ScriptState*, const char* name, InjectedScriptHost*) [all...] |
ScriptEventListener.cpp | 109 String getEventListenerHandlerBody(ScriptExecutionContext* context, ScriptState* scriptState, EventListener* listener) 114 ScriptScope scope(scriptState);
|
ScriptFunctionCall.cpp | 35 #include "ScriptState.h" 49 : m_scriptState(thisObject.scriptState()) 57 if (argument.scriptState() != m_scriptState) {
|
/external/webkit/WebCore/bindings/js/ |
ScriptValue.cpp | 45 bool ScriptValue::getString(ScriptState* scriptState, String& result) const 51 if (!m_value.get().getString(scriptState, ustring)) 57 bool ScriptValue::isEqual(ScriptState* scriptState, const ScriptValue& anotherValue) const 62 return JSValueIsEqual(toRef(scriptState), toRef(scriptState, jsValue()), toRef(scriptState, anotherValue.jsValue()), 0); 86 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState) [all...] |
ScriptObject.cpp | 48 ScriptObject::ScriptObject(ScriptState* scriptState, JSObject* object) 50 , m_scriptState(scriptState) 54 static bool handleException(ScriptState* scriptState) 56 if (!scriptState->hadException()) 59 reportException(scriptState, scriptState->exception()); 73 if (value.scriptState() != m_scriptState) { 147 ScriptObject ScriptObject::createNew(ScriptState* scriptState [all...] |
ScriptArray.cpp | 40 ScriptArray::ScriptArray(ScriptState* scriptState, JSArray* object) 41 : ScriptObject(scriptState, object) 45 static bool handleException(ScriptState* scriptState) 47 if (!scriptState->hadException()) 50 reportException(scriptState, scriptState->exception()); 56 if (value.scriptState() != m_scriptState) { 106 ScriptArray ScriptArray::createNew(ScriptState* scriptState [all...] |
ScriptValue.h | 35 #include "ScriptState.h" 50 bool getString(ScriptState*, String& result) const; 51 String toString(ScriptState* scriptState) const { return m_value.get().toString(scriptState); } 52 bool isEqual(ScriptState*, const ScriptValue&) const; 58 PassRefPtr<SerializedScriptValue> serialize(ScriptState*); 59 static ScriptValue deserialize(ScriptState*, SerializedScriptValue*);
|
JSInjectedScriptHostCustom.cpp | 78 static ScriptObject createInjectedScript(const String& source, InjectedScriptHost* injectedScriptHost, ScriptState* scriptState, long id) 82 JSDOMGlobalObject* globalObject = static_cast<JSDOMGlobalObject*>(scriptState->lexicalGlobalObject()); 83 JSValue globalThisValue = scriptState->globalThisValue(); 84 Completion comp = JSC::evaluate(scriptState, globalObject->globalScopeChain(), sourceCode, globalThisValue); 94 args.append(toJS(scriptState, globalObject, injectedScriptHost)); 96 args.append(jsNumber(scriptState, id)); 97 JSValue result = JSC::call(scriptState, functionValue, callType, callData, globalThisValue, args); 99 return ScriptObject(scriptState, result.getObject()); 218 InjectedScript InjectedScriptHost::injectedScriptFor(ScriptState* scriptState [all...] |
ScriptEventListener.cpp | 113 String getEventListenerHandlerBody(ScriptExecutionContext* context, ScriptState* scriptState, EventListener* eventListener) 121 return jsFunction->toString(scriptState);
|
ScriptObject.h | 34 #include "ScriptState.h" 47 ScriptObject(ScriptState*, JSC::JSObject*); 50 ScriptState* scriptState() const { return m_scriptState; } 63 static ScriptObject createNew(ScriptState*); 66 ScriptState* m_scriptState; 71 static bool set(ScriptState*, const char* name, const ScriptObject&); 73 static bool set(ScriptState*, const char* name, InspectorBackend*); 74 static bool set(ScriptState*, const char* name, InspectorFrontendHost*); 75 static bool set(ScriptState*, const char* name, InjectedScriptHost*) [all...] |
ScriptFunctionCall.cpp | 46 : m_exec(thisObject.scriptState()) 54 if (argument.scriptState() != m_exec) {
|
/external/webkit/WebCore/inspector/ |
InjectedScript.cpp | 58 *result = resultValue.serialize(m_injectedScriptObject.scriptState()); 67 return callFramesValue.serialize(m_injectedScriptObject.scriptState()); 78 return r.serialize(m_injectedScriptObject.scriptState());
|
InspectorFrontend.h | 35 #include "ScriptState.h" 70 void addConsoleMessage(const ScriptObject& messageObj, const Vector<ScriptString>& frames, ScriptState*, const Vector<ScriptValue> arguments, const String& message); 144 ScriptState* scriptState() const { return m_webInspector.scriptState(); }
|
InspectorFrontend.cpp | 43 #include "ScriptState.h" 70 return ScriptArray::createNew(scriptState()); 75 return ScriptObject::createNew(scriptState()); 99 void InspectorFrontend::addConsoleMessage(const ScriptObject& messageObj, const Vector<ScriptString>& frames, ScriptState* scriptState, const Vector<ScriptValue> arguments, const String& message) 108 InjectedScript injectedScript = m_inspectorController->injectedScriptHost()->injectedScriptFor(scriptState); 111 ScriptValue scriptValue = ScriptValue::deserialize(this->scriptState(), serializedValue.get()); 294 ScriptValue callFramesValue = ScriptValue::deserialize(scriptState(), callFrames); 469 ScriptValue resultValue = ScriptValue::deserialize(scriptState(), result);
|
InspectorController.cpp | 347 void InspectorController::addConsoleMessage(ScriptState* scriptState, ConsoleMessage* consoleMessage) 352 if (m_previousMessage && m_previousMessage->isEqual(scriptState, consoleMessage)) { 545 void InspectorController::setFrontendProxyObject(ScriptState* scriptState, ScriptObject webInspectorObj, ScriptObject) 547 m_frontendScriptState = scriptState; [all...] |
/external/webkit/WebCore/page/ |
Console.cpp | 77 static bool getFirstArgumentAsString(ScriptState* scriptState, const ScriptCallFrame& callFrame, String& result, bool checkForNullOrUndefined = false) 86 result = value.toString(scriptState);
|