Searched refs:jsEvent (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DV8AbstractEventListener.cpp95 v8::Handle<v8::Value> jsEvent = toV8(event, scriptState()->context()->Global(), isolate()); local
96 if (jsEvent.IsEmpty())
98 invokeEventHandler(event, v8::Local<v8::Value>::New(isolate(), jsEvent));
107 void V8AbstractEventListener::invokeEventHandler(Event* event, v8::Local<v8::Value> jsEvent) argument
109 // If jsEvent is empty, attempt to set it as a hidden value would crash v8.
110 if (jsEvent.IsEmpty())
125 V8HiddenValue::setHiddenValue(isolate(), scriptState()->context()->Global(), V8HiddenValue::event(isolate()), jsEvent);
128 returnValue = callListenerFunction(jsEvent, event);
H A DV8WorkerGlobalScopeEventListener.cpp68 v8::Handle<v8::Value> jsEvent = toV8(event, scriptState()->context()->Global(), isolate()); local
70 invokeEventHandler(event, v8::Local<v8::Value>::New(isolate(), jsEvent));
73 v8::Local<v8::Value> V8WorkerGlobalScopeEventListener::callListenerFunction(v8::Handle<v8::Value> jsEvent, Event* event) argument
92 v8::Handle<v8::Value> parameters[1] = { jsEvent };
H A DV8ErrorHandler.cpp50 v8::Local<v8::Value> V8ErrorHandler::callListenerFunction(v8::Handle<v8::Value> jsEvent, Event* event) argument
53 return V8EventListener::callListenerFunction(jsEvent, event);
66 v8::Local<v8::Value> error = V8HiddenValue::getHiddenValue(isolate(), jsEvent->ToObject(), V8HiddenValue::error(isolate()));
H A DV8ErrorHandler.h55 virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*) OVERRIDE;
H A DV8EventListener.h57 virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*) OVERRIDE;
H A DV8WorkerGlobalScopeEventListener.h55 virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*) OVERRIDE;
H A DV8EventListener.cpp70 v8::Local<v8::Value> V8EventListener::callListenerFunction(v8::Handle<v8::Value> jsEvent, Event* event) argument
87 v8::Handle<v8::Value> parameters[1] = { jsEvent };
H A DV8LazyEventListener.h68 virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*) OVERRIDE;
H A DV8AbstractEventListener.h129 void invokeEventHandler(Event*, v8::Local<v8::Value> jsEvent);
H A DV8LazyEventListener.cpp77 v8::Local<v8::Value> V8LazyEventListener::callListenerFunction(v8::Handle<v8::Value> jsEvent, Event* event) argument
98 v8::Handle<v8::Value> parameters[1] = { jsEvent };
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DCustomEventTest.cpp67 v8::Handle<v8::Value> jsEvent = toV8(event, scriptState()->context()->Global(), isolate()); local
69 EXPECT_EQ(jsEvent->ToObject()->Get(v8::String::NewFromUtf8(scriptState()->isolate(), "detail")), v8::Boolean::New(scriptState()->isolate(), true));
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
H A DTimelineJSProfile.js122 var jsEvent = new WebInspector.TracingModel.Event(WebInspector.TracingModel.DevToolsMetadataEventCategory, WebInspector.TracingTimelineModel.RecordType.JSSample,
124 jsEvent.stackTrace = stackTrace;
125 jsEvents.push(jsEvent);
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
H A DV8WindowCustom.cpp166 v8::Handle<v8::Value> jsEvent = V8HiddenValue::getHiddenValue(info.GetIsolate(), context->Global(), V8HiddenValue::event(info.GetIsolate()));
167 if (jsEvent.IsEmpty())
169 v8SetReturnValue(info, jsEvent);

Completed in 281 milliseconds