/external/webkit/Source/WebCore/bindings/js/ |
ScriptObject.cpp | 47 ScriptObject::ScriptObject(ScriptState* scriptState, JSObject* object) 48 : ScriptValue(scriptState->globalData(), object) 49 , m_scriptState(scriptState) 53 static bool handleException(ScriptState* scriptState) 55 if (!scriptState->hadException()) 58 reportException(scriptState, scriptState->exception()); 62 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, const ScriptObject& value [all...] |
ScriptValue.cpp | 47 bool ScriptValue::getString(ScriptState* scriptState, String& result) const 53 if (!m_value.get().getString(scriptState, ustring)) 59 String ScriptValue::toString(ScriptState* scriptState) const 61 String result = ustringToString(m_value.get().toString(scriptState)); 63 if (scriptState->hadException()) 64 scriptState->clearException(); 68 bool ScriptValue::isEqual(ScriptState* scriptState, const ScriptValue& anotherValue) cons [all...] |
JSInjectedScriptManager.cpp | 51 ScriptObject InjectedScriptManager::createInjectedScript(const String& source, ScriptState* scriptState, long id) 55 JSDOMGlobalObject* globalObject = static_cast<JSDOMGlobalObject*>(scriptState->lexicalGlobalObject()); 56 JSValue globalThisValue = scriptState->globalThisValue(); 57 Completion comp = JSMainThreadExecState::evaluate(scriptState, globalObject->globalScopeChain(), sourceCode, globalThisValue); 67 args.append(toJS(scriptState, globalObject, m_injectedScriptHost.get())); 70 JSValue result = JSC::call(scriptState, functionValue, callType, callData, globalThisValue, args); 72 return ScriptObject(scriptState, result.getObject()); 76 void InjectedScriptManager::discardInjectedScript(ScriptState* scriptState) [all...] |
ScriptState.cpp | 32 #include "ScriptState.h" 50 ScriptStateProtectedPtr::ScriptStateProtectedPtr(ScriptState* scriptState) 51 : m_globalObject(scriptState->globalData(), scriptState->lexicalGlobalObject()) 55 ScriptState* ScriptStateProtectedPtr::get() const 63 ScriptState* mainWorldScriptState(Frame* frame) 69 ScriptState* scriptStateFromNode(DOMWrapperWorld* world, Node* node) 84 ScriptState* scriptStateFromPage(DOMWrapperWorld* world, Page* page) 90 ScriptState* scriptStateFromWorkerContext(WorkerContext* workerContext [all...] |
ScriptObject.h | 34 #include "ScriptState.h" 46 ScriptObject(ScriptState*, JSC::JSObject*); 49 ScriptState* scriptState() const { return m_scriptState; } 52 ScriptState* m_scriptState; 57 static bool set(ScriptState*, const char* name, const ScriptObject&); 59 static bool set(ScriptState*, const char* name, InspectorFrontendHost*); 60 static bool set(ScriptState*, const char* name, InjectedScriptHost*); 62 static bool get(ScriptState*, const char* name, ScriptObject&); 63 static bool remove(ScriptState*, const char* name) [all...] |
ScriptFunctionCall.cpp | 47 if (argument.scriptState() != m_exec) { 118 : ScriptCallArgumentHandler(thisObject.scriptState()) 194 ScriptCallback::ScriptCallback(ScriptState* state, ScriptValue function)
|
/external/webkit/Source/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)
|
ScriptObject.cpp | 35 #include "ScriptState.h" 48 ScriptObject::ScriptObject(ScriptState* scriptState, v8::Handle<v8::Object> v8Object) 50 , m_scriptState(scriptState) 60 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, const ScriptObject& value) 62 ScriptScope scope(scriptState); 68 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, InspectorFrontendHost* value) 70 ScriptScope scope(scriptState); [all...] |
ScriptFunctionCall.h | 41 class ScriptState; 45 ScriptCallArgumentHandler(ScriptState* scriptState) : m_scriptState(scriptState) { } 59 ScriptState* m_scriptState; 77 ScriptCallback(ScriptState*, ScriptValue);
|
ScriptScope.h | 37 class ScriptState; 41 ScriptScope(ScriptState* scriptState, bool reportExceptions = true); 51 ScriptState* m_scriptState;
|
ScriptValue.cpp | 41 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState) 43 ScriptScope scope(scriptState); 47 ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptValue* value) 49 ScriptScope scope(scriptState); 65 String ScriptValue::toString(ScriptState*) const 128 PassRefPtr<InspectorValue> ScriptValue::toInspectorValue(ScriptState* scriptState) const 132 v8::Context::Scope contextScope(scriptState->context()) [all...] |
ScriptState.h | 46 class ScriptState { 47 WTF_MAKE_NONCOPYABLE(ScriptState); 61 static ScriptState* forContext(v8::Local<v8::Context>); 62 static ScriptState* current(); 65 ScriptState() { } 66 ~ScriptState(); 69 friend ScriptState* mainWorldScriptState(Frame*); 70 explicit ScriptState(v8::Handle<v8::Context>); 78 class EmptyScriptState : public ScriptState { 80 EmptyScriptState() : ScriptState() { } [all...] |
ScriptObject.h | 41 class ScriptState; 45 ScriptObject(ScriptState*, v8::Handle<v8::Object>); 50 ScriptState* scriptState() const { return m_scriptState; } 52 ScriptState* m_scriptState; 57 static bool set(ScriptState*, const char* name, const ScriptObject&); 58 static bool set(ScriptState*, const char* name, InspectorFrontendHost*); 59 static bool set(ScriptState*, const char* name, InjectedScriptHost*); 60 static bool get(ScriptState*, const char* name, ScriptObject&); 61 static bool remove(ScriptState*, const char* name) [all...] |
V8HiddenPropertyName.h | 42 V(scriptState) \
|
ScriptState.cpp | 32 #include "ScriptState.h" 49 ScriptState::ScriptState(v8::Handle<v8::Context> context) 52 m_context.MakeWeak(this, &ScriptState::weakReferenceCallback); 55 ScriptState::~ScriptState() 61 ScriptState* ScriptState::forContext(v8::Local<v8::Context> context) 70 v8::Handle<v8::String> key = V8HiddenPropertyName::scriptState(); 73 return static_cast<ScriptState*>(v8::External::Cast(*val)->Value()) [all...] |
ScriptFunctionCall.cpp | 35 #include "ScriptState.h" 49 if (argument.scriptState() != m_scriptState) { 109 : ScriptCallArgumentHandler(thisObject.scriptState()) 175 ScriptCallback::ScriptCallback(ScriptState* state, ScriptValue function)
|
/external/webkit/Source/WebCore/inspector/ |
ScriptArguments.cpp | 38 PassRefPtr<ScriptArguments> ScriptArguments::create(ScriptState* scriptState, Vector<ScriptValue>& arguments) 40 return adoptRef(new ScriptArguments(scriptState, arguments)); 43 ScriptArguments::ScriptArguments(ScriptState* scriptState, Vector<ScriptValue>& arguments) 44 : m_scriptState(scriptState) 59 ScriptState* ScriptArguments::globalState() const
|
InjectedScriptManager.cpp | 100 discardInjectedScript(it->second.scriptState()); 104 bool InjectedScriptManager::canAccessInspectedWorkerContext(ScriptState*) 120 pair<long, ScriptObject> InjectedScriptManager::injectScript(const String& source, ScriptState* scriptState) 123 return std::make_pair(id, createInjectedScript(source, scriptState, id));
|
InjectedScript.h | 74 ScriptState* scriptState() const { return m_injectedScriptObject.scriptState(); } 77 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*); 78 typedef bool (*InspectedStateAccessCheck)(ScriptState*);
|
InjectedScript.cpp | 139 RefPtr<InspectorValue> result = callFramesValue.toInspectorValue(m_injectedScriptObject.scriptState()); 160 return r.toInspectorValue(m_injectedScriptObject.scriptState())->asObject(); 187 return m_inspectedStateAccessCheck(m_injectedScriptObject.scriptState()); 202 *result = resultValue.toInspectorValue(m_injectedScriptObject.scriptState()); 225 return InjectedScriptHost::nodeAsScriptValue(m_injectedScriptObject.scriptState(), node);
|
InspectorProfilerAgent.cpp | 302 JSC::ExecState* scriptState = toJSDOMWindow(m_inspectedPage->mainFrame(), debuggerWorld())->globalExec(); 304 ScriptState* scriptState = 0; 306 ScriptProfiler::start(scriptState, title); 319 JSC::ExecState* scriptState = toJSDOMWindow(m_inspectedPage->mainFrame(), debuggerWorld())->globalExec(); 323 ScriptState* scriptState = 0; 325 RefPtr<ScriptProfile> profile = ScriptProfiler::stop(scriptState, title);
|
InspectorPageAgent.cpp | 248 ScriptState* scriptState = mainWorldScriptState(frame); 251 m_injectedScriptManager->injectScript(*it, scriptState);
|
InspectorDebuggerAgent.cpp | 407 void InspectorDebuggerAgent::didPause(ScriptState* scriptState) 409 ASSERT(scriptState && !m_pausedScriptState); 410 m_pausedScriptState = scriptState;
|
/external/webkit/Source/WebCore/css/ |
MediaQueryMatcher.cpp | 44 void MediaQueryMatcher::Listener::evaluate(ScriptState* state, MediaQueryEvaluator* evaluator) 143 ScriptState* scriptState = mainWorldScriptState(m_document->frame()); 144 if (!scriptState) 153 m_listeners[i]->evaluate(scriptState, evaluator.get());
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8InjectedScriptManager.cpp | 76 ScriptObject InjectedScriptManager::createInjectedScript(const String& scriptSource, ScriptState* inspectedScriptState, long id) 113 void InjectedScriptManager::discardInjectedScript(ScriptState* inspectedScriptState) 128 InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState* inspectedScriptState) 154 bool InjectedScriptManager::canAccessInspectedWindow(ScriptState* scriptState) 157 v8::Local<v8::Context> context = scriptState->context();
|