Home
last modified time | relevance | path

Searched refs:ScriptState (Results 1 – 25 of 90) sorted by relevance

1234

/external/webkit/Source/WebCore/bindings/v8/
DScriptState.cpp49 ScriptState::ScriptState(v8::Handle<v8::Context> context) in ScriptState() function in WebCore::ScriptState
52 m_context.MakeWeak(this, &ScriptState::weakReferenceCallback); in ScriptState()
55 ScriptState::~ScriptState() in ~ScriptState()
61 ScriptState* ScriptState::forContext(v8::Local<v8::Context> context) in forContext()
73 return static_cast<ScriptState*>(v8::External::Cast(*val)->Value()); in forContext()
75 ScriptState* state = new ScriptState(context); in forContext()
80 ScriptState* ScriptState::current() in current()
88 return ScriptState::forContext(context); in current()
91 void ScriptState::weakReferenceCallback(v8::Persistent<v8::Value> object, void* parameter) in weakReferenceCallback()
93 ScriptState* scriptState = static_cast<ScriptState*>(parameter); in weakReferenceCallback()
[all …]
DScriptState.h46 class ScriptState {
47 WTF_MAKE_NONCOPYABLE(ScriptState);
61 static ScriptState* forContext(v8::Local<v8::Context>);
62 static ScriptState* current();
65 ScriptState() { } in ScriptState() function
66 ~ScriptState();
69 friend ScriptState* mainWorldScriptState(Frame*);
70 explicit ScriptState(v8::Handle<v8::Context>);
78 class EmptyScriptState : public ScriptState {
80 EmptyScriptState() : ScriptState() { } in EmptyScriptState()
[all …]
DScriptObject.h41 class ScriptState; variable
45 ScriptObject(ScriptState*, v8::Handle<v8::Object>);
50 ScriptState* scriptState() const { return m_scriptState; } in 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);
DScriptObject.cpp48 ScriptObject::ScriptObject(ScriptState* scriptState, v8::Handle<v8::Object> v8Object) in ScriptObject()
60 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, const ScriptObject& value) in set()
68 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, InspectorFrontendHost* val… in set()
75 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, InjectedScriptHost* value) in set()
83 bool ScriptGlobalObject::get(ScriptState* scriptState, const char* name, ScriptObject& value) in get()
97 bool ScriptGlobalObject::remove(ScriptState* scriptState, const char* name) in remove()
DScriptValue.h98 bool isEqual(ScriptState*, const ScriptValue& value) const in isEqual() argument
133 PassRefPtr<SerializedScriptValue> serialize(ScriptState*);
134 static ScriptValue deserialize(ScriptState*, SerializedScriptValue*);
156 bool getString(ScriptState*, String& result) const { return getString(result); } in getString() argument
158 String toString(ScriptState*) const;
160 PassRefPtr<InspectorValue> toInspectorValue(ScriptState*) const;
DScriptFunctionCall.h41 class ScriptState; variable
45 ScriptCallArgumentHandler(ScriptState* scriptState) : m_scriptState(scriptState) { } in ScriptCallArgumentHandler()
59 ScriptState* m_scriptState;
77 ScriptCallback(ScriptState*, ScriptValue);
DScriptScope.h37 class ScriptState; variable
41 ScriptScope(ScriptState* scriptState, bool reportExceptions = true);
51 ScriptState* m_scriptState;
DScriptValue.cpp41 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState) in serialize()
47 ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptValue* value) in deserialize()
65 String ScriptValue::toString(ScriptState*) const in toString()
128 PassRefPtr<InspectorValue> ScriptValue::toInspectorValue(ScriptState* scriptState) const in toInspectorValue()
/external/webkit/Source/WebCore/bindings/js/
DScriptObject.h46 ScriptObject(ScriptState*, JSC::JSObject*);
49 ScriptState* scriptState() const { return m_scriptState; } in 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);
DScriptState.h54 typedef JSC::ExecState ScriptState; typedef
59 explicit ScriptStateProtectedPtr(ScriptState*);
61 ScriptState* get() const;
66 ScriptState* mainWorldScriptState(Frame*);
68 ScriptState* scriptStateFromNode(DOMWrapperWorld*, Node*);
69 ScriptState* scriptStateFromPage(DOMWrapperWorld*, Page*);
72 ScriptState* scriptStateFromWorkerContext(WorkerContext*);
DScriptValue.h54 bool getString(ScriptState*, String& result) const;
55 String toString(ScriptState*) const;
56 bool isEqual(ScriptState*, const ScriptValue&) const;
65 PassRefPtr<SerializedScriptValue> serialize(ScriptState*, SerializationErrorMode = Throwing);
66 …static ScriptValue deserialize(ScriptState*, SerializedScriptValue*, SerializationErrorMode = Thro…
71 PassRefPtr<InspectorValue> toInspectorValue(ScriptState*) const;
DScriptState.cpp50 ScriptStateProtectedPtr::ScriptStateProtectedPtr(ScriptState* scriptState) in ScriptStateProtectedPtr()
55 ScriptState* ScriptStateProtectedPtr::get() const in get()
63 ScriptState* mainWorldScriptState(Frame* frame) in mainWorldScriptState()
69 ScriptState* scriptStateFromNode(DOMWrapperWorld* world, Node* node) in scriptStateFromNode()
84 ScriptState* scriptStateFromPage(DOMWrapperWorld* world, Page* page) in scriptStateFromPage()
90 ScriptState* scriptStateFromWorkerContext(WorkerContext* workerContext) in scriptStateFromWorkerContext()
DScriptObject.cpp47 ScriptObject::ScriptObject(ScriptState* scriptState, JSObject* object) in ScriptObject()
53 static bool handleException(ScriptState* scriptState) in handleException()
62 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, const ScriptObject& value) in set()
70 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, InspectorFrontendHost* val… in set()
78 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, InjectedScriptHost* value) in set()
87 bool ScriptGlobalObject::get(ScriptState* scriptState, const char* name, ScriptObject& value) in get()
101 bool ScriptGlobalObject::remove(ScriptState* scriptState, const char* name) in remove()
DScriptValue.cpp47 bool ScriptValue::getString(ScriptState* scriptState, String& result) const in getString()
59 String ScriptValue::toString(ScriptState* scriptState) const in toString()
68 bool ScriptValue::isEqual(ScriptState* scriptState, const ScriptValue& anotherValue) const in isEqual()
103 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState, SerializationErr… in serialize()
108 ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptValue* value, Serial… in deserialize()
114 static PassRefPtr<InspectorValue> jsToInspectorValue(ScriptState* scriptState, JSValue value) in jsToInspectorValue()
166 PassRefPtr<InspectorValue> ScriptValue::toInspectorValue(ScriptState* scriptState) const in toInspectorValue()
DJSInjectedScriptManager.cpp51 ScriptObject InjectedScriptManager::createInjectedScript(const String& source, ScriptState* scriptS… in createInjectedScript()
76 void InjectedScriptManager::discardInjectedScript(ScriptState* scriptState) in discardInjectedScript()
82 InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState* scriptState) in injectedScriptFor()
100 bool InjectedScriptManager::canAccessInspectedWindow(ScriptState* scriptState) in canAccessInspectedWindow()
DScriptFunctionCall.h50 ScriptCallArgumentHandler(ScriptState* state) : m_exec(state) { } in ScriptCallArgumentHandler()
67 ScriptState* m_exec;
90 ScriptCallback(ScriptState*, ScriptValue);
DScriptProfiler.cpp44 void ScriptProfiler::start(ScriptState* state, const String& title) in start()
49 PassRefPtr<ScriptProfile> ScriptProfiler::stop(ScriptState* state, const String& title) in stop()
DScriptProfiler.h51 static void start(ScriptState* state, const String& title);
52 static PassRefPtr<ScriptProfile> stop(ScriptState* state, const String& title);
/external/webkit/Source/WebCore/inspector/
DInjectedScriptManager.h57 pair<long, ScriptObject> injectScript(const String& source, ScriptState*);
58 InjectedScript injectedScriptFor(ScriptState*);
66 typedef bool (*InspectedStateAccessCheck)(ScriptState*);
70 ScriptObject createInjectedScript(const String& source, ScriptState*, long id);
71 void discardInjectedScript(ScriptState*);
73 static bool canAccessInspectedWindow(ScriptState*);
74 static bool canAccessInspectedWorkerContext(ScriptState*);
DScriptArguments.h46 static PassRefPtr<ScriptArguments> create(ScriptState*, Vector<ScriptValue>& arguments);
53 ScriptState* globalState() const;
59 ScriptArguments(ScriptState*, Vector<ScriptValue>& arguments);
DScriptArguments.cpp38 PassRefPtr<ScriptArguments> ScriptArguments::create(ScriptState* scriptState, Vector<ScriptValue>& … in create()
43 ScriptArguments::ScriptArguments(ScriptState* scriptState, Vector<ScriptValue>& arguments) in ScriptArguments()
59 ScriptState* ScriptArguments::globalState() const in globalState()
DInjectedScript.h74 ScriptState* scriptState() const { return m_injectedScriptObject.scriptState(); } in scriptState()
77 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*);
78 typedef bool (*InspectedStateAccessCheck)(ScriptState*);
/external/webkit/Source/WebCore/dom/
DTreeWalker.h47 Node* parentNode(ScriptState*);
48 Node* firstChild(ScriptState*);
49 Node* lastChild(ScriptState*);
50 Node* previousSibling(ScriptState*);
51 Node* nextSibling(ScriptState*);
52 Node* previousNode(ScriptState*);
53 Node* nextNode(ScriptState*);
DTreeWalker.idl34 [CallWith=ScriptState] Node parentNode();
35 [CallWith=ScriptState] Node firstChild();
36 [CallWith=ScriptState] Node lastChild();
37 [CallWith=ScriptState] Node previousSibling();
38 [CallWith=ScriptState] Node nextSibling();
39 [CallWith=ScriptState] Node previousNode();
40 [CallWith=ScriptState] Node nextNode();
DTreeWalker.cpp57 Node* TreeWalker::parentNode(ScriptState* state) in parentNode()
73 Node* TreeWalker::firstChild(ScriptState* state) in firstChild()
106 Node* TreeWalker::lastChild(ScriptState* state) in lastChild()
139 Node* TreeWalker::previousSibling(ScriptState* state) in previousSibling()
176 Node* TreeWalker::nextSibling(ScriptState* state) in nextSibling()
213 Node* TreeWalker::previousNode(ScriptState* state) in previousNode()
252 Node* TreeWalker::nextNode(ScriptState* state) in nextNode()

1234