event 49 ManualTests/NPN_Invoke/main.c int16_t NPP_HandleEvent(NPP instance, void* event); event 89 ManualTests/NPN_Invoke/main.c pluginFuncs->event = NPP_HandleEvent; event 146 ManualTests/NPN_Invoke/main.c pluginFuncs->event = (NPP_HandleEventProcPtr)tVectorForFunctionPointer((FunctionPointer)NPP_HandleEvent); event 213 ManualTests/NPN_Invoke/main.c int16_t NPP_HandleEvent(NPP instance, void* event) event 3 ManualTests/resources/ArrayParameterTestApplet.java import java.awt.event.*; event 649 Source/bindings/templates/interface.cpp RefPtrWillBeRawPtr<{{cpp_class}}> event = {{cpp_class}}::create(type, eventInit, exceptionState); event 653 Source/bindings/templates/interface.cpp RefPtrWillBeRawPtr<{{cpp_class}}> event = {{cpp_class}}::create(type, eventInit); event 657 Source/bindings/templates/interface.cpp it in the event for later cloning if the property is accessed from event 668 Source/bindings/templates/interface.cpp event->setSerialized{{attribute.name | blink_capitalize}}(SerializedScriptValue::createAndSwallowExceptions({{attribute.name}}, isolate)); event 674 Source/bindings/templates/interface.cpp V8DOMWrapper::associateObjectWithWrapper<{{v8_class}}>(event.release(), &{{v8_class}}::wrapperTypeInfo, wrapper, isolate, {{wrapper_configuration}}); event 272 Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp RefPtrWillBeRawPtr<TestInterfaceEventConstructor> event = TestInterfaceEventConstructor::create(type, eventInit, exceptionState); event 277 Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp event->setSerializedInitializedByEventConstructorReadonlyAnyAttribute(SerializedScriptValue::createAndSwallowExceptions(initializedByEventConstructorReadonlyAnyAttribute, isolate)); event 281 Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceEventConstructor>(event.release(), &V8TestInterfaceEventConstructor::wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Independent); event 443 Source/bindings/v8/ScriptDebugServer.cpp v8::DebugEvent event = eventDetails.GetEvent(); event 445 Source/bindings/v8/ScriptDebugServer.cpp if (event == v8::BreakForCommand) { event 451 Source/bindings/v8/ScriptDebugServer.cpp if (event != v8::Break && event != v8::Exception && event != v8::AfterCompile && event != v8::BeforeCompile) event 461 Source/bindings/v8/ScriptDebugServer.cpp if (event == v8::BeforeCompile) { event 463 Source/bindings/v8/ScriptDebugServer.cpp } else if (event == v8::AfterCompile) { event 471 Source/bindings/v8/ScriptDebugServer.cpp } else if (event == v8::Exception) { event 484 Source/bindings/v8/ScriptDebugServer.cpp } else if (event == v8::Break) { event 66 Source/bindings/v8/V8AbstractEventListener.cpp void V8AbstractEventListener::handleEvent(ExecutionContext* context, Event* event) event 72 Source/bindings/v8/V8AbstractEventListener.cpp ASSERT(event); event 89 Source/bindings/v8/V8AbstractEventListener.cpp v8::Handle<v8::Value> jsEvent = toV8(event, v8::Handle<v8::Object>(), isolate); event 92 Source/bindings/v8/V8AbstractEventListener.cpp invokeEventHandler(context, event, v8::Local<v8::Value>::New(isolate, jsEvent)); event 101 Source/bindings/v8/V8AbstractEventListener.cpp void V8AbstractEventListener::invokeEventHandler(ExecutionContext* context, Event* event, v8::Local<v8::Value> jsEvent) event 119 Source/bindings/v8/V8AbstractEventListener.cpp v8::Local<v8::Value> savedEvent = V8HiddenValue::getHiddenValue(v8Context->GetIsolate(), v8Context->Global(), V8HiddenValue::event(isolate)); event 123 Source/bindings/v8/V8AbstractEventListener.cpp V8HiddenValue::setHiddenValue(v8Context->GetIsolate(), v8Context->Global(), V8HiddenValue::event(isolate), jsEvent); event 126 Source/bindings/v8/V8AbstractEventListener.cpp returnValue = callListenerFunction(context, jsEvent, event); event 128 Source/bindings/v8/V8AbstractEventListener.cpp event->target()->uncaughtExceptionInEventHandler(); event 139 Source/bindings/v8/V8AbstractEventListener.cpp V8HiddenValue::setHiddenValue(v8Context->GetIsolate(), v8Context->Global(), V8HiddenValue::event(isolate), v8::Undefined(v8Context->GetIsolate())); event 141 Source/bindings/v8/V8AbstractEventListener.cpp V8HiddenValue::setHiddenValue(v8Context->GetIsolate(), v8Context->Global(), V8HiddenValue::event(isolate), savedEvent); event 148 Source/bindings/v8/V8AbstractEventListener.cpp if (m_isAttribute && !returnValue->IsNull() && !returnValue->IsUndefined() && event->isBeforeUnloadEvent()) { event 150 Source/bindings/v8/V8AbstractEventListener.cpp toBeforeUnloadEvent(event)->setReturnValue(stringReturnValue); event 154 Source/bindings/v8/V8AbstractEventListener.cpp event->preventDefault(); event 164 Source/bindings/v8/V8AbstractEventListener.cpp v8::Local<v8::Object> V8AbstractEventListener::getReceiverObject(ExecutionContext* context, Event* event) event 171 Source/bindings/v8/V8AbstractEventListener.cpp EventTarget* target = event->currentTarget(); event 51 Source/bindings/v8/V8ErrorHandler.cpp v8::Local<v8::Value> V8ErrorHandler::callListenerFunction(ExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event) event 53 Source/bindings/v8/V8ErrorHandler.cpp if (!event->hasInterface(EventNames::ErrorEvent)) event 54 Source/bindings/v8/V8ErrorHandler.cpp return V8EventListener::callListenerFunction(context, jsEvent, event); event 56 Source/bindings/v8/V8ErrorHandler.cpp ErrorEvent* errorEvent = static_cast<ErrorEvent*>(event); event 84 Source/bindings/v8/V8ErrorHandler.cpp void V8ErrorHandler::storeExceptionOnErrorEventWrapper(ErrorEvent* event, v8::Handle<v8::Value> data, v8::Isolate* isolate) event 86 Source/bindings/v8/V8ErrorHandler.cpp v8::Local<v8::Value> wrappedEvent = toV8(event, v8::Handle<v8::Object>(), isolate); event 70 Source/bindings/v8/V8EventListener.cpp v8::Local<v8::Value> V8EventListener::callListenerFunction(ExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event) event 74 Source/bindings/v8/V8EventListener.cpp v8::Local<v8::Object> receiver = getReceiverObject(context, event); event 32 Source/bindings/v8/V8HiddenValue.h V(event) \ event 115 Source/bindings/v8/V8Initializer.cpp RefPtrWillBeRawPtr<ErrorEvent> event = ErrorEvent::create(errorMessage, resource, message->GetLineNumber(), message->GetStartColumn() + 1, &world); event 122 Source/bindings/v8/V8Initializer.cpp event->setUnsanitizedMessage("Uncaught " + exception->toStringForConsole()); event 131 Source/bindings/v8/V8Initializer.cpp V8ErrorHandler::storeExceptionOnErrorEventWrapper(event.get(), data, v8::Isolate::GetCurrent()); event 132 Source/bindings/v8/V8Initializer.cpp enteredWindow->document()->reportException(event.release(), callStack, corsStatus); event 222 Source/bindings/v8/V8Initializer.cpp RefPtrWillBeRawPtr<ErrorEvent> event = ErrorEvent::create(errorMessage, sourceURL, message->GetLineNumber(), message->GetStartColumn() + 1, &DOMWrapperWorld::current(isolate)); event 225 Source/bindings/v8/V8Initializer.cpp V8ErrorHandler::storeExceptionOnErrorEventWrapper(event.get(), data, isolate); event 226 Source/bindings/v8/V8Initializer.cpp context->reportException(event.release(), nullptr, corsStatus); event 77 Source/bindings/v8/V8LazyEventListener.cpp v8::Local<v8::Value> V8LazyEventListener::callListenerFunction(ExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event) event 84 Source/bindings/v8/V8LazyEventListener.cpp v8::Local<v8::Object> receiver = getReceiverObject(context, event); event 52 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp void V8WorkerGlobalScopeEventListener::handleEvent(ExecutionContext* context, Event* event) event 76 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Handle<v8::Value> jsEvent = toV8(event, v8::Handle<v8::Object>(), isolate); event 78 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp invokeEventHandler(context, event, v8::Local<v8::Value>::New(isolate, jsEvent)); event 81 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Local<v8::Value> V8WorkerGlobalScopeEventListener::callListenerFunction(ExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event) event 84 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Local<v8::Object> receiver = getReceiverObject(context, event); event 111 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Local<v8::Object> V8WorkerGlobalScopeEventListener::getReceiverObject(ExecutionContext* context, Event* event) event 118 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp EventTarget* target = event->currentTarget(); event 214 Source/bindings/v8/WorkerScriptController.cpp RefPtrWillBeRawPtr<ErrorEvent> event = nullptr; event 216 Source/bindings/v8/WorkerScriptController.cpp event = m_errorEventFromImportedScript.release(); event 218 Source/bindings/v8/WorkerScriptController.cpp event = ErrorEvent::create(state.errorMessage, state.sourceURL, state.lineNumber, state.columnNumber, m_world.get()); event 220 Source/bindings/v8/WorkerScriptController.cpp m_workerGlobalScope.reportException(event, nullptr, NotSharableCrossOrigin); event 55 Source/bindings/v8/custom/V8CustomEventCustom.cpp CustomEvent* event = V8CustomEvent::toNative(info.Holder()); event 64 Source/bindings/v8/custom/V8CustomEventCustom.cpp if (!event->serializedDetail()) { event 67 Source/bindings/v8/custom/V8CustomEventCustom.cpp v8::Local<v8::Value> mainWorldDetail = V8HiddenValue::getHiddenValueFromMainWorldWrapper(info.GetIsolate(), event, V8HiddenValue::detail(info.GetIsolate())); event 69 Source/bindings/v8/custom/V8CustomEventCustom.cpp event->setSerializedDetail(SerializedScriptValue::createAndSwallowExceptions(mainWorldDetail, info.GetIsolate())); event 72 Source/bindings/v8/custom/V8CustomEventCustom.cpp if (event->serializedDetail()) { event 73 Source/bindings/v8/custom/V8CustomEventCustom.cpp result = event->serializedDetail()->deserialize(); event 83 Source/bindings/v8/custom/V8CustomEventCustom.cpp CustomEvent* event = V8CustomEvent::toNative(info.Holder()); event 84 Source/bindings/v8/custom/V8CustomEventCustom.cpp ASSERT(!event->serializedDetail()); event 91 Source/bindings/v8/custom/V8CustomEventCustom.cpp event->initEvent(typeArg, canBubbleArg, cancelableArg); event 96 Source/bindings/v8/custom/V8CustomEventCustom.cpp event->setSerializedDetail(SerializedScriptValue::createAndSwallowExceptions(detailsArg, info.GetIsolate())); event 46 Source/bindings/v8/custom/V8EventCustom.cpp Event* event = V8Event::toNative(info.Holder()); event 48 Source/bindings/v8/custom/V8EventCustom.cpp if (event->isClipboardEvent()) { event 49 Source/bindings/v8/custom/V8EventCustom.cpp v8SetReturnValueFast(info, static_cast<ClipboardEvent*>(event)->clipboard(), event); event 56 Source/bindings/v8/custom/V8EventCustom.cpp return wrap(static_cast<interfaceName*>(event), creationContext, isolate); event 58 Source/bindings/v8/custom/V8EventCustom.cpp v8::Handle<v8::Object> wrap(Event* event, v8::Handle<v8::Object> creationContext, v8::Isolate *isolate) event 60 Source/bindings/v8/custom/V8EventCustom.cpp ASSERT(event); event 62 Source/bindings/v8/custom/V8EventCustom.cpp String desiredInterface = event->interfaceName(); event 66 Source/bindings/v8/custom/V8EventCustom.cpp return V8Event::createWrapper(event, creationContext, isolate); event 70 Source/bindings/v8/custom/V8EventCustom.cpp return V8Event::createWrapper(event, creationContext, isolate); event 112 Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp Event* event = V8Event::toNative(eventWrapper); event 123 Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp frontendHost->showContextMenu(event, items); event 78 Source/bindings/v8/custom/V8MessageEventCustom.cpp MessageEvent* event = V8MessageEvent::toNative(info.Holder()); event 81 Source/bindings/v8/custom/V8MessageEventCustom.cpp switch (event->dataType()) { event 85 Source/bindings/v8/custom/V8MessageEventCustom.cpp if (!event->dataAsSerializedScriptValue()) { event 88 Source/bindings/v8/custom/V8MessageEventCustom.cpp v8::Local<v8::Value> mainWorldData = V8HiddenValue::getHiddenValueFromMainWorldWrapper(info.GetIsolate(), event, V8HiddenValue::data(info.GetIsolate())); event 90 Source/bindings/v8/custom/V8MessageEventCustom.cpp event->setSerializedData(SerializedScriptValue::createAndSwallowExceptions(mainWorldData, info.GetIsolate())); event 92 Source/bindings/v8/custom/V8MessageEventCustom.cpp if (event->dataAsSerializedScriptValue()) event 93 Source/bindings/v8/custom/V8MessageEventCustom.cpp result = event->dataAsSerializedScriptValue()->deserialize(info.GetIsolate()); event 101 Source/bindings/v8/custom/V8MessageEventCustom.cpp if (SerializedScriptValue* serializedValue = event->dataAsSerializedScriptValue()) { event 102 Source/bindings/v8/custom/V8MessageEventCustom.cpp MessagePortArray ports = event->ports(); event 112 Source/bindings/v8/custom/V8MessageEventCustom.cpp String stringValue = event->dataAsString(); event 119 Source/bindings/v8/custom/V8MessageEventCustom.cpp result = toV8(event->dataAsBlob(), info.Holder(), info.GetIsolate()); event 125 Source/bindings/v8/custom/V8MessageEventCustom.cpp result = toV8(event->dataAsArrayBuffer(), info.Holder(), info.GetIsolate()); event 138 Source/bindings/v8/custom/V8MessageEventCustom.cpp MessageEvent* event = V8MessageEvent::toNative(info.Holder()); event 155 Source/bindings/v8/custom/V8MessageEventCustom.cpp event->initMessageEvent(typeArg, canBubbleArg, cancelableArg, originArg, lastEventIdArg, sourceArg, portArray.release()); event 160 Source/bindings/v8/custom/V8MessageEventCustom.cpp event->setSerializedData(SerializedScriptValue::createAndSwallowExceptions(dataArg, info.GetIsolate())); event 58 Source/bindings/v8/custom/V8PopStateEventCustom.cpp PopStateEvent* event = V8PopStateEvent::toNative(info.Holder()); event 59 Source/bindings/v8/custom/V8PopStateEventCustom.cpp History* history = event->history(); event 60 Source/bindings/v8/custom/V8PopStateEventCustom.cpp if (!history || !event->serializedState()) { event 61 Source/bindings/v8/custom/V8PopStateEventCustom.cpp if (!event->serializedState()) { event 64 Source/bindings/v8/custom/V8PopStateEventCustom.cpp v8::Local<v8::Value> mainWorldState = V8HiddenValue::getHiddenValueFromMainWorldWrapper(info.GetIsolate(), event, V8HiddenValue::state(info.GetIsolate())); event 66 Source/bindings/v8/custom/V8PopStateEventCustom.cpp event->setSerializedState(SerializedScriptValue::createAndSwallowExceptions(mainWorldState, info.GetIsolate())); event 68 Source/bindings/v8/custom/V8PopStateEventCustom.cpp if (event->serializedState()) event 69 Source/bindings/v8/custom/V8PopStateEventCustom.cpp result = event->serializedState()->deserialize(); event 82 Source/bindings/v8/custom/V8PopStateEventCustom.cpp bool isSameState = history->isSameAsCurrentState(event->serializedState()); event 93 Source/bindings/v8/custom/V8PopStateEventCustom.cpp result = event->serializedState()->deserialize(info.GetIsolate()); event 96 Source/bindings/v8/custom/V8PopStateEventCustom.cpp result = event->serializedState()->deserialize(info.GetIsolate()); event 170 Source/bindings/v8/custom/V8WindowCustom.cpp v8::Handle<v8::Value> jsEvent = V8HiddenValue::getHiddenValue(info.GetIsolate(), context->Global(), V8HiddenValue::event(info.GetIsolate())); event 190 Source/bindings/v8/custom/V8WindowCustom.cpp V8HiddenValue::setHiddenValue(info.GetIsolate(), context->Global(), V8HiddenValue::event(info.GetIsolate()), value); event 316 Source/core/animation/AnimationPlayer.cpp RefPtrWillBeRawPtr<AnimationPlayerEvent> event = AnimationPlayerEvent::create(eventType, currentTime(), timeline()->currentTime()); event 317 Source/core/animation/AnimationPlayer.cpp event->setTarget(this); event 318 Source/core/animation/AnimationPlayer.cpp event->setCurrentTarget(this); event 319 Source/core/animation/AnimationPlayer.cpp m_timeline->document()->enqueueAnimationFrameEvent(event.release()); event 649 Source/core/animation/css/CSSAnimations.cpp RefPtrWillBeRawPtr<WebKitAnimationEvent> event = WebKitAnimationEvent::create(eventName, m_name, elapsedTime); event 650 Source/core/animation/css/CSSAnimations.cpp event->setTarget(m_target); event 651 Source/core/animation/css/CSSAnimations.cpp m_target->document().enqueueAnimationFrameEvent(event); event 693 Source/core/animation/css/CSSAnimations.cpp RefPtrWillBeRawPtr<TransitionEvent> event = TransitionEvent::create(eventType, propertyName, elapsedTime, pseudoElement); event 694 Source/core/animation/css/CSSAnimations.cpp event->setTarget(m_target); event 695 Source/core/animation/css/CSSAnimations.cpp m_target->document().enqueueAnimationFrameEvent(event); event 3140 Source/core/dom/Document.cpp MouseEventWithHitTestResults Document::prepareMouseEvent(const HitTestRequest& request, const LayoutPoint& documentPoint, const PlatformMouseEvent& event) event 3151 Source/core/dom/Document.cpp return MouseEventWithHitTestResults(event, HitTestResult(LayoutPoint())); event 3157 Source/core/dom/Document.cpp updateHoverActiveState(request, result.innerElement(), &event); event 3159 Source/core/dom/Document.cpp return MouseEventWithHitTestResults(event, result); event 3754 Source/core/dom/Document.cpp void Document::enqueueAnimationFrameEvent(PassRefPtrWillBeRawPtr<Event> event) event 3756 Source/core/dom/Document.cpp ensureScriptedAnimationController().enqueueEvent(event); event 3769 Source/core/dom/Document.cpp RefPtrWillBeRawPtr<Event> event = Event::create(EventTypeNames::resize); event 3770 Source/core/dom/Document.cpp event->setTarget(domWindow()); event 3771 Source/core/dom/Document.cpp ensureScriptedAnimationController().enqueuePerFrameEvent(event.release()); event 3776 Source/core/dom/Document.cpp RefPtrWillBeRawPtr<Event> event = EventFactory::create(eventType); event 3777 Source/core/dom/Document.cpp if (event) event 3778 Source/core/dom/Document.cpp return event.release(); event 5196 Source/core/dom/Document.cpp void Document::updateHoverActiveState(const HitTestRequest& request, Element* innerElement, const PlatformMouseEvent* event) event 5205 Source/core/dom/Document.cpp innerElementInDocument->document().updateHoverActiveState(request, innerElementInDocument, event); event 5296 Source/core/dom/Document.cpp if (event && newHoverNode != oldHoverNode.get()) { event 5308 Source/core/dom/Document.cpp if (event && (ancestorHasCapturingMouseleaveListener || nodesToRemoveFromChain[i]->hasEventListeners(EventTypeNames::mouseleave))) event 5309 Source/core/dom/Document.cpp nodesToRemoveFromChain[i]->dispatchMouseEvent(*event, EventTypeNames::mouseleave, 0, newHoverNode); event 5313 Source/core/dom/Document.cpp if (event && newHoverNode != oldHoverNode.get()) { event 5332 Source/core/dom/Document.cpp if (event && (ancestorHasCapturingMouseenterListener || nodesToAddToChain[i]->hasEventListeners(EventTypeNames::mouseenter))) event 5333 Source/core/dom/Document.cpp nodesToAddToChain[i]->dispatchMouseEvent(*event, EventTypeNames::mouseenter, 0, oldHoverNode.get()); event 5485 Source/core/dom/Document.cpp void Document::defaultEventHandler(Event* event) event 5488 Source/core/dom/Document.cpp frame()->chromeClient().forwardInputEvent(this, event); event 5491 Source/core/dom/Document.cpp Node::defaultEventHandler(event); event 2211 Source/core/dom/Element.cpp RefPtrWillBeRawPtr<FocusEvent> event = FocusEvent::create(EventTypeNames::focus, false, false, document().domWindow(), 0, oldFocusedElement); event 2212 Source/core/dom/Element.cpp EventDispatcher::dispatchEvent(this, FocusEventDispatchMediator::create(event.release())); event 2217 Source/core/dom/Element.cpp RefPtrWillBeRawPtr<FocusEvent> event = FocusEvent::create(EventTypeNames::blur, false, false, document().domWindow(), 0, newFocusedElement); event 2218 Source/core/dom/Element.cpp EventDispatcher::dispatchEvent(this, BlurEventDispatchMediator::create(event.release())); event 131 Source/core/dom/ExecutionContext.cpp void ExecutionContext::reportException(PassRefPtrWillBeRawPtr<ErrorEvent> event, PassRefPtr<ScriptCallStack> callStack, AccessControlStatus corsStatus) event 133 Source/core/dom/ExecutionContext.cpp RefPtrWillBeRawPtr<ErrorEvent> errorEvent = event; event 170 Source/core/dom/ExecutionContext.cpp bool ExecutionContext::dispatchErrorEvent(PassRefPtrWillBeRawPtr<ErrorEvent> event, AccessControlStatus corsStatus) event 178 Source/core/dom/ExecutionContext.cpp RefPtrWillBeRawPtr<ErrorEvent> errorEvent = event; event 2151 Source/core/dom/Node.cpp void Node::handleLocalEvents(Event* event) event 2156 Source/core/dom/Node.cpp if (isDisabledFormControl(this) && event->isMouseEvent()) event 2159 Source/core/dom/Node.cpp fireEventListeners(event); event 2162 Source/core/dom/Node.cpp void Node::dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event> event) event 2164 Source/core/dom/Node.cpp dispatchScopedEventDispatchMediator(EventDispatchMediator::create(event)); event 2172 Source/core/dom/Node.cpp bool Node::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 2174 Source/core/dom/Node.cpp if (event->isMouseEvent()) event 2175 Source/core/dom/Node.cpp return EventDispatcher::dispatchEvent(this, MouseEventDispatchMediator::create(static_pointer_cast<MouseEvent>(event), MouseEventDispatchMediator::SyntheticMouseEvent)); event 2176 Source/core/dom/Node.cpp if (event->isTouchEvent()) event 2177 Source/core/dom/Node.cpp return dispatchTouchEvent(static_pointer_cast<TouchEvent>(event)); event 2178 Source/core/dom/Node.cpp return EventDispatcher::dispatchEvent(this, EventDispatchMediator::create(event)); event 2197 Source/core/dom/Node.cpp RefPtrWillBeRawPtr<UIEvent> event = UIEvent::create(EventTypeNames::DOMActivate, true, true, document().domWindow(), detail); event 2198 Source/core/dom/Node.cpp event->setUnderlyingEvent(underlyingEvent); event 2199 Source/core/dom/Node.cpp dispatchScopedEvent(event); event 2200 Source/core/dom/Node.cpp return event->defaultHandled(); event 2203 Source/core/dom/Node.cpp bool Node::dispatchKeyEvent(const PlatformKeyboardEvent& event) event 2205 Source/core/dom/Node.cpp return EventDispatcher::dispatchEvent(this, KeyboardEventDispatchMediator::create(KeyboardEvent::create(event, document().domWindow()))); event 2208 Source/core/dom/Node.cpp bool Node::dispatchMouseEvent(const PlatformMouseEvent& event, const AtomicString& eventType, event 2211 Source/core/dom/Node.cpp return EventDispatcher::dispatchEvent(this, MouseEventDispatchMediator::create(MouseEvent::create(eventType, document().domWindow(), event, detail, relatedTarget))); event 2214 Source/core/dom/Node.cpp bool Node::dispatchGestureEvent(const PlatformGestureEvent& event) event 2216 Source/core/dom/Node.cpp RefPtrWillBeRawPtr<GestureEvent> gestureEvent = GestureEvent::create(document().domWindow(), event); event 2222 Source/core/dom/Node.cpp bool Node::dispatchTouchEvent(PassRefPtrWillBeRawPtr<TouchEvent> event) event 2224 Source/core/dom/Node.cpp return EventDispatcher::dispatchEvent(this, TouchEventDispatchMediator::create(event)); event 2232 Source/core/dom/Node.cpp bool Node::dispatchWheelEvent(const PlatformWheelEvent& event) event 2234 Source/core/dom/Node.cpp return EventDispatcher::dispatchEvent(this, WheelEventDispatchMediator::create(event, document().domWindow())); event 2242 Source/core/dom/Node.cpp void Node::defaultEventHandler(Event* event) event 2244 Source/core/dom/Node.cpp if (event->target() != this) event 2246 Source/core/dom/Node.cpp const AtomicString& eventType = event->type(); event 2248 Source/core/dom/Node.cpp if (event->isKeyboardEvent()) { event 2250 Source/core/dom/Node.cpp frame->eventHandler().defaultKeyboardEventHandler(toKeyboardEvent(event)); event 2253 Source/core/dom/Node.cpp int detail = event->isUIEvent() ? static_cast<UIEvent*>(event)->detail() : 0; event 2254 Source/core/dom/Node.cpp if (dispatchDOMActivateEvent(detail, event)) event 2255 Source/core/dom/Node.cpp event->setDefaultHandled(); event 2258 Source/core/dom/Node.cpp page->contextMenuController().handleContextMenuEvent(event); event 2260 Source/core/dom/Node.cpp if (event->hasInterface(EventNames::TextEvent)) { event 2262 Source/core/dom/Node.cpp frame->eventHandler().defaultTextInputEventHandler(toTextEvent(event)); event 2265 Source/core/dom/Node.cpp } else if (eventType == EventTypeNames::mousedown && event->isMouseEvent()) { event 2266 Source/core/dom/Node.cpp MouseEvent* mouseEvent = toMouseEvent(event); event 2281 Source/core/dom/Node.cpp } else if ((eventType == EventTypeNames::wheel || eventType == EventTypeNames::mousewheel) && event->hasInterface(EventNames::WheelEvent)) { event 2282 Source/core/dom/Node.cpp WheelEvent* wheelEvent = toWheelEvent(event); event 2294 Source/core/dom/Node.cpp } else if (event->type() == EventTypeNames::webkitEditableContentChanged) { event 39 Source/core/dom/ScriptedAnimationController.cpp std::pair<EventTarget*, StringImpl*> eventTargetKey(const Event* event) event 41 Source/core/dom/ScriptedAnimationController.cpp return std::make_pair(event->target(), event->type().impl()); event 164 Source/core/dom/ScriptedAnimationController.cpp void ScriptedAnimationController::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event) event 166 Source/core/dom/ScriptedAnimationController.cpp m_eventQueue.append(event); event 170 Source/core/dom/ScriptedAnimationController.cpp void ScriptedAnimationController::enqueuePerFrameEvent(PassRefPtrWillBeRawPtr<Event> event) event 172 Source/core/dom/ScriptedAnimationController.cpp if (!m_perFrameEvents.add(eventTargetKey(event.get())).isNewEntry) event 174 Source/core/dom/ScriptedAnimationController.cpp enqueueEvent(event); event 183 Source/core/editing/EditingBehavior.cpp const char* EditingBehavior::interpretKeyEvent(const KeyboardEvent& event) const event 185 Source/core/editing/EditingBehavior.cpp const PlatformKeyboardEvent* keyEvent = event.keyEvent(); event 216 Source/core/editing/EditingBehavior.cpp int mapKey = modifiers << 16 | event.keyCode(); event 220 Source/core/editing/EditingBehavior.cpp int mapKey = modifiers << 16 | event.charCode(); event 224 Source/core/editing/EditingBehavior.cpp bool EditingBehavior::shouldInsertCharacter(const KeyboardEvent& event) const event 226 Source/core/editing/EditingBehavior.cpp if (event.keyEvent()->text().length() != 1) event 245 Source/core/editing/EditingBehavior.cpp UChar ch = event.keyEvent()->text()[0U]; event 255 Source/core/editing/EditingBehavior.cpp if (event.keyEvent()->ctrlKey() && !event.keyEvent()->altKey()) event 258 Source/core/editing/EditingBehavior.cpp if (event.keyEvent()->metaKey()) event 110 Source/core/editing/Editor.cpp VisibleSelection Editor::selectionForCommand(Event* event) event 113 Source/core/editing/Editor.cpp if (!event) event 118 Source/core/editing/Editor.cpp HTMLTextFormControlElement* textFromControlOfTarget = isHTMLTextFormControlElement(*event->target()->toNode()) ? toHTMLTextFormControlElement(event->target()->toNode()) : 0; event 155 Source/core/editing/Editor.cpp bool Editor::handleTextEvent(TextEvent* event) event 159 Source/core/editing/Editor.cpp if (event->isDrop()) event 162 Source/core/editing/Editor.cpp if (event->isPaste()) { event 163 Source/core/editing/Editor.cpp if (event->pastingFragment()) event 164 Source/core/editing/Editor.cpp replaceSelectionWithFragment(event->pastingFragment(), false, event->shouldSmartReplace(), event->shouldMatchStyle()); event 166 Source/core/editing/Editor.cpp replaceSelectionWithText(event->data(), false, event->shouldSmartReplace()); event 170 Source/core/editing/Editor.cpp String data = event->data(); event 172 Source/core/editing/Editor.cpp if (event->isLineBreak()) event 177 Source/core/editing/Editor.cpp return insertTextWithoutSendingTextEvent(data, false, event); event 93 Source/core/editing/EditorCommand.cpp static LocalFrame* targetFrame(LocalFrame& frame, Event* event) event 95 Source/core/editing/EditorCommand.cpp if (!event) event 97 Source/core/editing/EditorCommand.cpp Node* node = event->target()->toNode(); event 483 Source/core/editing/EditorCommand.cpp static bool executeInsertBacktab(LocalFrame& frame, Event* event, EditorCommandSource, const String&) event 485 Source/core/editing/EditorCommand.cpp return targetFrame(frame, event)->eventHandler().handleTextInputEvent("\t", event, TextEventInputBackTab); event 512 Source/core/editing/EditorCommand.cpp static bool executeInsertLineBreak(LocalFrame& frame, Event* event, EditorCommandSource source, const String&) event 516 Source/core/editing/EditorCommand.cpp return targetFrame(frame, event)->eventHandler().handleTextInputEvent("\n", event, TextEventInputLineBreak); event 530 Source/core/editing/EditorCommand.cpp static bool executeInsertNewline(LocalFrame& frame, Event* event, EditorCommandSource, const String&) event 532 Source/core/editing/EditorCommand.cpp LocalFrame* targetFrame = WebCore::targetFrame(frame, event); event 533 Source/core/editing/EditorCommand.cpp return targetFrame->eventHandler().handleTextInputEvent("\n", event, targetFrame->editor().canEditRichly() ? TextEventInputKeyboard : TextEventInputLineBreak); event 557 Source/core/editing/EditorCommand.cpp static bool executeInsertTab(LocalFrame& frame, Event* event, EditorCommandSource, const String&) event 559 Source/core/editing/EditorCommand.cpp return targetFrame(frame, event)->eventHandler().handleTextInputEvent("\t", event); event 1187 Source/core/editing/EditorCommand.cpp static bool enabledVisibleSelection(LocalFrame& frame, Event* event, EditorCommandSource) event 1190 Source/core/editing/EditorCommand.cpp const VisibleSelection& selection = frame.editor().selectionForCommand(event); event 1201 Source/core/editing/EditorCommand.cpp static bool enabledVisibleSelectionOrCaretBrowsing(LocalFrame& frame, Event* event, EditorCommandSource) event 1204 Source/core/editing/EditorCommand.cpp return caretBrowsingEnabled(frame) || enabledVisibleSelection(frame, event, dummyEditorCommandSource); event 1207 Source/core/editing/EditorCommand.cpp static bool enabledVisibleSelectionAndMark(LocalFrame& frame, Event* event, EditorCommandSource) event 1209 Source/core/editing/EditorCommand.cpp const VisibleSelection& selection = frame.editor().selectionForCommand(event); event 1214 Source/core/editing/EditorCommand.cpp static bool enableCaretInEditableText(LocalFrame& frame, Event* event, EditorCommandSource) event 1216 Source/core/editing/EditorCommand.cpp const VisibleSelection& selection = frame.editor().selectionForCommand(event); event 1230 Source/core/editing/EditorCommand.cpp static bool enabledInEditableText(LocalFrame& frame, Event* event, EditorCommandSource) event 1232 Source/core/editing/EditorCommand.cpp return frame.editor().selectionForCommand(event).rootEditableElement(); event 1235 Source/core/editing/EditorCommand.cpp static bool enabledDelete(LocalFrame& frame, Event* event, EditorCommandSource source) event 1244 Source/core/editing/EditorCommand.cpp return enabledInEditableText(frame, event, source); event 1250 Source/core/editing/EditorCommand.cpp static bool enabledInEditableTextOrCaretBrowsing(LocalFrame& frame, Event* event, EditorCommandSource) event 1253 Source/core/editing/EditorCommand.cpp return caretBrowsingEnabled(frame) || enabledInEditableText(frame, event, dummyEditorCommandSource); event 203 Source/core/editing/InputMethodController.cpp RefPtrWillBeRawPtr<CompositionEvent> event = CompositionEvent::create(EventTypeNames::compositionend, m_frame.domWindow(), text, underlines); event 204 Source/core/editing/InputMethodController.cpp target->dispatchEvent(event, IGNORE_EXCEPTION); event 257 Source/core/editing/InputMethodController.cpp RefPtrWillBeRawPtr<CompositionEvent> event = nullptr; event 263 Source/core/editing/InputMethodController.cpp event = CompositionEvent::create(EventTypeNames::compositionupdate, m_frame.domWindow(), text, underlines); event 267 Source/core/editing/InputMethodController.cpp event = CompositionEvent::create(EventTypeNames::compositionupdate, m_frame.domWindow(), text, underlines); event 269 Source/core/editing/InputMethodController.cpp event = CompositionEvent::create(EventTypeNames::compositionend, m_frame.domWindow(), text, underlines); event 271 Source/core/editing/InputMethodController.cpp if (event.get()) event 272 Source/core/editing/InputMethodController.cpp target->dispatchEvent(event, IGNORE_EXCEPTION); event 80 Source/core/editing/TextInsertionBaseCommand.cpp RefPtrWillBeRawPtr<BeforeTextInsertedEvent> event = BeforeTextInsertedEvent::create(String("\n")); event 81 Source/core/editing/TextInsertionBaseCommand.cpp node->dispatchEvent(event, IGNORE_EXCEPTION); event 82 Source/core/editing/TextInsertionBaseCommand.cpp return event->text().length(); event 65 Source/core/events/DOMWindowEventQueue.cpp bool DOMWindowEventQueue::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event) event 70 Source/core/events/DOMWindowEventQueue.cpp ASSERT(event->target()); event 71 Source/core/events/DOMWindowEventQueue.cpp bool wasAdded = m_queuedEvents.add(event).isNewEntry; event 80 Source/core/events/DOMWindowEventQueue.cpp bool DOMWindowEventQueue::cancelEvent(Event* event) event 82 Source/core/events/DOMWindowEventQueue.cpp ListHashSet<RefPtrWillBePersistent<Event>, 16>::iterator it = m_queuedEvents.find(event); event 112 Source/core/events/DOMWindowEventQueue.cpp RefPtrWillBeRawPtr<Event> event = *iter; event 114 Source/core/events/DOMWindowEventQueue.cpp if (!event) event 116 Source/core/events/DOMWindowEventQueue.cpp dispatchEvent(event.get()); event 120 Source/core/events/DOMWindowEventQueue.cpp void DOMWindowEventQueue::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 122 Source/core/events/DOMWindowEventQueue.cpp EventTarget* eventTarget = event->target(); event 124 Source/core/events/DOMWindowEventQueue.cpp eventTarget->toDOMWindow()->dispatchEvent(event, nullptr); event 126 Source/core/events/DOMWindowEventQueue.cpp eventTarget->dispatchEvent(event); event 214 Source/core/events/Event.h DEFINE_TYPE_CASTS(typeName, Event, event, event->is##typeName(), event.is##typeName()) event 39 Source/core/events/EventDispatchMediator.cpp PassRefPtr<EventDispatchMediator> EventDispatchMediator::create(PassRefPtrWillBeRawPtr<Event> event) event 41 Source/core/events/EventDispatchMediator.cpp return adoptRef(new EventDispatchMediator(event)); event 44 Source/core/events/EventDispatchMediator.cpp EventDispatchMediator::EventDispatchMediator(PassRefPtrWillBeRawPtr<Event> event) event 45 Source/core/events/EventDispatchMediator.cpp : m_event(event) event 51 Source/core/events/EventDispatchMediator.cpp ASSERT(m_event.get() == dispatcher->event()); event 50 Source/core/events/EventDispatchMediator.h Event* event() const { return m_event.get(); }; event 55 Source/core/events/EventDispatchMediator.h void setEvent(PassRefPtrWillBeRawPtr<Event> event) { m_event = event; }; event 46 Source/core/events/EventDispatcher.cpp if (!mediator->event()) event 48 Source/core/events/EventDispatcher.cpp EventDispatcher dispatcher(node, mediator->event()); event 52 Source/core/events/EventDispatcher.cpp EventDispatcher::EventDispatcher(Node* node, PassRefPtrWillBeRawPtr<Event> event) event 54 Source/core/events/EventDispatcher.cpp , m_event(event) event 69 Source/core/events/EventDispatcher.cpp mediator->event()->setTarget(EventPath::eventTargetRespectingTargetRules(node)); event 57 Source/core/events/EventDispatcher.h Event* event() const { return m_event.get(); } event 76 Source/core/events/EventPath.cpp static inline EventDispatchBehavior determineDispatchBehavior(Event* event, ShadowRoot* shadowRoot, EventTarget* target) event 81 Source/core/events/EventPath.cpp const AtomicString eventType = event->type(); event 97 Source/core/events/EventPath.cpp EventPath::EventPath(Event* event) event 99 Source/core/events/EventPath.cpp , m_event(event) event 156 Source/core/events/EventTarget.cpp bool EventTarget::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event, ExceptionState& exceptionState) event 158 Source/core/events/EventTarget.cpp if (!event) { event 162 Source/core/events/EventTarget.cpp if (event->type().isEmpty()) { event 166 Source/core/events/EventTarget.cpp if (event->isBeingDispatched()) { event 174 Source/core/events/EventTarget.cpp return dispatchEvent(event); event 177 Source/core/events/EventTarget.cpp bool EventTarget::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 179 Source/core/events/EventTarget.cpp event->setTarget(this); event 180 Source/core/events/EventTarget.cpp event->setCurrentTarget(this); event 181 Source/core/events/EventTarget.cpp event->setEventPhase(Event::AT_TARGET); event 182 Source/core/events/EventTarget.cpp bool defaultPrevented = fireEventListeners(event.get()); event 183 Source/core/events/EventTarget.cpp event->setEventPhase(0); event 191 Source/core/events/EventTarget.cpp static const AtomicString& legacyType(const Event* event) event 193 Source/core/events/EventTarget.cpp if (event->type() == EventTypeNames::transitionend) event 196 Source/core/events/EventTarget.cpp if (event->type() == EventTypeNames::animationstart) event 199 Source/core/events/EventTarget.cpp if (event->type() == EventTypeNames::animationend) event 202 Source/core/events/EventTarget.cpp if (event->type() == EventTypeNames::animationiteration) event 205 Source/core/events/EventTarget.cpp if (event->type() == EventTypeNames::wheel) event 254 Source/core/events/EventTarget.cpp bool EventTarget::fireEventListeners(Event* event) event 257 Source/core/events/EventTarget.cpp ASSERT(event && !event->type().isEmpty()); event 264 Source/core/events/EventTarget.cpp AtomicString legacyTypeName = legacyType(event); event 268 Source/core/events/EventTarget.cpp EventListenerVector* listenersVector = d->eventListenerMap.find(event->type()); event 269 Source/core/events/EventTarget.cpp if (!RuntimeEnabledFeatures::cssAnimationUnprefixedEnabled() && (event->type() == EventTypeNames::animationiteration || event->type() == EventTypeNames::animationend event 270 Source/core/events/EventTarget.cpp || event->type() == EventTypeNames::animationstart)) event 274 Source/core/events/EventTarget.cpp fireEventListeners(event, d, *listenersVector); event 276 Source/core/events/EventTarget.cpp AtomicString unprefixedTypeName = event->type(); event 277 Source/core/events/EventTarget.cpp event->setType(legacyTypeName); event 278 Source/core/events/EventTarget.cpp fireEventListeners(event, d, *legacyListenersVector); event 279 Source/core/events/EventTarget.cpp event->setType(unprefixedTypeName); event 283 Source/core/events/EventTarget.cpp return !event->defaultPrevented(); event 286 Source/core/events/EventTarget.cpp void EventTarget::fireEventListeners(Event* event, EventTargetData* d, EventListenerVector& entry) event 296 Source/core/events/EventTarget.cpp if (event->type() == EventTypeNames::beforeunload) { event 302 Source/core/events/EventTarget.cpp } else if (event->type() == EventTypeNames::unload) { event 311 Source/core/events/EventTarget.cpp d->firingEventIterators->append(FiringEventIterator(event->type(), i, size)); event 314 Source/core/events/EventTarget.cpp if (event->eventPhase() == Event::CAPTURING_PHASE && !registeredListener.useCapture) event 316 Source/core/events/EventTarget.cpp if (event->eventPhase() == Event::BUBBLING_PHASE && registeredListener.useCapture) event 321 Source/core/events/EventTarget.cpp if (event->immediatePropagationStopped()) event 328 Source/core/events/EventTarget.cpp InspectorInstrumentationCookie cookie = InspectorInstrumentation::willHandleEvent(this, event->type(), registeredListener.listener.get(), registeredListener.useCapture); event 331 Source/core/events/EventTarget.cpp registeredListener.listener->handleEvent(context, event); event 85 Source/core/events/FocusEvent.cpp event()->eventPath().adjustForRelatedTarget(dispatcher->node(), event()->relatedTarget()); event 101 Source/core/events/FocusEvent.cpp event()->eventPath().adjustForRelatedTarget(dispatcher->node(), event()->relatedTarget()); event 117 Source/core/events/FocusEvent.cpp event()->eventPath().adjustForRelatedTarget(dispatcher->node(), event()->relatedTarget()); event 133 Source/core/events/FocusEvent.cpp event()->eventPath().adjustForRelatedTarget(dispatcher->node(), event()->relatedTarget()); event 83 Source/core/events/FocusEvent.h FocusEvent* event() const { return static_cast<FocusEvent*>(EventDispatchMediator::event()); } event 92 Source/core/events/FocusEvent.h FocusEvent* event() const { return static_cast<FocusEvent*>(EventDispatchMediator::event()); } event 101 Source/core/events/FocusEvent.h FocusEvent* event() const { return static_cast<FocusEvent*>(EventDispatchMediator::event()); } event 110 Source/core/events/FocusEvent.h FocusEvent* event() const { return static_cast<FocusEvent*>(EventDispatchMediator::event()); } event 51 Source/core/events/GenericEventQueue.cpp bool GenericEventQueue::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event) event 56 Source/core/events/GenericEventQueue.cpp if (event->target() == m_owner) event 57 Source/core/events/GenericEventQueue.cpp event->setTarget(nullptr); event 59 Source/core/events/GenericEventQueue.cpp TRACE_EVENT_ASYNC_BEGIN1("event", "GenericEventQueue:enqueueEvent", event.get(), "type", event->type().ascii()); event 60 Source/core/events/GenericEventQueue.cpp m_pendingEvents.append(event); event 68 Source/core/events/GenericEventQueue.cpp bool GenericEventQueue::cancelEvent(Event* event) event 70 Source/core/events/GenericEventQueue.cpp bool found = m_pendingEvents.contains(event); event 73 Source/core/events/GenericEventQueue.cpp m_pendingEvents.remove(m_pendingEvents.find(event)); event 74 Source/core/events/GenericEventQueue.cpp TRACE_EVENT_ASYNC_END2("event", "GenericEventQueue:enqueueEvent", event, "type", event->type().ascii(), "status", "cancelled"); event 93 Source/core/events/GenericEventQueue.cpp Event* event = pendingEvents[i].get(); event 94 Source/core/events/GenericEventQueue.cpp EventTarget* target = event->target() ? event->target() : m_owner; event 95 Source/core/events/GenericEventQueue.cpp CString type(event->type().ascii()); event 96 Source/core/events/GenericEventQueue.cpp TRACE_EVENT_ASYNC_STEP_INTO1("event", "GenericEventQueue:enqueueEvent", event, "dispatch", "type", type); event 98 Source/core/events/GenericEventQueue.cpp TRACE_EVENT_ASYNC_END1("event", "GenericEventQueue:enqueueEvent", event, "type", type); event 113 Source/core/events/GenericEventQueue.cpp Event* event = m_pendingEvents[i].get(); event 114 Source/core/events/GenericEventQueue.cpp TRACE_EVENT_ASYNC_END2("event", "GenericEventQueue:enqueueEvent", event, "type", event->type().ascii(), "status", "cancelled"); event 33 Source/core/events/GestureEvent.cpp PassRefPtrWillBeRawPtr<GestureEvent> GestureEvent::create(PassRefPtrWillBeRawPtr<AbstractView> view, const PlatformGestureEvent& event) event 38 Source/core/events/GestureEvent.cpp switch (event.type()) { event 48 Source/core/events/GestureEvent.cpp deltaX = event.deltaX(); event 49 Source/core/events/GestureEvent.cpp deltaY = event.deltaY(); event 68 Source/core/events/GestureEvent.cpp return adoptRefWillBeNoop(new GestureEvent(eventType, view, event.globalPosition().x(), event.globalPosition().y(), event.position().x(), event.position().y(), event.ctrlKey(), event.altKey(), event.shiftKey(), event.metaKey(), deltaX, deltaY)); event 109 Source/core/events/GestureEvent.cpp return toGestureEvent(EventDispatchMediator::event()); event 115 Source/core/events/GestureEvent.cpp ASSERT(!event()->defaultPrevented()); event 116 Source/core/events/GestureEvent.cpp return event()->defaultHandled() || event()->defaultPrevented(); event 68 Source/core/events/GestureEvent.h GestureEvent* event() const; event 224 Source/core/events/KeyboardEvent.cpp PassRefPtr<KeyboardEventDispatchMediator> KeyboardEventDispatchMediator::create(PassRefPtrWillBeRawPtr<KeyboardEvent> event) event 226 Source/core/events/KeyboardEvent.cpp return adoptRef(new KeyboardEventDispatchMediator(event)); event 229 Source/core/events/KeyboardEvent.cpp KeyboardEventDispatchMediator::KeyboardEventDispatchMediator(PassRefPtrWillBeRawPtr<KeyboardEvent> event) event 230 Source/core/events/KeyboardEvent.cpp : EventDispatchMediator(event) event 237 Source/core/events/KeyboardEvent.cpp return EventDispatchMediator::dispatchEvent(dispatcher) && !event()->defaultHandled(); event 52 Source/core/events/MouseEvent.cpp PassRefPtrWillBeRawPtr<MouseEvent> MouseEvent::create(const AtomicString& eventType, PassRefPtrWillBeRawPtr<AbstractView> view, const PlatformMouseEvent& event, int detail, PassRefPtr<Node> relatedTarget) event 54 Source/core/events/MouseEvent.cpp ASSERT(event.type() == PlatformEvent::MouseMoved || event.button() != NoButton); event 62 Source/core/events/MouseEvent.cpp detail, event.globalPosition().x(), event.globalPosition().y(), event.position().x(), event.position().y(), event 63 Source/core/events/MouseEvent.cpp event.movementDelta().x(), event.movementDelta().y(), event 64 Source/core/events/MouseEvent.cpp event.ctrlKey(), event.altKey(), event.shiftKey(), event.metaKey(), event.button(), event 245 Source/core/events/MouseEvent.cpp return toMouseEvent(EventDispatchMediator::event()); event 251 Source/core/events/MouseEvent.cpp event()->eventPath().adjustForRelatedTarget(dispatcher->node(), event()->relatedTarget()); event 258 Source/core/events/MouseEvent.cpp if (event()->type().isEmpty()) event 261 Source/core/events/MouseEvent.cpp ASSERT(!event()->target() || event()->target() != event()->relatedTarget()); event 263 Source/core/events/MouseEvent.cpp EventTarget* relatedTarget = event()->relatedTarget(); event 264 Source/core/events/MouseEvent.cpp event()->eventPath().adjustForRelatedTarget(dispatcher->node(), relatedTarget); event 267 Source/core/events/MouseEvent.cpp bool swallowEvent = event()->defaultHandled() || event()->defaultPrevented(); event 269 Source/core/events/MouseEvent.cpp if (event()->type() != EventTypeNames::click || event()->detail() != 2) event 276 Source/core/events/MouseEvent.cpp doubleClickEvent->initMouseEvent(EventTypeNames::dblclick, event()->bubbles(), event()->cancelable(), event()->view(), event 277 Source/core/events/MouseEvent.cpp event()->detail(), event()->screenX(), event()->screenY(), event()->clientX(), event()->clientY(), event 278 Source/core/events/MouseEvent.cpp event()->ctrlKey(), event()->altKey(), event()->shiftKey(), event()->metaKey(), event 279 Source/core/events/MouseEvent.cpp event()->button(), relatedTarget); event 280 Source/core/events/MouseEvent.cpp if (event()->defaultHandled()) event 132 Source/core/events/MouseEvent.h MouseEvent* event() const; event 111 Source/core/events/MouseRelatedEvent.cpp static float pageZoomFactor(const UIEvent* event) event 113 Source/core/events/MouseRelatedEvent.cpp DOMWindow* window = event->view(); event 49 Source/core/events/NodeEventContext.cpp void NodeEventContext::handleLocalEvents(Event* event) const event 52 Source/core/events/NodeEventContext.cpp touchEventContext()->handleLocalEvents(event); event 54 Source/core/events/NodeEventContext.cpp if (event->isMouseEvent()) { event 55 Source/core/events/NodeEventContext.cpp toMouseEvent(event)->setRelatedTarget(relatedTarget()); event 56 Source/core/events/NodeEventContext.cpp } else if (event->isFocusEvent()) { event 57 Source/core/events/NodeEventContext.cpp toFocusEvent(event)->setRelatedTarget(relatedTarget()); event 60 Source/core/events/NodeEventContext.cpp event->setTarget(target()); event 61 Source/core/events/NodeEventContext.cpp event->setCurrentTarget(m_currentTarget.get()); event 62 Source/core/events/NodeEventContext.cpp m_node->handleLocalEvents(event); event 81 Source/core/events/ScopedEventQueue.cpp ASSERT(mediator->event()->target()); event 82 Source/core/events/ScopedEventQueue.cpp Node* node = mediator->event()->target()->toNode(); event 80 Source/core/events/TextEvent.h inline bool isTextEvent(const Event& event) event 82 Source/core/events/TextEvent.h return event.type() == EventTypeNames::textInput && event.hasInterface(EventNames::TextEvent); event 85 Source/core/events/TextEvent.h DEFINE_TYPE_CASTS(TextEvent, Event, event, isTextEvent(*event), isTextEvent(event)); event 110 Source/core/events/TouchEvent.cpp return toTouchEvent(EventDispatchMediator::event()); event 115 Source/core/events/TouchEvent.cpp event()->eventPath().adjustForTouchEvent(dispatcher->node(), *event()); event 94 Source/core/events/TouchEvent.h TouchEvent* event() const; event 50 Source/core/events/TouchEventContext.cpp void TouchEventContext::handleLocalEvents(Event* event) const event 52 Source/core/events/TouchEventContext.cpp ASSERT(event->isTouchEvent()); event 53 Source/core/events/TouchEventContext.cpp TouchEvent* touchEvent = toTouchEvent(event); event 26 Source/core/events/UIEventWithKeyState.cpp UIEventWithKeyState* findEventWithKeyState(Event* event) event 28 Source/core/events/UIEventWithKeyState.cpp for (Event* e = event; e; e = e->underlyingEvent()) event 133 Source/core/events/WheelEvent.cpp inline static unsigned deltaMode(const PlatformWheelEvent& event) event 135 Source/core/events/WheelEvent.cpp return event.granularity() == ScrollByPageWheelEvent ? WheelEvent::DOM_DELTA_PAGE : WheelEvent::DOM_DELTA_PIXEL; event 138 Source/core/events/WheelEvent.cpp PassRefPtr<WheelEventDispatchMediator> WheelEventDispatchMediator::create(const PlatformWheelEvent& event, PassRefPtrWillBeRawPtr<AbstractView> view) event 140 Source/core/events/WheelEvent.cpp return adoptRef(new WheelEventDispatchMediator(event, view)); event 143 Source/core/events/WheelEvent.cpp WheelEventDispatchMediator::WheelEventDispatchMediator(const PlatformWheelEvent& event, PassRefPtrWillBeRawPtr<AbstractView> view) event 145 Source/core/events/WheelEvent.cpp if (!(event.deltaX() || event.deltaY())) event 148 Source/core/events/WheelEvent.cpp setEvent(WheelEvent::create(FloatPoint(event.wheelTicksX(), event.wheelTicksY()), FloatPoint(event.deltaX(), event.deltaY()), event 149 Source/core/events/WheelEvent.cpp deltaMode(event), view, event.globalPosition(), event.position(), event 150 Source/core/events/WheelEvent.cpp event.ctrlKey(), event.altKey(), event.shiftKey(), event.metaKey(), event.directionInvertedFromDevice())); event 155 Source/core/events/WheelEvent.cpp return toWheelEvent(EventDispatchMediator::event()); event 160 Source/core/events/WheelEvent.cpp ASSERT(event()); event 161 Source/core/events/WheelEvent.cpp return EventDispatchMediator::dispatchEvent(dispatcher) && !event()->defaultHandled(); event 124 Source/core/events/WheelEvent.h WheelEvent* event() const; event 38 Source/core/events/WindowEventContext.cpp WindowEventContext::WindowEventContext(Event* event, PassRefPtr<Node> node, const NodeEventContext* topNodeEventContext) event 42 Source/core/events/WindowEventContext.cpp if (event->type() == EventTypeNames::load) event 53 Source/core/events/WindowEventContext.cpp bool WindowEventContext::handleLocalEvents(Event* event) event 58 Source/core/events/WindowEventContext.cpp event->setTarget(target()); event 59 Source/core/events/WindowEventContext.cpp event->setCurrentTarget(window()); event 60 Source/core/events/WindowEventContext.cpp m_window->fireEventListeners(event); event 47 Source/core/events/WindowEventContext.h bool handleLocalEvents(Event* event); event 425 Source/core/frame/DOMWindow.cpp void DOMWindow::enqueueWindowEvent(PassRefPtrWillBeRawPtr<Event> event) event 429 Source/core/frame/DOMWindow.cpp event->setTarget(this); event 430 Source/core/frame/DOMWindow.cpp m_eventQueue->enqueueEvent(event); event 433 Source/core/frame/DOMWindow.cpp void DOMWindow::enqueueDocumentEvent(PassRefPtrWillBeRawPtr<Event> event) event 437 Source/core/frame/DOMWindow.cpp event->setTarget(m_document); event 438 Source/core/frame/DOMWindow.cpp m_eventQueue->enqueueEvent(event); event 869 Source/core/frame/DOMWindow.cpp RefPtrWillBeRawPtr<MessageEvent> event = timer->event(); event 874 Source/core/frame/DOMWindow.cpp if (m_frame->loader().client()->willCheckAndDispatchMessageEvent(timer->targetOrigin(), event.get())) event 879 Source/core/frame/DOMWindow.cpp event->entangleMessagePorts(document()); event 880 Source/core/frame/DOMWindow.cpp dispatchMessageEventWithOriginCheck(timer->targetOrigin(), event, timer->stackTrace()); event 883 Source/core/frame/DOMWindow.cpp void DOMWindow::dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigin, PassRefPtrWillBeRawPtr<Event> event, PassRefPtr<ScriptCallStack> stackTrace) event 894 Source/core/frame/DOMWindow.cpp dispatchEvent(event); event 1601 Source/core/frame/DOMWindow.cpp RefPtrWillBeRawPtr<Event> event = prpEvent; event 1603 Source/core/frame/DOMWindow.cpp event->setTarget(prpTarget ? prpTarget : this); event 1604 Source/core/frame/DOMWindow.cpp event->setCurrentTarget(this); event 1605 Source/core/frame/DOMWindow.cpp event->setEventPhase(Event::AT_TARGET); event 1607 Source/core/frame/DOMWindow.cpp InspectorInstrumentationCookie cookie = InspectorInstrumentation::willDispatchEventOnWindow(frame(), *event, this); event 1609 Source/core/frame/DOMWindow.cpp bool result = fireEventListeners(event.get()); event 64 Source/core/frame/DeviceSensorEventController.cpp RefPtrWillBeRawPtr<Event> event = prpEvent; event 65 Source/core/frame/DeviceSensorEventController.cpp m_document.domWindow()->dispatchEvent(event); event 68 Source/core/frame/DeviceSensorEventController.cpp if (isNullEvent(event.get())) event 2306 Source/core/frame/FrameView.cpp RefPtrWillBeRawPtr<OverflowEvent> event = OverflowEvent::create(horizontalOverflowChanged, horizontalOverflow, verticalOverflowChanged, verticalOverflow); event 2307 Source/core/frame/FrameView.cpp event->setTarget(m_viewportRenderer->node()); event 2308 Source/core/frame/FrameView.cpp m_frame->document()->enqueueAnimationFrameEvent(event.release()); event 89 Source/core/html/HTMLAnchorElement.cpp void handleMouseOver(Event* event); event 90 Source/core/html/HTMLAnchorElement.cpp void handleMouseOut(Event* event); event 91 Source/core/html/HTMLAnchorElement.cpp void handleLeftMouseDown(Event* event); event 94 Source/core/html/HTMLAnchorElement.cpp void handleClick(Event* event); event 165 Source/core/html/HTMLAnchorElement.cpp static void appendServerMapMousePosition(StringBuilder& url, Event* event) event 167 Source/core/html/HTMLAnchorElement.cpp if (!event->isMouseEvent()) event 170 Source/core/html/HTMLAnchorElement.cpp ASSERT(event->target()); event 171 Source/core/html/HTMLAnchorElement.cpp Node* target = event->target()->toNode(); event 185 Source/core/html/HTMLAnchorElement.cpp FloatPoint absolutePosition = renderer->absoluteToLocal(FloatPoint(toMouseEvent(event)->pageX(), toMouseEvent(event)->pageY())); event 194 Source/core/html/HTMLAnchorElement.cpp void HTMLAnchorElement::defaultEventHandler(Event* event) event 197 Source/core/html/HTMLAnchorElement.cpp if (focused() && isEnterKeyKeydownEvent(event) && treatLinkAsLiveForEventType(NonMouseEvent)) { event 198 Source/core/html/HTMLAnchorElement.cpp event->setDefaultHandled(); event 199 Source/core/html/HTMLAnchorElement.cpp dispatchSimulatedClick(event); event 203 Source/core/html/HTMLAnchorElement.cpp prefetchEventHandler()->handleEvent(event); event 205 Source/core/html/HTMLAnchorElement.cpp if (isLinkClick(event) && treatLinkAsLiveForEventType(eventType(event))) { event 206 Source/core/html/HTMLAnchorElement.cpp handleClick(event); event 214 Source/core/html/HTMLAnchorElement.cpp if (event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() != RightButton && document().frame()) { event 216 Source/core/html/HTMLAnchorElement.cpp m_wasShiftKeyDownOnMouseDown = toMouseEvent(event)->shiftKey(); event 217 Source/core/html/HTMLAnchorElement.cpp } else if (event->type() == EventTypeNames::mouseover) { event 226 Source/core/html/HTMLAnchorElement.cpp HTMLElement::defaultEventHandler(event); event 411 Source/core/html/HTMLAnchorElement.cpp void HTMLAnchorElement::handleClick(Event* event) event 413 Source/core/html/HTMLAnchorElement.cpp event->setDefaultHandled(); event 421 Source/core/html/HTMLAnchorElement.cpp appendServerMapMousePosition(url, event); event 441 Source/core/html/HTMLAnchorElement.cpp frameRequest.setTriggeringEvent(event); event 448 Source/core/html/HTMLAnchorElement.cpp HTMLAnchorElement::EventType HTMLAnchorElement::eventType(Event* event) event 450 Source/core/html/HTMLAnchorElement.cpp if (!event->isMouseEvent()) event 452 Source/core/html/HTMLAnchorElement.cpp return toMouseEvent(event)->shiftKey() ? MouseEventWithShiftKey : MouseEventWithoutShiftKey; event 485 Source/core/html/HTMLAnchorElement.cpp bool isEnterKeyKeydownEvent(Event* event) event 487 Source/core/html/HTMLAnchorElement.cpp return event->type() == EventTypeNames::keydown && event->isKeyboardEvent() && toKeyboardEvent(event)->keyIdentifier() == "Enter"; event 490 Source/core/html/HTMLAnchorElement.cpp bool isLinkClick(Event* event) event 492 Source/core/html/HTMLAnchorElement.cpp return event->type() == EventTypeNames::click && (!event->isMouseEvent() || toMouseEvent(event)->button() != RightButton); event 560 Source/core/html/HTMLAnchorElement.cpp void HTMLAnchorElement::PrefetchEventHandler::handleEvent(Event* event) event 565 Source/core/html/HTMLAnchorElement.cpp if (event->type() == EventTypeNames::mouseover) event 566 Source/core/html/HTMLAnchorElement.cpp handleMouseOver(event); event 567 Source/core/html/HTMLAnchorElement.cpp else if (event->type() == EventTypeNames::mouseout) event 568 Source/core/html/HTMLAnchorElement.cpp handleMouseOut(event); event 569 Source/core/html/HTMLAnchorElement.cpp else if (event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) event 570 Source/core/html/HTMLAnchorElement.cpp handleLeftMouseDown(event); event 571 Source/core/html/HTMLAnchorElement.cpp else if (event->type() == EventTypeNames::gestureshowpress) event 572 Source/core/html/HTMLAnchorElement.cpp handleGestureShowPress(event); event 573 Source/core/html/HTMLAnchorElement.cpp else if (event->type() == EventTypeNames::gesturetapunconfirmed) event 574 Source/core/html/HTMLAnchorElement.cpp handleGestureTapUnconfirmed(event); event 575 Source/core/html/HTMLAnchorElement.cpp else if (isLinkClick(event)) event 576 Source/core/html/HTMLAnchorElement.cpp handleClick(event); event 579 Source/core/html/HTMLAnchorElement.cpp void HTMLAnchorElement::PrefetchEventHandler::handleMouseOver(Event* event) event 582 Source/core/html/HTMLAnchorElement.cpp m_mouseOverTimestamp = event->timeStamp(); event 590 Source/core/html/HTMLAnchorElement.cpp void HTMLAnchorElement::PrefetchEventHandler::handleMouseOut(Event* event) event 593 Source/core/html/HTMLAnchorElement.cpp double mouseOverDuration = convertDOMTimeStampToSeconds(event->timeStamp() - m_mouseOverTimestamp); event 600 Source/core/html/HTMLAnchorElement.cpp void HTMLAnchorElement::PrefetchEventHandler::handleLeftMouseDown(Event* event) event 602 Source/core/html/HTMLAnchorElement.cpp m_mouseDownTimestamp = event->timeStamp(); event 609 Source/core/html/HTMLAnchorElement.cpp void HTMLAnchorElement::PrefetchEventHandler::handleGestureTapUnconfirmed(Event* event) event 618 Source/core/html/HTMLAnchorElement.cpp void HTMLAnchorElement::PrefetchEventHandler::handleGestureShowPress(Event* event) event 620 Source/core/html/HTMLAnchorElement.cpp m_tapDownTimestamp = event->timeStamp(); event 627 Source/core/html/HTMLAnchorElement.cpp void HTMLAnchorElement::PrefetchEventHandler::handleClick(Event* event) event 631 Source/core/html/HTMLAnchorElement.cpp double mouseOverDuration = convertDOMTimeStampToSeconds(event->timeStamp() - m_mouseOverTimestamp); event 640 Source/core/html/HTMLAnchorElement.cpp double mouseDownDuration = convertDOMTimeStampToSeconds(event->timeStamp() - m_mouseDownTimestamp); event 647 Source/core/html/HTMLAnchorElement.cpp double tapDownDuration = convertDOMTimeStampToSeconds(event->timeStamp() - m_tapDownTimestamp); event 110 Source/core/html/HTMLButtonElement.cpp void HTMLButtonElement::defaultEventHandler(Event* event) event 112 Source/core/html/HTMLButtonElement.cpp if (event->type() == EventTypeNames::DOMActivate && !isDisabledFormControl()) { event 115 Source/core/html/HTMLButtonElement.cpp form()->prepareForSubmission(event); event 116 Source/core/html/HTMLButtonElement.cpp event->setDefaultHandled(); event 121 Source/core/html/HTMLButtonElement.cpp event->setDefaultHandled(); event 125 Source/core/html/HTMLButtonElement.cpp if (event->isKeyboardEvent()) { event 126 Source/core/html/HTMLButtonElement.cpp if (event->type() == EventTypeNames::keydown && toKeyboardEvent(event)->keyIdentifier() == "U+0020") { event 131 Source/core/html/HTMLButtonElement.cpp if (event->type() == EventTypeNames::keypress) { event 132 Source/core/html/HTMLButtonElement.cpp switch (toKeyboardEvent(event)->charCode()) { event 134 Source/core/html/HTMLButtonElement.cpp dispatchSimulatedClick(event); event 135 Source/core/html/HTMLButtonElement.cpp event->setDefaultHandled(); event 139 Source/core/html/HTMLButtonElement.cpp event->setDefaultHandled(); event 143 Source/core/html/HTMLButtonElement.cpp if (event->type() == EventTypeNames::keyup && toKeyboardEvent(event)->keyIdentifier() == "U+0020") { event 145 Source/core/html/HTMLButtonElement.cpp dispatchSimulatedClick(event); event 146 Source/core/html/HTMLButtonElement.cpp event->setDefaultHandled(); event 151 Source/core/html/HTMLButtonElement.cpp HTMLFormControlElement::defaultEventHandler(event); event 198 Source/core/html/HTMLDialogElement.cpp void HTMLDialogElement::defaultEventHandler(Event* event) event 200 Source/core/html/HTMLDialogElement.cpp if (event->type() == EventTypeNames::cancel) { event 202 Source/core/html/HTMLDialogElement.cpp event->setDefaultHandled(); event 205 Source/core/html/HTMLDialogElement.cpp HTMLElement::defaultEventHandler(event); event 915 Source/core/html/HTMLElement.cpp void HTMLElement::defaultEventHandler(Event* event) event 917 Source/core/html/HTMLElement.cpp if (event->type() == EventTypeNames::keypress && event->isKeyboardEvent()) { event 918 Source/core/html/HTMLElement.cpp handleKeypressEvent(toKeyboardEvent(event)); event 919 Source/core/html/HTMLElement.cpp if (event->defaultHandled()) event 923 Source/core/html/HTMLElement.cpp Element::defaultEventHandler(event); event 926 Source/core/html/HTMLElement.cpp void HTMLElement::handleKeypressEvent(KeyboardEvent* event) event 935 Source/core/html/HTMLElement.cpp int charCode = event->charCode(); event 937 Source/core/html/HTMLElement.cpp dispatchSimulatedClick(event); event 938 Source/core/html/HTMLElement.cpp event->setDefaultHandled(); event 338 Source/core/html/HTMLFormControlElement.cpp void HTMLFormControlElement::willCallDefaultEventHandler(const Event& event) event 340 Source/core/html/HTMLFormControlElement.cpp if (!event.isKeyboardEvent() || event.type() != EventTypeNames::keydown) event 165 Source/core/html/HTMLFormElement.cpp void HTMLFormElement::handleLocalEvents(Event* event) event 167 Source/core/html/HTMLFormElement.cpp Node* targetNode = event->target()->toNode(); event 168 Source/core/html/HTMLFormElement.cpp if (event->eventPhase() != Event::CAPTURING_PHASE && targetNode && targetNode != this && (event->type() == EventTypeNames::submit || event->type() == EventTypeNames::reset)) { event 169 Source/core/html/HTMLFormElement.cpp event->stopPropagation(); event 172 Source/core/html/HTMLFormElement.cpp HTMLElement::handleLocalEvents(event); event 191 Source/core/html/HTMLFormElement.cpp void HTMLFormElement::submitImplicitly(Event* event, bool fromImplicitSubmissionTrigger) event 205 Source/core/html/HTMLFormElement.cpp control->dispatchSimulatedClick(event); event 216 Source/core/html/HTMLFormElement.cpp prepareForSubmission(event); event 220 Source/core/html/HTMLFormElement.cpp static inline HTMLFormControlElement* submitElementFromEvent(const Event* event) event 222 Source/core/html/HTMLFormElement.cpp for (Node* node = event->target()->toNode(); node; node = node->parentOrShadowHostNode()) { event 229 Source/core/html/HTMLFormElement.cpp bool HTMLFormElement::validateInteractively(Event* event) event 231 Source/core/html/HTMLFormElement.cpp ASSERT(event); event 235 Source/core/html/HTMLFormElement.cpp HTMLFormControlElement* submitElement = submitElementFromEvent(event); event 283 Source/core/html/HTMLFormElement.cpp bool HTMLFormElement::prepareForSubmission(Event* event) event 293 Source/core/html/HTMLFormElement.cpp if (!validateInteractively(event)) event 302 Source/core/html/HTMLFormElement.cpp submit(event, true, true, NotSubmittedByJavaScript); event 327 Source/core/html/HTMLFormElement.cpp void HTMLFormElement::submit(Event* event, bool activateSubmitButton, bool processingUserGesture, FormSubmissionTrigger formSubmissionTrigger) event 356 Source/core/html/HTMLFormElement.cpp RefPtr<FormSubmission> formSubmission = FormSubmission::create(this, m_attributes, event, formSubmissionTrigger); event 438 Source/core/html/HTMLFormElement.cpp RefPtrWillBeRawPtr<Event> event = nullptr; event 440 Source/core/html/HTMLFormElement.cpp event = Event::createBubble(EventTypeNames::autocomplete); event 442 Source/core/html/HTMLFormElement.cpp event = AutocompleteErrorEvent::create("disabled"); event 444 Source/core/html/HTMLFormElement.cpp event = AutocompleteErrorEvent::create("cancel"); event 446 Source/core/html/HTMLFormElement.cpp event = AutocompleteErrorEvent::create("invalid"); event 450 Source/core/html/HTMLFormElement.cpp event->setTarget(this); event 451 Source/core/html/HTMLFormElement.cpp m_pendingAutocompleteEvents.append(event.release()); event 1092 Source/core/html/HTMLInputElement.cpp void* HTMLInputElement::preDispatchEventHandler(Event* event) event 1094 Source/core/html/HTMLInputElement.cpp if (event->type() == EventTypeNames::textInput && m_inputTypeView->shouldSubmitImplicitly(event)) { event 1095 Source/core/html/HTMLInputElement.cpp event->stopPropagation(); event 1098 Source/core/html/HTMLInputElement.cpp if (event->type() != EventTypeNames::click) event 1100 Source/core/html/HTMLInputElement.cpp if (!event->isMouseEvent() || toMouseEvent(event)->button() != LeftButton) event 1106 Source/core/html/HTMLInputElement.cpp void HTMLInputElement::postDispatchEventHandler(Event* event, void* dataFromPreDispatch) event 1111 Source/core/html/HTMLInputElement.cpp m_inputTypeView->didDispatchClick(event, *state); event 516 Source/core/html/HTMLMediaElement.cpp void HTMLMediaElement::scheduleEvent(PassRefPtrWillBeRawPtr<Event> event) event 519 Source/core/html/HTMLMediaElement.cpp WTF_LOG(Media, "HTMLMediaElement::scheduleEvent - scheduling '%s'", event->type().ascii().data()); event 521 Source/core/html/HTMLMediaElement.cpp m_asyncEventQueue->enqueueEvent(event); event 1091 Source/core/html/HTMLMediaElement.cpp RefPtrWillBeRawPtr<Event> event = nullptr; event 1098 Source/core/html/HTMLMediaElement.cpp event = Event::create(EventTypeNames::enter); event 1099 Source/core/html/HTMLMediaElement.cpp event->setTarget(eventTasks[i].second); event 1100 Source/core/html/HTMLMediaElement.cpp m_asyncEventQueue->enqueueEvent(event.release()); event 1102 Source/core/html/HTMLMediaElement.cpp event = Event::create(EventTypeNames::exit); event 1103 Source/core/html/HTMLMediaElement.cpp event->setTarget(eventTasks[i].second); event 1104 Source/core/html/HTMLMediaElement.cpp m_asyncEventQueue->enqueueEvent(event.release()); event 1107 Source/core/html/HTMLMediaElement.cpp event = Event::create(EventTypeNames::enter); event 1109 Source/core/html/HTMLMediaElement.cpp event = Event::create(EventTypeNames::exit); event 1111 Source/core/html/HTMLMediaElement.cpp event->setTarget(eventTasks[i].second); event 1112 Source/core/html/HTMLMediaElement.cpp m_asyncEventQueue->enqueueEvent(event.release()); event 1123 Source/core/html/HTMLMediaElement.cpp RefPtrWillBeRawPtr<Event> event = Event::create(EventTypeNames::cuechange); event 1124 Source/core/html/HTMLMediaElement.cpp event->setTarget(affectedTracks[i]); event 1126 Source/core/html/HTMLMediaElement.cpp m_asyncEventQueue->enqueueEvent(event.release()); event 1131 Source/core/html/HTMLMediaElement.cpp RefPtrWillBeRawPtr<Event> event = Event::create(EventTypeNames::cuechange); event 1134 Source/core/html/HTMLMediaElement.cpp event->setTarget(trackElement); event 1136 Source/core/html/HTMLMediaElement.cpp m_asyncEventQueue->enqueueEvent(event.release()); event 3405 Source/core/html/HTMLMediaElement.cpp void* HTMLMediaElement::preDispatchEventHandler(Event* event) event 3407 Source/core/html/HTMLMediaElement.cpp if (event && event->type() == EventTypeNames::webkitfullscreenchange) event 3413 Source/core/html/HTMLMediaElement.cpp void HTMLMediaElement::defaultEventHandler(Event* event) event 3415 Source/core/html/HTMLMediaElement.cpp if (event->type() == EventTypeNames::click && willRespondToMouseClickEvents()) { event 3417 Source/core/html/HTMLMediaElement.cpp event->setDefaultHandled(); event 3420 Source/core/html/HTMLMediaElement.cpp HTMLElement::defaultEventHandler(event); event 304 Source/core/html/HTMLPlugInElement.cpp void HTMLPlugInElement::defaultEventHandler(Event* event) event 328 Source/core/html/HTMLPlugInElement.cpp widget->handleEvent(event); event 329 Source/core/html/HTMLPlugInElement.cpp if (event->defaultHandled()) event 331 Source/core/html/HTMLPlugInElement.cpp HTMLFrameOwnerElement::defaultEventHandler(event); event 1115 Source/core/html/HTMLSelectElement.cpp bool HTMLSelectElement::platformHandleKeydownEvent(KeyboardEvent* event) event 1121 Source/core/html/HTMLSelectElement.cpp if (event->keyIdentifier() == "Down" || event->keyIdentifier() == "Up") { event 1136 Source/core/html/HTMLSelectElement.cpp event->setDefaultHandled(); event 1145 Source/core/html/HTMLSelectElement.cpp void HTMLSelectElement::menuListDefaultEventHandler(Event* event) event 1149 Source/core/html/HTMLSelectElement.cpp if (event->type() == EventTypeNames::keydown) { event 1150 Source/core/html/HTMLSelectElement.cpp if (!renderer() || !event->isKeyboardEvent()) event 1153 Source/core/html/HTMLSelectElement.cpp if (platformHandleKeydownEvent(toKeyboardEvent(event))) event 1164 Source/core/html/HTMLSelectElement.cpp const String& keyIdentifier = toKeyboardEvent(event)->keyIdentifier(); event 1188 Source/core/html/HTMLSelectElement.cpp event->setDefaultHandled(); event 1193 Source/core/html/HTMLSelectElement.cpp if (event->type() == EventTypeNames::keypress) { event 1194 Source/core/html/HTMLSelectElement.cpp if (!renderer() || !event->isKeyboardEvent()) event 1197 Source/core/html/HTMLSelectElement.cpp int keyCode = toKeyboardEvent(event)->keyCode(); event 1203 Source/core/html/HTMLSelectElement.cpp event->setDefaultHandled(); event 1244 Source/core/html/HTMLSelectElement.cpp form()->submitImplicitly(event, false); event 1251 Source/core/html/HTMLSelectElement.cpp event->setDefaultHandled(); event 1254 Source/core/html/HTMLSelectElement.cpp if (event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { event 1271 Source/core/html/HTMLSelectElement.cpp event->setDefaultHandled(); event 1274 Source/core/html/HTMLSelectElement.cpp if (event->type() == EventTypeNames::blur) { event 1332 Source/core/html/HTMLSelectElement.cpp void HTMLSelectElement::listBoxDefaultEventHandler(Event* event) event 1336 Source/core/html/HTMLSelectElement.cpp if (event->type() == EventTypeNames::gesturetap && event->isGestureEvent()) { event 1343 Source/core/html/HTMLSelectElement.cpp GestureEvent& gestureEvent = toGestureEvent(*event); event 1349 Source/core/html/HTMLSelectElement.cpp event->setDefaultHandled(); event 1351 Source/core/html/HTMLSelectElement.cpp } else if (event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { event 1358 Source/core/html/HTMLSelectElement.cpp MouseEvent* mouseEvent = toMouseEvent(event); event 1372 Source/core/html/HTMLSelectElement.cpp event->setDefaultHandled(); event 1374 Source/core/html/HTMLSelectElement.cpp } else if (event->type() == EventTypeNames::mousemove && event->isMouseEvent() && !toRenderBox(renderer())->canBeScrolledAndHasScrollableArea()) { event 1375 Source/core/html/HTMLSelectElement.cpp MouseEvent* mouseEvent = toMouseEvent(event); event 1398 Source/core/html/HTMLSelectElement.cpp } else if (event->type() == EventTypeNames::mouseup && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton && renderer() && !toRenderBox(renderer())->autoscrollInProgress()) { event 1408 Source/core/html/HTMLSelectElement.cpp } else if (event->type() == EventTypeNames::keydown) { event 1409 Source/core/html/HTMLSelectElement.cpp if (!event->isKeyboardEvent()) event 1411 Source/core/html/HTMLSelectElement.cpp const String& keyIdentifier = toKeyboardEvent(event)->keyIdentifier(); event 1470 Source/core/html/HTMLSelectElement.cpp bool selectNewItem = !m_multiple || toKeyboardEvent(event)->shiftKey() || !isSpatialNavigationEnabled(document().frame()); event 1475 Source/core/html/HTMLSelectElement.cpp bool deselectOthers = !m_multiple || (!toKeyboardEvent(event)->shiftKey() && selectNewItem); event 1489 Source/core/html/HTMLSelectElement.cpp event->setDefaultHandled(); event 1491 Source/core/html/HTMLSelectElement.cpp } else if (event->type() == EventTypeNames::keypress) { event 1492 Source/core/html/HTMLSelectElement.cpp if (!event->isKeyboardEvent()) event 1494 Source/core/html/HTMLSelectElement.cpp int keyCode = toKeyboardEvent(event)->keyCode(); event 1498 Source/core/html/HTMLSelectElement.cpp form()->submitImplicitly(event, false); event 1499 Source/core/html/HTMLSelectElement.cpp event->setDefaultHandled(); event 1505 Source/core/html/HTMLSelectElement.cpp event->setDefaultHandled(); event 1510 Source/core/html/HTMLSelectElement.cpp void HTMLSelectElement::defaultEventHandler(Event* event) event 1516 Source/core/html/HTMLSelectElement.cpp HTMLFormControlElementWithState::defaultEventHandler(event); event 1521 Source/core/html/HTMLSelectElement.cpp menuListDefaultEventHandler(event); event 1523 Source/core/html/HTMLSelectElement.cpp listBoxDefaultEventHandler(event); event 1524 Source/core/html/HTMLSelectElement.cpp if (event->defaultHandled()) event 1527 Source/core/html/HTMLSelectElement.cpp if (event->type() == EventTypeNames::keypress && event->isKeyboardEvent()) { event 1528 Source/core/html/HTMLSelectElement.cpp KeyboardEvent* keyboardEvent = toKeyboardEvent(event); event 1531 Source/core/html/HTMLSelectElement.cpp event->setDefaultHandled(); event 1535 Source/core/html/HTMLSelectElement.cpp HTMLFormControlElementWithState::defaultEventHandler(event); event 1569 Source/core/html/HTMLSelectElement.cpp void HTMLSelectElement::typeAheadFind(KeyboardEvent* event) event 1571 Source/core/html/HTMLSelectElement.cpp int index = m_typeAhead.handleEvent(event, TypeAhead::MatchPrefix | TypeAhead::CycleFirstChar); event 37 Source/core/html/HTMLSelectElementWin.cpp bool HTMLSelectElement::platformHandleKeydownEvent(KeyboardEvent* event) event 40 Source/core/html/HTMLSelectElementWin.cpp bool eventShowsMenu = (!event->altKey() && !event->ctrlKey() && event->keyIdentifier() == "F4") event 41 Source/core/html/HTMLSelectElementWin.cpp || ((event->altGraphKey() || event->altKey()) && (event->keyIdentifier() == "Down" || event->keyIdentifier() == "Up")); event 55 Source/core/html/HTMLSelectElementWin.cpp event->setDefaultHandled(); event 93 Source/core/html/HTMLSummaryElement.cpp void HTMLSummaryElement::defaultEventHandler(Event* event) event 96 Source/core/html/HTMLSummaryElement.cpp if (event->type() == EventTypeNames::DOMActivate && !isClickableControl(event->target()->toNode())) { event 99 Source/core/html/HTMLSummaryElement.cpp event->setDefaultHandled(); event 103 Source/core/html/HTMLSummaryElement.cpp if (event->isKeyboardEvent()) { event 104 Source/core/html/HTMLSummaryElement.cpp if (event->type() == EventTypeNames::keydown && toKeyboardEvent(event)->keyIdentifier() == "U+0020") { event 109 Source/core/html/HTMLSummaryElement.cpp if (event->type() == EventTypeNames::keypress) { event 110 Source/core/html/HTMLSummaryElement.cpp switch (toKeyboardEvent(event)->charCode()) { event 112 Source/core/html/HTMLSummaryElement.cpp dispatchSimulatedClick(event); event 113 Source/core/html/HTMLSummaryElement.cpp event->setDefaultHandled(); event 117 Source/core/html/HTMLSummaryElement.cpp event->setDefaultHandled(); event 121 Source/core/html/HTMLSummaryElement.cpp if (event->type() == EventTypeNames::keyup && toKeyboardEvent(event)->keyIdentifier() == "U+0020") { event 123 Source/core/html/HTMLSummaryElement.cpp dispatchSimulatedClick(event); event 124 Source/core/html/HTMLSummaryElement.cpp event->setDefaultHandled(); event 130 Source/core/html/HTMLSummaryElement.cpp HTMLElement::defaultEventHandler(event); event 255 Source/core/html/HTMLTextAreaElement.cpp void HTMLTextAreaElement::defaultEventHandler(Event* event) event 257 Source/core/html/HTMLTextAreaElement.cpp if (renderer() && (event->isMouseEvent() || event->isDragEvent() || event->hasInterface(EventNames::WheelEvent) || event->type() == EventTypeNames::blur)) event 258 Source/core/html/HTMLTextAreaElement.cpp forwardEvent(event); event 259 Source/core/html/HTMLTextAreaElement.cpp else if (renderer() && event->isBeforeTextInsertedEvent()) event 260 Source/core/html/HTMLTextAreaElement.cpp handleBeforeTextInsertedEvent(static_cast<BeforeTextInsertedEvent*>(event)); event 262 Source/core/html/HTMLTextAreaElement.cpp HTMLTextFormControlElement::defaultEventHandler(event); event 287 Source/core/html/HTMLTextAreaElement.cpp void HTMLTextAreaElement::handleBeforeTextInsertedEvent(BeforeTextInsertedEvent* event) const event 289 Source/core/html/HTMLTextAreaElement.cpp ASSERT(event); event 298 Source/core/html/HTMLTextAreaElement.cpp if (currentLength + computeLengthForSubmission(event->text()) < unsignedMaxLength) event 310 Source/core/html/HTMLTextAreaElement.cpp event->setText(sanitizeUserInputValue(event->text(), appendableLength)); event 92 Source/core/html/HTMLTextFormControlElement.cpp void HTMLTextFormControlElement::defaultEventHandler(Event* event) event 94 Source/core/html/HTMLTextFormControlElement.cpp if (event->type() == EventTypeNames::webkitEditableContentChanged && renderer() && renderer()->isTextControl()) { event 100 Source/core/html/HTMLTextFormControlElement.cpp HTMLFormControlElementWithState::defaultEventHandler(event); event 103 Source/core/html/HTMLTextFormControlElement.cpp void HTMLTextFormControlElement::forwardEvent(Event* event) event 105 Source/core/html/HTMLTextFormControlElement.cpp if (event->type() == EventTypeNames::blur || event->type() == EventTypeNames::focus) event 107 Source/core/html/HTMLTextFormControlElement.cpp innerTextElement()->defaultEventHandler(event); event 376 Source/core/html/ImageDocument.cpp void ImageEventListener::handleEvent(ExecutionContext*, Event* event) event 378 Source/core/html/ImageDocument.cpp if (event->type() == EventTypeNames::resize) event 380 Source/core/html/ImageDocument.cpp else if (event->type() == EventTypeNames::click && event->isMouseEvent()) { event 381 Source/core/html/ImageDocument.cpp MouseEvent* mouseEvent = toMouseEvent(event); event 131 Source/core/html/MediaDocument.cpp void MediaDocument::defaultEventHandler(Event* event) event 133 Source/core/html/MediaDocument.cpp Node* targetNode = event->target()->toNode(); event 137 Source/core/html/MediaDocument.cpp if (event->type() == EventTypeNames::keydown && event->isKeyboardEvent()) { event 142 Source/core/html/MediaDocument.cpp KeyboardEvent* keyboardEvent = toKeyboardEvent(event); event 146 Source/core/html/MediaDocument.cpp event->setDefaultHandled(); event 166 Source/core/html/canvas/CanvasRenderingContext2D.cpp RefPtrWillBeRawPtr<Event> event = Event::createCancelable(EventTypeNames::contextlost); event 167 Source/core/html/canvas/CanvasRenderingContext2D.cpp canvas()->dispatchEvent(event); event 168 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (event->defaultPrevented()) { event 211 Source/core/html/canvas/CanvasRenderingContext2D.cpp RefPtrWillBeRawPtr<Event> event(Event::create(EventTypeNames::contextrestored)); event 212 Source/core/html/canvas/CanvasRenderingContext2D.cpp canvas()->dispatchEvent(event); event 5342 Source/core/html/canvas/WebGLRenderingContextBase.cpp RefPtrWillBeRawPtr<WebGLContextEvent> event = WebGLContextEvent::create(EventTypeNames::webglcontextlost, false, true, ""); event 5343 Source/core/html/canvas/WebGLRenderingContextBase.cpp canvas()->dispatchEvent(event); event 5344 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_restoreAllowed = event->defaultPrevented(); event 63 Source/core/html/forms/BaseCheckableInputType.cpp void BaseCheckableInputType::handleKeydownEvent(KeyboardEvent* event) event 65 Source/core/html/forms/BaseCheckableInputType.cpp const String& key = event->keyIdentifier(); event 73 Source/core/html/forms/BaseCheckableInputType.cpp void BaseCheckableInputType::handleKeypressEvent(KeyboardEvent* event) event 75 Source/core/html/forms/BaseCheckableInputType.cpp if (event->charCode() == ' ') { event 77 Source/core/html/forms/BaseCheckableInputType.cpp event->setDefaultHandled(); event 124 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp void BaseChooserOnlyDateAndTimeInputType::handleKeydownEvent(KeyboardEvent* event) event 126 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp BaseClickableWithKeyInputType::handleKeydownEvent(element(), event); event 129 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp void BaseChooserOnlyDateAndTimeInputType::handleKeypressEvent(KeyboardEvent* event) event 131 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp BaseClickableWithKeyInputType::handleKeypressEvent(element(), event); event 134 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp void BaseChooserOnlyDateAndTimeInputType::handleKeyupEvent(KeyboardEvent* event) event 136 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp BaseClickableWithKeyInputType::handleKeyupEvent(*this, event); event 42 Source/core/html/forms/BaseClickableWithKeyInputType.cpp void BaseClickableWithKeyInputType::handleKeydownEvent(HTMLInputElement& element, KeyboardEvent* event) event 44 Source/core/html/forms/BaseClickableWithKeyInputType.cpp const String& key = event->keyIdentifier(); event 52 Source/core/html/forms/BaseClickableWithKeyInputType.cpp void BaseClickableWithKeyInputType::handleKeypressEvent(HTMLInputElement& element, KeyboardEvent* event) event 54 Source/core/html/forms/BaseClickableWithKeyInputType.cpp int charCode = event->charCode(); event 56 Source/core/html/forms/BaseClickableWithKeyInputType.cpp element.dispatchSimulatedClick(event); event 57 Source/core/html/forms/BaseClickableWithKeyInputType.cpp event->setDefaultHandled(); event 62 Source/core/html/forms/BaseClickableWithKeyInputType.cpp event->setDefaultHandled(); event 66 Source/core/html/forms/BaseClickableWithKeyInputType.cpp void BaseClickableWithKeyInputType::handleKeyupEvent(InputType& inputType, KeyboardEvent* event) event 68 Source/core/html/forms/BaseClickableWithKeyInputType.cpp const String& key = event->keyIdentifier(); event 72 Source/core/html/forms/BaseClickableWithKeyInputType.cpp inputType.dispatchSimulatedClickIfActive(event); event 81 Source/core/html/forms/BaseClickableWithKeyInputType.cpp void BaseClickableWithKeyInputType::handleKeydownEvent(KeyboardEvent* event) event 83 Source/core/html/forms/BaseClickableWithKeyInputType.cpp handleKeydownEvent(element(), event); event 86 Source/core/html/forms/BaseClickableWithKeyInputType.cpp void BaseClickableWithKeyInputType::handleKeypressEvent(KeyboardEvent* event) event 88 Source/core/html/forms/BaseClickableWithKeyInputType.cpp handleKeypressEvent(element(), event); event 91 Source/core/html/forms/BaseClickableWithKeyInputType.cpp void BaseClickableWithKeyInputType::handleKeyupEvent(KeyboardEvent* event) event 93 Source/core/html/forms/BaseClickableWithKeyInputType.cpp handleKeyupEvent(*this, event); event 390 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp void BaseMultipleFieldsDateAndTimeInputType::forwardEvent(Event* event) event 393 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element->forwardEvent(event); event 394 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (event->defaultHandled()) event 399 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp edit->defaultEventHandler(event); event 416 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp void BaseMultipleFieldsDateAndTimeInputType::handleKeydownEvent(KeyboardEvent* event) event 419 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp && ((event->keyIdentifier() == "Down" && event->getModifierState("Alt")) || (RenderTheme::theme().shouldOpenPickerWithF4Key() && event->keyIdentifier() == "F4"))) { event 422 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp event->setDefaultHandled(); event 424 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp forwardEvent(event); event 63 Source/core/html/forms/CheckboxInputType.cpp void CheckboxInputType::handleKeyupEvent(KeyboardEvent* event) event 65 Source/core/html/forms/CheckboxInputType.cpp const String& key = event->keyIdentifier(); event 68 Source/core/html/forms/CheckboxInputType.cpp dispatchSimulatedClickIfActive(event); event 89 Source/core/html/forms/CheckboxInputType.cpp void CheckboxInputType::didDispatchClick(Event* event, const ClickHandlingState& state) event 91 Source/core/html/forms/CheckboxInputType.cpp if (event->defaultPrevented() || event->defaultHandled()) { event 97 Source/core/html/forms/CheckboxInputType.cpp event->setDefaultHandled(); event 153 Source/core/html/forms/ColorInputType.cpp void ColorInputType::handleDOMActivateEvent(Event* event) event 165 Source/core/html/forms/ColorInputType.cpp event->setDefaultHandled(); event 138 Source/core/html/forms/FileInputType.cpp void FileInputType::handleDOMActivateEvent(Event* event) event 159 Source/core/html/forms/FileInputType.cpp event->setDefaultHandled(); event 98 Source/core/html/forms/ImageInputType.cpp static IntPoint extractClickLocation(Event* event) event 100 Source/core/html/forms/ImageInputType.cpp if (!event->underlyingEvent() || !event->underlyingEvent()->isMouseEvent()) event 102 Source/core/html/forms/ImageInputType.cpp MouseEvent* mouseEvent = toMouseEvent(event->underlyingEvent()); event 108 Source/core/html/forms/ImageInputType.cpp void ImageInputType::handleDOMActivateEvent(Event* event) event 114 Source/core/html/forms/ImageInputType.cpp m_clickLocation = extractClickLocation(event); event 115 Source/core/html/forms/ImageInputType.cpp element->form()->prepareForSubmission(event); // Event handlers can run. event 117 Source/core/html/forms/ImageInputType.cpp event->setDefaultHandled(); event 419 Source/core/html/forms/InputType.cpp bool InputType::shouldSubmitImplicitly(Event* event) event 421 Source/core/html/forms/InputType.cpp return event->isKeyboardEvent() && event->type() == EventTypeNames::keypress && toKeyboardEvent(event)->charCode() == '\r'; event 441 Source/core/html/forms/InputType.cpp void InputType::dispatchSimulatedClickIfActive(KeyboardEvent* event) const event 444 Source/core/html/forms/InputType.cpp element().dispatchSimulatedClick(event); event 445 Source/core/html/forms/InputType.cpp event->setDefaultHandled(); event 85 Source/core/html/forms/InputTypeView.cpp bool InputTypeView::shouldSubmitImplicitly(Event* event) event 183 Source/core/html/forms/NumberInputType.cpp void NumberInputType::handleKeydownEvent(KeyboardEvent* event) event 185 Source/core/html/forms/NumberInputType.cpp handleKeydownEventForSpinButton(event); event 186 Source/core/html/forms/NumberInputType.cpp if (!event->defaultHandled()) event 187 Source/core/html/forms/NumberInputType.cpp TextFieldInputType::handleKeydownEvent(event); event 59 Source/core/html/forms/RadioInputType.cpp void RadioInputType::handleClickEvent(MouseEvent* event) event 61 Source/core/html/forms/RadioInputType.cpp event->setDefaultHandled(); event 64 Source/core/html/forms/RadioInputType.cpp void RadioInputType::handleKeydownEvent(KeyboardEvent* event) event 66 Source/core/html/forms/RadioInputType.cpp BaseCheckableInputType::handleKeydownEvent(event); event 67 Source/core/html/forms/RadioInputType.cpp if (event->defaultHandled()) event 69 Source/core/html/forms/RadioInputType.cpp const String& key = event->keyIdentifier(); event 100 Source/core/html/forms/RadioInputType.cpp inputElement->dispatchSimulatedClick(event, SendNoEvents); event 101 Source/core/html/forms/RadioInputType.cpp event->setDefaultHandled(); event 107 Source/core/html/forms/RadioInputType.cpp void RadioInputType::handleKeyupEvent(KeyboardEvent* event) event 109 Source/core/html/forms/RadioInputType.cpp const String& key = event->keyIdentifier(); event 116 Source/core/html/forms/RadioInputType.cpp dispatchSimulatedClickIfActive(event); event 166 Source/core/html/forms/RadioInputType.cpp void RadioInputType::didDispatchClick(Event* event, const ClickHandlingState& state) event 168 Source/core/html/forms/RadioInputType.cpp if (event->defaultPrevented() || event->defaultHandled()) { event 181 Source/core/html/forms/RadioInputType.cpp event->setDefaultHandled(); event 146 Source/core/html/forms/RangeInputType.cpp void RangeInputType::handleMouseDownEvent(MouseEvent* event) event 151 Source/core/html/forms/RangeInputType.cpp Node* targetNode = event->target()->toNode(); event 152 Source/core/html/forms/RangeInputType.cpp if (event->button() != LeftButton || !targetNode) event 160 Source/core/html/forms/RangeInputType.cpp thumb->dragFrom(event->absoluteLocation()); event 163 Source/core/html/forms/RangeInputType.cpp void RangeInputType::handleTouchEvent(TouchEvent* event) event 168 Source/core/html/forms/RangeInputType.cpp if (event->type() == EventTypeNames::touchend) { event 169 Source/core/html/forms/RangeInputType.cpp event->setDefaultHandled(); event 173 Source/core/html/forms/RangeInputType.cpp TouchList* touches = event->targetTouches(); event 176 Source/core/html/forms/RangeInputType.cpp event->setDefaultHandled(); event 185 Source/core/html/forms/RangeInputType.cpp void RangeInputType::handleKeydownEvent(KeyboardEvent* event) event 190 Source/core/html/forms/RangeInputType.cpp const String& key = event->keyIdentifier(); event 240 Source/core/html/forms/RangeInputType.cpp event->setDefaultHandled(); event 59 Source/core/html/forms/ResetInputType.cpp void ResetInputType::handleDOMActivateEvent(Event* event) event 64 Source/core/html/forms/ResetInputType.cpp event->setDefaultHandled(); event 102 Source/core/html/forms/SearchInputType.cpp void SearchInputType::handleKeydownEvent(KeyboardEvent* event) event 105 Source/core/html/forms/SearchInputType.cpp TextFieldInputType::handleKeydownEvent(event); event 109 Source/core/html/forms/SearchInputType.cpp const String& key = event->keyIdentifier(); event 114 Source/core/html/forms/SearchInputType.cpp event->setDefaultHandled(); event 117 Source/core/html/forms/SearchInputType.cpp TextFieldInputType::handleKeydownEvent(event); event 68 Source/core/html/forms/SubmitInputType.cpp void SubmitInputType::handleDOMActivateEvent(Event* event) event 74 Source/core/html/forms/SubmitInputType.cpp element->form()->prepareForSubmission(event); // Event handlers can run. event 76 Source/core/html/forms/SubmitInputType.cpp event->setDefaultHandled(); event 72 Source/core/html/forms/TextFieldInputType.cpp virtual void* preDispatchEventHandler(Event* event) OVERRIDE event 78 Source/core/html/forms/TextFieldInputType.cpp if (event->type() == EventTypeNames::mousedown) event 79 Source/core/html/forms/TextFieldInputType.cpp event->stopPropagation(); event 83 Source/core/html/forms/TextFieldInputType.cpp virtual void defaultEventHandler(Event* event) OVERRIDE event 86 Source/core/html/forms/TextFieldInputType.cpp if (event->type() != EventTypeNames::click) event 91 Source/core/html/forms/TextFieldInputType.cpp event->setDefaultHandled(); event 193 Source/core/html/forms/TextFieldInputType.cpp void TextFieldInputType::handleKeydownEvent(KeyboardEvent* event) event 198 Source/core/html/forms/TextFieldInputType.cpp chrome->client().handleKeyboardEventOnTextField(element(), *event); event 201 Source/core/html/forms/TextFieldInputType.cpp event->setDefaultHandled(); event 204 Source/core/html/forms/TextFieldInputType.cpp void TextFieldInputType::handleKeydownEventForSpinButton(KeyboardEvent* event) event 208 Source/core/html/forms/TextFieldInputType.cpp const String& key = event->keyIdentifier(); event 211 Source/core/html/forms/TextFieldInputType.cpp else if (key == "Down" && !event->altKey()) event 215 Source/core/html/forms/TextFieldInputType.cpp event->setDefaultHandled(); event 218 Source/core/html/forms/TextFieldInputType.cpp void TextFieldInputType::forwardEvent(Event* event) event 221 Source/core/html/forms/TextFieldInputType.cpp spinButton->forwardEvent(event); event 222 Source/core/html/forms/TextFieldInputType.cpp if (event->defaultHandled()) event 226 Source/core/html/forms/TextFieldInputType.cpp if (element().renderer() && (event->isMouseEvent() || event->isDragEvent() || event->hasInterface(EventNames::WheelEvent) || event->type() == EventTypeNames::blur || event->type() == EventTypeNames::focus)) { event 228 Source/core/html/forms/TextFieldInputType.cpp if (event->type() == EventTypeNames::blur) { event 239 Source/core/html/forms/TextFieldInputType.cpp } else if (event->type() == EventTypeNames::focus) { event 243 Source/core/html/forms/TextFieldInputType.cpp element().forwardEvent(event); event 259 Source/core/html/forms/TextFieldInputType.cpp bool TextFieldInputType::shouldSubmitImplicitly(Event* event) event 261 Source/core/html/forms/TextFieldInputType.cpp return (event->type() == EventTypeNames::textInput && event->hasInterface(EventNames::TextEvent) && toTextEvent(event)->data() == "\n") || InputType::shouldSubmitImplicitly(event); event 416 Source/core/html/forms/TextFieldInputType.cpp void TextFieldInputType::handleBeforeTextInsertedEvent(BeforeTextInsertedEvent* event) event 439 Source/core/html/forms/TextFieldInputType.cpp String eventText = event->text(); event 448 Source/core/html/forms/TextFieldInputType.cpp event->setText(limitLength(eventText, appendableLength)); event 60 Source/core/html/forms/TypeAhead.cpp int TypeAhead::handleEvent(KeyboardEvent* event, MatchModeFlags matchMode) event 62 Source/core/html/forms/TypeAhead.cpp if (event->timeStamp() < m_lastTypeTime) event 66 Source/core/html/forms/TypeAhead.cpp DOMTimeStamp delta = event->timeStamp() - m_lastTypeTime; event 67 Source/core/html/forms/TypeAhead.cpp m_lastTypeTime = event->timeStamp(); event 69 Source/core/html/forms/TypeAhead.cpp UChar c = event->charCode(); event 74 Source/core/html/shadow/ClearButtonElement.cpp void ClearButtonElement::defaultEventHandler(Event* event) event 77 Source/core/html/shadow/ClearButtonElement.cpp if (!event->defaultHandled()) event 78 Source/core/html/shadow/ClearButtonElement.cpp HTMLDivElement::defaultEventHandler(event); event 83 Source/core/html/shadow/ClearButtonElement.cpp if (!event->defaultHandled()) event 84 Source/core/html/shadow/ClearButtonElement.cpp HTMLDivElement::defaultEventHandler(event); event 88 Source/core/html/shadow/ClearButtonElement.cpp if (event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { event 96 Source/core/html/shadow/ClearButtonElement.cpp event->setDefaultHandled(); event 98 Source/core/html/shadow/ClearButtonElement.cpp if (event->type() == EventTypeNames::mouseup && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { event 106 Source/core/html/shadow/ClearButtonElement.cpp event->setDefaultHandled(); event 111 Source/core/html/shadow/ClearButtonElement.cpp if (!event->defaultHandled()) event 112 Source/core/html/shadow/ClearButtonElement.cpp HTMLDivElement::defaultEventHandler(event); event 709 Source/core/html/shadow/DateTimeEditElement.cpp void DateTimeEditElement::defaultEventHandler(Event* event) event 714 Source/core/html/shadow/DateTimeEditElement.cpp field->defaultEventHandler(event); event 715 Source/core/html/shadow/DateTimeEditElement.cpp if (event->defaultHandled()) event 719 Source/core/html/shadow/DateTimeEditElement.cpp HTMLDivElement::defaultEventHandler(event); event 55 Source/core/html/shadow/DateTimeFieldElement.cpp void DateTimeFieldElement::defaultEventHandler(Event* event) event 57 Source/core/html/shadow/DateTimeFieldElement.cpp if (event->isKeyboardEvent()) { event 58 Source/core/html/shadow/DateTimeFieldElement.cpp KeyboardEvent* keyboardEvent = toKeyboardEvent(event); event 69 Source/core/html/shadow/DateTimeFieldElement.cpp HTMLElement::defaultEventHandler(event); event 80 Source/core/html/shadow/MediaControlElements.cpp void MediaControlPanelElement::defaultEventHandler(Event* event) event 84 Source/core/html/shadow/MediaControlElements.cpp if (event->type() == EventTypeNames::click) { event 85 Source/core/html/shadow/MediaControlElements.cpp event->setDefaultHandled(); event 88 Source/core/html/shadow/MediaControlElements.cpp HTMLDivElement::defaultEventHandler(event); event 202 Source/core/html/shadow/MediaControlElements.cpp void MediaControlMuteButtonElement::defaultEventHandler(Event* event) event 204 Source/core/html/shadow/MediaControlElements.cpp if (event->type() == EventTypeNames::click) { event 206 Source/core/html/shadow/MediaControlElements.cpp event->setDefaultHandled(); event 209 Source/core/html/shadow/MediaControlElements.cpp HTMLInputElement::defaultEventHandler(event); event 238 Source/core/html/shadow/MediaControlElements.cpp void MediaControlPlayButtonElement::defaultEventHandler(Event* event) event 240 Source/core/html/shadow/MediaControlElements.cpp if (event->type() == EventTypeNames::click) { event 243 Source/core/html/shadow/MediaControlElements.cpp event->setDefaultHandled(); event 245 Source/core/html/shadow/MediaControlElements.cpp HTMLInputElement::defaultEventHandler(event); event 312 Source/core/html/shadow/MediaControlElements.cpp void MediaControlToggleClosedCaptionsButtonElement::defaultEventHandler(Event* event) event 314 Source/core/html/shadow/MediaControlElements.cpp if (event->type() == EventTypeNames::click) { event 318 Source/core/html/shadow/MediaControlElements.cpp event->setDefaultHandled(); event 321 Source/core/html/shadow/MediaControlElements.cpp HTMLInputElement::defaultEventHandler(event); event 346 Source/core/html/shadow/MediaControlElements.cpp void MediaControlTimelineElement::defaultEventHandler(Event* event) event 348 Source/core/html/shadow/MediaControlElements.cpp if (event->isMouseEvent() && toMouseEvent(event)->button() != LeftButton) event 354 Source/core/html/shadow/MediaControlElements.cpp if (event->type() == EventTypeNames::mousedown) event 357 Source/core/html/shadow/MediaControlElements.cpp if (event->type() == EventTypeNames::mouseup) event 360 Source/core/html/shadow/MediaControlElements.cpp MediaControlInputElement::defaultEventHandler(event); event 362 Source/core/html/shadow/MediaControlElements.cpp if (event->type() == EventTypeNames::mouseover || event->type() == EventTypeNames::mouseout || event->type() == EventTypeNames::mousemove) event 366 Source/core/html/shadow/MediaControlElements.cpp if (event->type() == EventTypeNames::input) { event 419 Source/core/html/shadow/MediaControlElements.cpp void MediaControlVolumeSliderElement::defaultEventHandler(Event* event) event 421 Source/core/html/shadow/MediaControlElements.cpp if (event->isMouseEvent() && toMouseEvent(event)->button() != LeftButton) event 427 Source/core/html/shadow/MediaControlElements.cpp MediaControlInputElement::defaultEventHandler(event); event 429 Source/core/html/shadow/MediaControlElements.cpp if (event->type() == EventTypeNames::mouseover || event->type() == EventTypeNames::mouseout || event->type() == EventTypeNames::mousemove) event 481 Source/core/html/shadow/MediaControlElements.cpp void MediaControlFullscreenButtonElement::defaultEventHandler(Event* event) event 483 Source/core/html/shadow/MediaControlElements.cpp if (event->type() == EventTypeNames::click) { event 488 Source/core/html/shadow/MediaControlElements.cpp event->setDefaultHandled(); event 490 Source/core/html/shadow/MediaControlElements.cpp HTMLInputElement::defaultEventHandler(event); event 342 Source/core/html/shadow/MediaControls.cpp void MediaControls::defaultEventHandler(Event* event) event 344 Source/core/html/shadow/MediaControls.cpp HTMLDivElement::defaultEventHandler(event); event 346 Source/core/html/shadow/MediaControls.cpp if (event->type() == EventTypeNames::mouseover) { event 347 Source/core/html/shadow/MediaControls.cpp if (!containsRelatedTarget(event)) { event 358 Source/core/html/shadow/MediaControls.cpp if (event->type() == EventTypeNames::mouseout) { event 359 Source/core/html/shadow/MediaControls.cpp if (!containsRelatedTarget(event)) { event 366 Source/core/html/shadow/MediaControls.cpp if (event->type() == EventTypeNames::mousemove) { event 411 Source/core/html/shadow/MediaControls.cpp bool MediaControls::containsRelatedTarget(Event* event) event 413 Source/core/html/shadow/MediaControls.cpp if (!event->isMouseEvent()) event 415 Source/core/html/shadow/MediaControls.cpp EventTarget* relatedTarget = toMouseEvent(event)->relatedTarget(); event 124 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp void PasswordGeneratorButtonElement::defaultEventHandler(Event* event) event 128 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp if (!input || input->isDisabledOrReadOnly() || !event->isMouseEvent()) { event 129 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp if (!event->defaultHandled()) event 130 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp HTMLDivElement::defaultEventHandler(event); event 135 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp if (event->type() == EventTypeNames::click) { event 137 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp event->setDefaultHandled(); event 140 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp if (event->type() == EventTypeNames::mouseover) { event 145 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp if (event->type() == EventTypeNames::mouseout) { event 150 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp if (!event->defaultHandled()) event 151 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp HTMLDivElement::defaultEventHandler(event); event 72 Source/core/html/shadow/PickerIndicatorElement.cpp void PickerIndicatorElement::defaultEventHandler(Event* event) event 79 Source/core/html/shadow/PickerIndicatorElement.cpp if (event->type() == EventTypeNames::click) { event 81 Source/core/html/shadow/PickerIndicatorElement.cpp event->setDefaultHandled(); event 84 Source/core/html/shadow/PickerIndicatorElement.cpp if (!event->defaultHandled()) event 85 Source/core/html/shadow/PickerIndicatorElement.cpp HTMLDivElement::defaultEventHandler(event); event 329 Source/core/html/shadow/SliderThumbElement.cpp void SliderThumbElement::defaultEventHandler(Event* event) event 331 Source/core/html/shadow/SliderThumbElement.cpp if (!event->isMouseEvent()) { event 332 Source/core/html/shadow/SliderThumbElement.cpp HTMLDivElement::defaultEventHandler(event); event 341 Source/core/html/shadow/SliderThumbElement.cpp HTMLDivElement::defaultEventHandler(event); event 345 Source/core/html/shadow/SliderThumbElement.cpp MouseEvent* mouseEvent = toMouseEvent(event); event 347 Source/core/html/shadow/SliderThumbElement.cpp const AtomicString& eventType = event->type(); event 364 Source/core/html/shadow/SliderThumbElement.cpp HTMLDivElement::defaultEventHandler(event); event 69 Source/core/html/shadow/SpinButtonElement.cpp void SpinButtonElement::defaultEventHandler(Event* event) event 71 Source/core/html/shadow/SpinButtonElement.cpp if (!event->isMouseEvent()) { event 72 Source/core/html/shadow/SpinButtonElement.cpp if (!event->defaultHandled()) event 73 Source/core/html/shadow/SpinButtonElement.cpp HTMLDivElement::defaultEventHandler(event); event 79 Source/core/html/shadow/SpinButtonElement.cpp if (!event->defaultHandled()) event 80 Source/core/html/shadow/SpinButtonElement.cpp HTMLDivElement::defaultEventHandler(event); event 85 Source/core/html/shadow/SpinButtonElement.cpp if (!event->defaultHandled()) event 86 Source/core/html/shadow/SpinButtonElement.cpp HTMLDivElement::defaultEventHandler(event); event 90 Source/core/html/shadow/SpinButtonElement.cpp MouseEvent* mouseEvent = toMouseEvent(event); event 111 Source/core/html/shadow/SpinButtonElement.cpp event->setDefaultHandled(); event 115 Source/core/html/shadow/SpinButtonElement.cpp } else if (event->type() == EventTypeNames::mousemove) { event 135 Source/core/html/shadow/SpinButtonElement.cpp if (!event->defaultHandled()) event 136 Source/core/html/shadow/SpinButtonElement.cpp HTMLDivElement::defaultEventHandler(event); event 145 Source/core/html/shadow/SpinButtonElement.cpp void SpinButtonElement::forwardEvent(Event* event) event 150 Source/core/html/shadow/SpinButtonElement.cpp if (!event->hasInterface(EventNames::WheelEvent)) event 159 Source/core/html/shadow/SpinButtonElement.cpp doStepAction(toWheelEvent(event)->wheelDeltaY()); event 160 Source/core/html/shadow/SpinButtonElement.cpp event->setDefaultHandled(); event 116 Source/core/html/shadow/TextControlInnerElements.cpp void TextControlInnerTextElement::defaultEventHandler(Event* event) event 121 Source/core/html/shadow/TextControlInnerElements.cpp if (event->isBeforeTextInsertedEvent() || event->type() == EventTypeNames::webkitEditableContentChanged) { event 129 Source/core/html/shadow/TextControlInnerElements.cpp shadowAncestor->defaultEventHandler(event); event 131 Source/core/html/shadow/TextControlInnerElements.cpp if (!event->defaultHandled()) event 132 Source/core/html/shadow/TextControlInnerElements.cpp HTMLDivElement::defaultEventHandler(event); event 178 Source/core/html/shadow/TextControlInnerElements.cpp void SearchFieldDecorationElement::defaultEventHandler(Event* event) event 182 Source/core/html/shadow/TextControlInnerElements.cpp if (input && event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { event 185 Source/core/html/shadow/TextControlInnerElements.cpp event->setDefaultHandled(); event 188 Source/core/html/shadow/TextControlInnerElements.cpp if (!event->defaultHandled()) event 189 Source/core/html/shadow/TextControlInnerElements.cpp HTMLDivElement::defaultEventHandler(event); event 223 Source/core/html/shadow/TextControlInnerElements.cpp void SearchFieldCancelButtonElement::defaultEventHandler(Event* event) event 228 Source/core/html/shadow/TextControlInnerElements.cpp if (!event->defaultHandled()) event 229 Source/core/html/shadow/TextControlInnerElements.cpp HTMLDivElement::defaultEventHandler(event); event 234 Source/core/html/shadow/TextControlInnerElements.cpp if (event->type() == EventTypeNames::click && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { event 237 Source/core/html/shadow/TextControlInnerElements.cpp event->setDefaultHandled(); event 240 Source/core/html/shadow/TextControlInnerElements.cpp if (!event->defaultHandled()) event 241 Source/core/html/shadow/TextControlInnerElements.cpp HTMLDivElement::defaultEventHandler(event); event 283 Source/core/html/shadow/TextControlInnerElements.cpp void InputFieldSpeechButtonElement::defaultEventHandler(Event* event) event 287 Source/core/html/shadow/TextControlInnerElements.cpp HTMLDivElement::defaultEventHandler(event); event 297 Source/core/html/shadow/TextControlInnerElements.cpp if (!event->defaultHandled()) event 298 Source/core/html/shadow/TextControlInnerElements.cpp HTMLDivElement::defaultEventHandler(event); event 303 Source/core/html/shadow/TextControlInnerElements.cpp if (event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { event 313 Source/core/html/shadow/TextControlInnerElements.cpp event->setDefaultHandled(); event 316 Source/core/html/shadow/TextControlInnerElements.cpp if (event->type() == EventTypeNames::mouseup && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { event 325 Source/core/html/shadow/TextControlInnerElements.cpp if (event->type() == EventTypeNames::click && m_listenerId) { event 337 Source/core/html/shadow/TextControlInnerElements.cpp event->setDefaultHandled(); event 340 Source/core/html/shadow/TextControlInnerElements.cpp if (!event->defaultHandled()) event 341 Source/core/html/shadow/TextControlInnerElements.cpp HTMLDivElement::defaultEventHandler(event); event 149 Source/core/html/track/TextTrackCue.cpp bool TextTrackCue::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 155 Source/core/html/track/TextTrackCue.cpp return EventTarget::dispatchEvent(event); event 345 Source/core/inspector/InspectorController.cpp bool InspectorController::handleGestureEvent(LocalFrame* frame, const PlatformGestureEvent& event) event 348 Source/core/inspector/InspectorController.cpp m_overlay->handleGestureEvent(event); event 350 Source/core/inspector/InspectorController.cpp return domAgent->handleGestureEvent(frame, event); event 354 Source/core/inspector/InspectorController.cpp bool InspectorController::handleMouseEvent(LocalFrame* frame, const PlatformMouseEvent& event) event 357 Source/core/inspector/InspectorController.cpp m_overlay->handleMouseEvent(event); event 359 Source/core/inspector/InspectorController.cpp if (event.type() == PlatformEvent::MouseMoved) { event 361 Source/core/inspector/InspectorController.cpp domAgent->handleMouseMove(frame, event); event 364 Source/core/inspector/InspectorController.cpp if (event.type() == PlatformEvent::MousePressed) { event 371 Source/core/inspector/InspectorController.cpp bool InspectorController::handleTouchEvent(LocalFrame* frame, const PlatformTouchEvent& event) event 374 Source/core/inspector/InspectorController.cpp m_overlay->handleTouchEvent(event); event 376 Source/core/inspector/InspectorController.cpp return domAgent->handleTouchEvent(frame, event); event 380 Source/core/inspector/InspectorController.cpp bool InspectorController::handleKeyboardEvent(LocalFrame* frame, const PlatformKeyboardEvent& event) event 383 Source/core/inspector/InspectorController.cpp m_overlay->handleKeyboardEvent(event); event 163 Source/core/inspector/InspectorDOMAgent.cpp static Node* hoveredNodeForEvent(LocalFrame* frame, const PlatformGestureEvent& event, bool ignorePointerEventsNone) event 165 Source/core/inspector/InspectorDOMAgent.cpp return hoveredNodeForPoint(frame, event.position(), ignorePointerEventsNone); event 168 Source/core/inspector/InspectorDOMAgent.cpp static Node* hoveredNodeForEvent(LocalFrame* frame, const PlatformMouseEvent& event, bool ignorePointerEventsNone) event 170 Source/core/inspector/InspectorDOMAgent.cpp return hoveredNodeForPoint(frame, event.position(), ignorePointerEventsNone); event 173 Source/core/inspector/InspectorDOMAgent.cpp static Node* hoveredNodeForEvent(LocalFrame* frame, const PlatformTouchEvent& event, bool ignorePointerEventsNone) event 175 Source/core/inspector/InspectorDOMAgent.cpp const Vector<PlatformTouchPoint>& points = event.touchPoints(); event 1109 Source/core/inspector/InspectorDOMAgent.cpp bool InspectorDOMAgent::handleGestureEvent(LocalFrame* frame, const PlatformGestureEvent& event) event 1111 Source/core/inspector/InspectorDOMAgent.cpp if (m_searchingForNode == NotSearching || event.type() != PlatformEvent::GestureTap) event 1113 Source/core/inspector/InspectorDOMAgent.cpp Node* node = hoveredNodeForEvent(frame, event, false); event 1122 Source/core/inspector/InspectorDOMAgent.cpp bool InspectorDOMAgent::handleTouchEvent(LocalFrame* frame, const PlatformTouchEvent& event) event 1126 Source/core/inspector/InspectorDOMAgent.cpp Node* node = hoveredNodeForEvent(frame, event, false); event 1152 Source/core/inspector/InspectorDOMAgent.cpp void InspectorDOMAgent::handleMouseMove(LocalFrame* frame, const PlatformMouseEvent& event) event 1159 Source/core/inspector/InspectorDOMAgent.cpp Node* node = hoveredNodeForEvent(frame, event, event.shiftKey()); event 1175 Source/core/inspector/InspectorDOMAgent.cpp Node* eventTarget = event.shiftKey() ? hoveredNodeForEvent(frame, event, false) : 0; event 192 Source/core/inspector/InspectorFrontendHost.cpp void InspectorFrontendHost::showContextMenu(Event* event, const Vector<ContextMenuItem>& items) event 194 Source/core/inspector/InspectorFrontendHost.cpp if (!event) event 205 Source/core/inspector/InspectorFrontendHost.cpp m_frontendPage->contextMenuController().showContextMenu(event, menuProvider); event 118 Source/core/inspector/InspectorInputAgent.cpp PlatformKeyboardEvent event( event 131 Source/core/inspector/InspectorInputAgent.cpp m_client->dispatchKeyEvent(event); event 173 Source/core/inspector/InspectorInputAgent.cpp PlatformMouseEvent event( event 185 Source/core/inspector/InspectorInputAgent.cpp m_client->dispatchMouseEvent(event); event 204 Source/core/inspector/InspectorInputAgent.cpp SyntheticInspectorTouchEvent event(convertedType, convertedModifiers, timestamp ? *timestamp : currentTime()); event 268 Source/core/inspector/InspectorInputAgent.cpp event.append(point); event 271 Source/core/inspector/InspectorInputAgent.cpp m_page->mainFrame()->eventHandler().handleTouchEvent(event); event 273 Source/core/inspector/InspectorOverlay.cpp bool InspectorOverlay::handleGestureEvent(const PlatformGestureEvent& event) event 278 Source/core/inspector/InspectorOverlay.cpp return overlayPage()->mainFrame()->eventHandler().handleGestureEvent(event); event 281 Source/core/inspector/InspectorOverlay.cpp bool InspectorOverlay::handleMouseEvent(const PlatformMouseEvent& event) event 288 Source/core/inspector/InspectorOverlay.cpp switch (event.type()) { event 290 Source/core/inspector/InspectorOverlay.cpp result = eventHandler.handleMouseMoveEvent(event); event 293 Source/core/inspector/InspectorOverlay.cpp result = eventHandler.handleMousePressEvent(event); event 296 Source/core/inspector/InspectorOverlay.cpp result = eventHandler.handleMouseReleaseEvent(event); event 306 Source/core/inspector/InspectorOverlay.cpp bool InspectorOverlay::handleTouchEvent(const PlatformTouchEvent& event) event 311 Source/core/inspector/InspectorOverlay.cpp return overlayPage()->mainFrame()->eventHandler().handleTouchEvent(event); event 314 Source/core/inspector/InspectorOverlay.cpp bool InspectorOverlay::handleKeyboardEvent(const PlatformKeyboardEvent& event) event 319 Source/core/inspector/InspectorOverlay.cpp return overlayPage()->mainFrame()->eventHandler().keyEvent(event); event 473 Source/core/inspector/InspectorTimelineAgent.cpp bool InspectorTimelineAgent::willDispatchEvent(Document* document, const Event& event, DOMWindow* window, Node* node, const EventPath& eventPath) event 475 Source/core/inspector/InspectorTimelineAgent.cpp if (!eventHasListeners(event.type(), window, node, eventPath)) event 478 Source/core/inspector/InspectorTimelineAgent.cpp pushCurrentRecord(TimelineRecordFactory::createEventDispatchData(event), TimelineRecordType::EventDispatch, false, document->frame()); event 482 Source/core/inspector/InspectorTimelineAgent.cpp bool InspectorTimelineAgent::willDispatchEventOnWindow(const Event& event, DOMWindow* window) event 484 Source/core/inspector/InspectorTimelineAgent.cpp if (!window->hasEventListeners(event.type())) event 486 Source/core/inspector/InspectorTimelineAgent.cpp pushCurrentRecord(TimelineRecordFactory::createEventDispatchData(event), TimelineRecordType::EventDispatch, false, window->frame()); event 918 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onBeginImplSideFrame(const TraceEventDispatcher::TraceEvent& event) event 920 Source/core/inspector/InspectorTimelineAgent.cpp unsigned long long layerTreeId = event.asUInt(InstrumentationEventArguments::LayerTreeId); event 923 Source/core/inspector/InspectorTimelineAgent.cpp TimelineThreadState& state = threadState(event.threadIdentifier()); event 924 Source/core/inspector/InspectorTimelineAgent.cpp state.recordStack.addInstantRecord(createRecordForEvent(event, TimelineRecordType::BeginFrame, JSONObject::create())); event 927 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onPaintSetupBegin(const TraceEventDispatcher::TraceEvent& event) event 930 Source/core/inspector/InspectorTimelineAgent.cpp m_paintSetupStart = event.timestamp() * msPerSecond; event 933 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onPaintSetupEnd(const TraceEventDispatcher::TraceEvent& event) event 936 Source/core/inspector/InspectorTimelineAgent.cpp m_paintSetupEnd = event.timestamp() * msPerSecond; event 939 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onRasterTaskBegin(const TraceEventDispatcher::TraceEvent& event) event 941 Source/core/inspector/InspectorTimelineAgent.cpp TimelineThreadState& state = threadState(event.threadIdentifier()); event 942 Source/core/inspector/InspectorTimelineAgent.cpp unsigned long long layerId = event.asUInt(InstrumentationEventArguments::LayerId); event 948 Source/core/inspector/InspectorTimelineAgent.cpp double timestamp = event.timestamp() * msPerSecond; event 950 Source/core/inspector/InspectorTimelineAgent.cpp RefPtr<TimelineEvent> record = TimelineRecordFactory::createBackgroundRecord(timestamp, String::number(event.threadIdentifier()), TimelineRecordType::Rasterize, data); event 954 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onRasterTaskEnd(const TraceEventDispatcher::TraceEvent& event) event 956 Source/core/inspector/InspectorTimelineAgent.cpp TimelineThreadState& state = threadState(event.threadIdentifier()); event 960 Source/core/inspector/InspectorTimelineAgent.cpp state.recordStack.closeScopedRecord(event.timestamp() * msPerSecond); event 964 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onImageDecodeBegin(const TraceEventDispatcher::TraceEvent& event) event 966 Source/core/inspector/InspectorTimelineAgent.cpp TimelineThreadState& state = threadState(event.threadIdentifier()); event 979 Source/core/inspector/InspectorTimelineAgent.cpp double timeestamp = event.timestamp() * msPerSecond; event 980 Source/core/inspector/InspectorTimelineAgent.cpp state.recordStack.addScopedRecord(TimelineRecordFactory::createBackgroundRecord(timeestamp, String::number(event.threadIdentifier()), TimelineRecordType::DecodeImage, data), TimelineRecordType::DecodeImage); event 983 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onImageDecodeEnd(const TraceEventDispatcher::TraceEvent& event) event 985 Source/core/inspector/InspectorTimelineAgent.cpp TimelineThreadState& state = threadState(event.threadIdentifier()); event 989 Source/core/inspector/InspectorTimelineAgent.cpp state.recordStack.closeScopedRecord(event.timestamp() * msPerSecond); event 992 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onRequestMainThreadFrame(const TraceEventDispatcher::TraceEvent& event) event 994 Source/core/inspector/InspectorTimelineAgent.cpp unsigned long long layerTreeId = event.asUInt(InstrumentationEventArguments::LayerTreeId); event 997 Source/core/inspector/InspectorTimelineAgent.cpp TimelineThreadState& state = threadState(event.threadIdentifier()); event 998 Source/core/inspector/InspectorTimelineAgent.cpp state.recordStack.addInstantRecord(createRecordForEvent(event, TimelineRecordType::RequestMainThreadFrame, JSONObject::create())); event 1001 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onActivateLayerTree(const TraceEventDispatcher::TraceEvent& event) event 1003 Source/core/inspector/InspectorTimelineAgent.cpp unsigned long long layerTreeId = event.asUInt(InstrumentationEventArguments::LayerTreeId); event 1006 Source/core/inspector/InspectorTimelineAgent.cpp unsigned long long frameId = event.asUInt(InstrumentationEventArguments::FrameId); event 1007 Source/core/inspector/InspectorTimelineAgent.cpp TimelineThreadState& state = threadState(event.threadIdentifier()); event 1008 Source/core/inspector/InspectorTimelineAgent.cpp state.recordStack.addInstantRecord(createRecordForEvent(event, TimelineRecordType::ActivateLayerTree, TimelineRecordFactory::createFrameData(frameId))); event 1011 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onDrawFrame(const TraceEventDispatcher::TraceEvent& event) event 1013 Source/core/inspector/InspectorTimelineAgent.cpp unsigned long long layerTreeId = event.asUInt(InstrumentationEventArguments::LayerTreeId); event 1016 Source/core/inspector/InspectorTimelineAgent.cpp TimelineThreadState& state = threadState(event.threadIdentifier()); event 1017 Source/core/inspector/InspectorTimelineAgent.cpp state.recordStack.addInstantRecord(createRecordForEvent(event, TimelineRecordType::DrawFrame, JSONObject::create())); event 1020 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onLayerDeleted(const TraceEventDispatcher::TraceEvent& event) event 1022 Source/core/inspector/InspectorTimelineAgent.cpp unsigned long long id = event.id(); event 1027 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onDecodeLazyPixelRefBegin(const TraceEventDispatcher::TraceEvent& event) event 1029 Source/core/inspector/InspectorTimelineAgent.cpp TimelineThreadState& state = threadState(event.threadIdentifier()); event 1031 Source/core/inspector/InspectorTimelineAgent.cpp unsigned long long pixelRefId = event.asUInt(PlatformInstrumentation::LazyPixelRef); event 1037 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onDecodeLazyPixelRefEnd(const TraceEventDispatcher::TraceEvent& event) event 1039 Source/core/inspector/InspectorTimelineAgent.cpp threadState(event.threadIdentifier()).decodedPixelRefId = 0; event 1042 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onDrawLazyPixelRef(const TraceEventDispatcher::TraceEvent& event) event 1044 Source/core/inspector/InspectorTimelineAgent.cpp unsigned long long pixelRefId = event.asUInt(PlatformInstrumentation::LazyPixelRef); event 1054 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onLazyPixelRefDeleted(const TraceEventDispatcher::TraceEvent& event) event 1056 Source/core/inspector/InspectorTimelineAgent.cpp m_pixelRefToImageInfo.remove(event.id()); event 1059 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::processGPUEvent(const GPUEvent& event) event 1061 Source/core/inspector/InspectorTimelineAgent.cpp double timelineTimestamp = event.timestamp * msPerSecond; event 1062 Source/core/inspector/InspectorTimelineAgent.cpp if (event.phase == GPUEvent::PhaseBegin) { event 1063 Source/core/inspector/InspectorTimelineAgent.cpp m_pendingGPURecord = TimelineRecordFactory::createBackgroundRecord(timelineTimestamp, "gpu", TimelineRecordType::GPUTask, TimelineRecordFactory::createGPUTaskData(event.foreign)); event 1066 Source/core/inspector/InspectorTimelineAgent.cpp if (!event.foreign && m_state->getBoolean(TimelineAgentState::includeCounters)) { event 1068 Source/core/inspector/InspectorTimelineAgent.cpp counters->setGpuMemoryUsedKB(static_cast<double>(event.usedGPUMemoryBytes / 1024)); event 1069 Source/core/inspector/InspectorTimelineAgent.cpp counters->setGpuMemoryLimitKB(static_cast<double>(event.limitGPUMemoryBytes / 1024)); event 1076 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onEmbedderCallbackBegin(const TraceEventDispatcher::TraceEvent& event) event 1078 Source/core/inspector/InspectorTimelineAgent.cpp TimelineThreadState& state = threadState(event.threadIdentifier()); event 1079 Source/core/inspector/InspectorTimelineAgent.cpp double timestamp = event.timestamp() * msPerSecond; event 1080 Source/core/inspector/InspectorTimelineAgent.cpp RefPtr<JSONObject> data = TimelineRecordFactory::createEmbedderCallbackData(event.asString(InstrumentationEventArguments::CallbackName)); event 1085 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::onEmbedderCallbackEnd(const TraceEventDispatcher::TraceEvent& event) event 1087 Source/core/inspector/InspectorTimelineAgent.cpp TimelineThreadState& state = threadState(event.threadIdentifier()); event 1088 Source/core/inspector/InspectorTimelineAgent.cpp state.recordStack.closeScopedRecord(event.timestamp() * msPerSecond); event 1310 Source/core/inspector/InspectorTimelineAgent.cpp PassRefPtr<TimelineEvent> InspectorTimelineAgent::createRecordForEvent(const TraceEventDispatcher::TraceEvent& event, const String& type, PassRefPtr<JSONObject> data) event 1312 Source/core/inspector/InspectorTimelineAgent.cpp double timeestamp = event.timestamp() * msPerSecond; event 1313 Source/core/inspector/InspectorTimelineAgent.cpp return TimelineRecordFactory::createBackgroundRecord(timeestamp, String::number(event.threadIdentifier()), type, data); event 145 Source/core/inspector/InspectorTimelineAgent.h bool willDispatchEvent(Document* document, const Event& event, DOMWindow* window, Node* node, const EventPath& eventPath); event 146 Source/core/inspector/InspectorTimelineAgent.h bool willDispatchEventOnWindow(const Event& event, DOMWindow* window); event 89 Source/core/inspector/TimelineRecordFactory.cpp PassRefPtr<JSONObject> TimelineRecordFactory::createEventDispatchData(const Event& event) event 92 Source/core/inspector/TimelineRecordFactory.cpp data->setString("type", event.type().string()); event 328 Source/core/inspector/TimelineRecordFactory.cpp String TimelineRecordFactory::type(TypeBuilder::Timeline::TimelineEvent* event) event 331 Source/core/inspector/TimelineRecordFactory.cpp event->type(&type); event 59 Source/core/inspector/TraceEventDispatcher.cpp void TraceEventDispatcher::enqueueEvent(const TraceEvent& event) event 64 Source/core/inspector/TraceEventDispatcher.cpp m_backgroundEvents.append(event); event 65 Source/core/inspector/TraceEventDispatcher.cpp if (m_processEventsTaskInFlight || event.timestamp() - m_lastEventProcessingTime <= eventProcessingThresholdInSeconds) event 91 Source/core/inspector/TraceEventDispatcher.cpp const TraceEvent& event = events[eventIndex]; event 92 Source/core/inspector/TraceEventDispatcher.cpp HandlersMap::iterator it = m_handlers.find(std::make_pair(event.name(), event.phase())); event 97 Source/core/inspector/TraceEventDispatcher.cpp (handlers[handlerIndex].instance->*(handlers[handlerIndex].method))(event); event 146 Source/core/loader/FormSubmission.cpp inline FormSubmission::FormSubmission(Method method, const KURL& action, const AtomicString& target, const AtomicString& contentType, PassRefPtr<FormState> state, PassRefPtr<FormData> data, const String& boundary, PassRefPtrWillBeRawPtr<Event> event) event 154 Source/core/loader/FormSubmission.cpp , m_event(event) event 164 Source/core/loader/FormSubmission.cpp PassRefPtr<FormSubmission> FormSubmission::create(HTMLFormElement* form, const Attributes& attributes, PassRefPtrWillBeRawPtr<Event> event, FormSubmissionTrigger trigger) event 169 Source/core/loader/FormSubmission.cpp if (event && event->target()) { event 170 Source/core/loader/FormSubmission.cpp for (Node* node = event->target()->toNode(); node; node = node->parentOrShadowHostNode()) { event 247 Source/core/loader/FormSubmission.cpp return adoptRef(new FormSubmission(copiedAttributes.method(), actionURL, targetOrBaseTarget, encodingType, formState.release(), formData.release(), boundary, event)); event 108 Source/core/loader/FormSubmission.h Event* event() const { return m_event.get(); } event 61 Source/core/loader/NavigationAction.cpp RefPtrWillBeRawPtr<Event> event = passEvent; event 62 Source/core/loader/NavigationAction.cpp m_type = navigationType(frameLoadType, isFormSubmission || resourceRequest.httpBody(), event); event 63 Source/core/loader/NavigationAction.cpp m_eventTimeStamp = event ? event->timeStamp() : 0; event 67 Source/core/loader/NavigationAction.cpp ASSERT(event); event 68 Source/core/loader/NavigationAction.cpp if (event->isMouseEvent()) event 69 Source/core/loader/NavigationAction.cpp mouseEvent = toMouseEvent(event.get()); event 70 Source/core/loader/NavigationAction.cpp } else if (m_type == NavigationTypeFormSubmitted && event && event->underlyingEvent() && event->underlyingEvent()->isMouseEvent()) { event 71 Source/core/loader/NavigationAction.cpp mouseEvent = toMouseEvent(event->underlyingEvent()); event 215 Source/core/loader/NavigationScheduler.cpp frameRequest.setTriggeringEvent(m_submission->event()); event 44 Source/core/loader/WorkerLoaderClientBridgeSyncHelper.cpp PassOwnPtr<WorkerLoaderClientBridgeSyncHelper> WorkerLoaderClientBridgeSyncHelper::create(ThreadableLoaderClient& client, PassOwnPtr<blink::WebWaitableEvent> event) event 46 Source/core/loader/WorkerLoaderClientBridgeSyncHelper.cpp return adoptPtr(new WorkerLoaderClientBridgeSyncHelper(client, event)); event 138 Source/core/loader/WorkerLoaderClientBridgeSyncHelper.cpp WorkerLoaderClientBridgeSyncHelper::WorkerLoaderClientBridgeSyncHelper(ThreadableLoaderClient& client, PassOwnPtr<blink::WebWaitableEvent> event) event 141 Source/core/loader/WorkerLoaderClientBridgeSyncHelper.cpp , m_event(event) event 219 Source/core/loader/appcache/ApplicationCacheHost.cpp RefPtrWillBeRawPtr<Event> event = nullptr; event 221 Source/core/loader/appcache/ApplicationCacheHost.cpp event = ProgressEvent::create(eventType, true, progressDone, progressTotal); event 223 Source/core/loader/appcache/ApplicationCacheHost.cpp event = ApplicationCacheErrorEvent::create(errorReason, errorURL, errorStatus, errorMessage); event 225 Source/core/loader/appcache/ApplicationCacheHost.cpp event = Event::create(eventType); event 226 Source/core/loader/appcache/ApplicationCacheHost.cpp m_domApplicationCache->dispatchEvent(event, ASSERT_NO_EXCEPTION); event 77 Source/core/page/ContextMenuController.cpp void ContextMenuController::handleContextMenuEvent(Event* event) event 79 Source/core/page/ContextMenuController.cpp m_contextMenu = createContextMenu(event); event 83 Source/core/page/ContextMenuController.cpp showContextMenu(event); event 86 Source/core/page/ContextMenuController.cpp void ContextMenuController::showContextMenu(Event* event, PassRefPtr<ContextMenuProvider> menuProvider) event 90 Source/core/page/ContextMenuController.cpp m_contextMenu = createContextMenu(event); event 97 Source/core/page/ContextMenuController.cpp showContextMenu(event); event 100 Source/core/page/ContextMenuController.cpp PassOwnPtr<ContextMenu> ContextMenuController::createContextMenu(Event* event) event 102 Source/core/page/ContextMenuController.cpp ASSERT(event); event 104 Source/core/page/ContextMenuController.cpp if (!event->isMouseEvent()) event 107 Source/core/page/ContextMenuController.cpp MouseEvent* mouseEvent = toMouseEvent(event); event 110 Source/core/page/ContextMenuController.cpp if (LocalFrame* frame = event->target()->toNode()->document().frame()) event 121 Source/core/page/ContextMenuController.cpp void ContextMenuController::showContextMenu(Event* event) event 124 Source/core/page/ContextMenuController.cpp event->setDefaultHandled(); event 603 Source/core/page/DragController.cpp PlatformMouseEvent event = createMouseEvent(dragData); event 604 Source/core/page/DragController.cpp if (!mainFrame->eventHandler().updateDragAndDrop(event, clipboard.get())) { event 182 Source/core/page/EventHandler.cpp explicit SyntheticTouchPoint(const PlatformMouseEvent& event) event 191 Source/core/page/EventHandler.cpp m_screenPos = event.globalPosition(); event 192 Source/core/page/EventHandler.cpp m_pos = event.position(); event 198 Source/core/page/EventHandler.cpp PlatformEvent::Type type = event.type(); event 220 Source/core/page/EventHandler.cpp explicit SyntheticSingleTouchEvent(const PlatformMouseEvent& event) event 222 Source/core/page/EventHandler.cpp switch (event.type()) { event 237 Source/core/page/EventHandler.cpp m_timestamp = event.timestamp(); event 238 Source/core/page/EventHandler.cpp m_modifiers = event.modifiers(); event 239 Source/core/page/EventHandler.cpp m_touchPoints.append(SyntheticTouchPoint(event)); event 473 Source/core/page/EventHandler.cpp (result.event().clickCount() == 2 && m_frame->editor().isSelectTrailingWhitespaceEnabled()) ? ShouldAppendTrailingWhitespace : DontAppendTrailingWhitespace); event 481 Source/core/page/EventHandler.cpp (result.event().clickCount() == 2 && m_frame->editor().isSelectTrailingWhitespaceEnabled()) ? ShouldAppendTrailingWhitespace : DontAppendTrailingWhitespace); event 503 Source/core/page/EventHandler.cpp bool EventHandler::handleMousePressEventDoubleClick(const MouseEventWithHitTestResults& event) event 507 Source/core/page/EventHandler.cpp if (event.event().button() != LeftButton) event 518 Source/core/page/EventHandler.cpp selectClosestWordFromMouseEvent(event); event 523 Source/core/page/EventHandler.cpp bool EventHandler::handleMousePressEventTripleClick(const MouseEventWithHitTestResults& event) event 527 Source/core/page/EventHandler.cpp if (event.event().button() != LeftButton) event 530 Source/core/page/EventHandler.cpp Node* innerNode = event.targetNode(); event 535 Source/core/page/EventHandler.cpp VisiblePosition pos(innerNode->renderer()->positionForPoint(event.localPoint())); event 550 Source/core/page/EventHandler.cpp bool EventHandler::handleMousePressEventSingleClick(const MouseEventWithHitTestResults& event) event 555 Source/core/page/EventHandler.cpp Node* innerNode = event.targetNode(); event 560 Source/core/page/EventHandler.cpp bool extendSelection = event.event().shiftKey() && !event.isOverLink(); event 565 Source/core/page/EventHandler.cpp LayoutPoint vPoint = view->windowToContents(event.event().position()); event 572 Source/core/page/EventHandler.cpp VisiblePosition visiblePos(innerNode->renderer()->positionForPoint(event.localPoint())); event 628 Source/core/page/EventHandler.cpp bool EventHandler::handleMousePressEvent(const MouseEventWithHitTestResults& event) event 640 Source/core/page/EventHandler.cpp if (scrollView->isPointInScrollbarCorner(event.event().position())) event 644 Source/core/page/EventHandler.cpp bool singleClick = event.event().clickCount() <= 1; event 648 Source/core/page/EventHandler.cpp m_mouseDownMayStartSelect = canMouseDownStartSelect(event.targetNode()) && !event.scrollbar(); event 654 Source/core/page/EventHandler.cpp m_mouseDown = event.event(); event 656 Source/core/page/EventHandler.cpp if (event.isOverWidget() && passWidgetMouseDownEventToWidget(event)) event 661 Source/core/page/EventHandler.cpp if (event.event().shiftKey() && singleClick) { event 663 Source/core/page/EventHandler.cpp toSVGDocument(m_frame->document())->startPan(m_frame->view()->windowToContents(event.event().position())); event 673 Source/core/page/EventHandler.cpp Node* innerNode = event.targetNode(); event 676 Source/core/page/EventHandler.cpp m_dragStartPos = event.event().position(); event 682 Source/core/page/EventHandler.cpp if (event.event().clickCount() == 2) event 683 Source/core/page/EventHandler.cpp swallowEvent = handleMousePressEventDoubleClick(event); event 684 Source/core/page/EventHandler.cpp else if (event.event().clickCount() >= 3) event 685 Source/core/page/EventHandler.cpp swallowEvent = handleMousePressEventTripleClick(event); event 687 Source/core/page/EventHandler.cpp swallowEvent = handleMousePressEventSingleClick(event); event 695 Source/core/page/EventHandler.cpp bool EventHandler::handleMouseDraggedEvent(const MouseEventWithHitTestResults& event) event 702 Source/core/page/EventHandler.cpp if (handleDrag(event, ShouldCheckDragHysteresis)) event 705 Source/core/page/EventHandler.cpp Node* targetNode = event.targetNode(); event 706 Source/core/page/EventHandler.cpp if (event.event().button() != LeftButton || !targetNode) event 736 Source/core/page/EventHandler.cpp updateSelectionForMouseDrag(event.hitTestResult()); event 819 Source/core/page/EventHandler.cpp bool EventHandler::handleMouseReleaseEvent(const MouseEventWithHitTestResults& event) event 841 Source/core/page/EventHandler.cpp && m_dragStartPos == event.event().position() event 843 Source/core/page/EventHandler.cpp && event.event().button() != RightButton) { event 845 Source/core/page/EventHandler.cpp Node* node = event.targetNode(); event 848 Source/core/page/EventHandler.cpp VisiblePosition pos = VisiblePosition(node->renderer()->positionForPoint(event.localPoint())); event 861 Source/core/page/EventHandler.cpp if (event.event().button() == MiddleButton && !event.isOverLink()) { event 863 Source/core/page/EventHandler.cpp handled = handlePasteGlobalSelection(event.event()) || handled; event 1459 Source/core/page/EventHandler.cpp bool EventHandler::handleMouseMoveEvent(const PlatformMouseEvent& event) event 1467 Source/core/page/EventHandler.cpp bool result = handleMouseMoveOrLeaveEvent(event, &hoveredNode); event 1482 Source/core/page/EventHandler.cpp page->chrome().mouseDidMoveOverElement(hoveredNode, event.modifierFlags()); event 1488 Source/core/page/EventHandler.cpp void EventHandler::handleMouseLeaveEvent(const PlatformMouseEvent& event) event 1493 Source/core/page/EventHandler.cpp handleMouseMoveOrLeaveEvent(event); event 1744 Source/core/page/EventHandler.cpp bool EventHandler::dispatchDragEvent(const AtomicString& eventType, Node* dragTarget, const PlatformMouseEvent& event, Clipboard* clipboard) event 1754 Source/core/page/EventHandler.cpp 0, event.globalPosition().x(), event.globalPosition().y(), event.position().x(), event.position().y(), event 1755 Source/core/page/EventHandler.cpp event.movementDelta().x(), event.movementDelta().y(), event 1756 Source/core/page/EventHandler.cpp event.ctrlKey(), event.altKey(), event.shiftKey(), event.metaKey(), event 1812 Source/core/page/EventHandler.cpp bool EventHandler::updateDragAndDrop(const PlatformMouseEvent& event, Clipboard* clipboard) event 1820 Source/core/page/EventHandler.cpp MouseEventWithHitTestResults mev = prepareMouseEvent(request, event); event 1828 Source/core/page/EventHandler.cpp controller->updateDragAndDrop(newTarget.get(), event.position(), event.timestamp()); event 1839 Source/core/page/EventHandler.cpp accept = targetFrame->eventHandler().updateDragAndDrop(event, clipboard); event 1844 Source/core/page/EventHandler.cpp dispatchDragSrcEvent(EventTypeNames::drag, event); event 1846 Source/core/page/EventHandler.cpp accept = dispatchDragEvent(EventTypeNames::dragenter, newTarget.get(), event, clipboard); event 1853 Source/core/page/EventHandler.cpp accept = targetFrame->eventHandler().updateDragAndDrop(event, clipboard); event 1855 Source/core/page/EventHandler.cpp dispatchDragEvent(EventTypeNames::dragleave, m_dragTarget.get(), event, clipboard); event 1866 Source/core/page/EventHandler.cpp accept = targetFrame->eventHandler().updateDragAndDrop(event, clipboard); event 1871 Source/core/page/EventHandler.cpp dispatchDragSrcEvent(EventTypeNames::drag, event); event 1873 Source/core/page/EventHandler.cpp accept = dispatchDragEvent(EventTypeNames::dragover, newTarget.get(), event, clipboard); event 1884 Source/core/page/EventHandler.cpp void EventHandler::cancelDragAndDrop(const PlatformMouseEvent& event, Clipboard* clipboard) event 1889 Source/core/page/EventHandler.cpp targetFrame->eventHandler().cancelDragAndDrop(event, clipboard); event 1892 Source/core/page/EventHandler.cpp dispatchDragSrcEvent(EventTypeNames::drag, event); event 1893 Source/core/page/EventHandler.cpp dispatchDragEvent(EventTypeNames::dragleave, m_dragTarget.get(), event, clipboard); event 1898 Source/core/page/EventHandler.cpp bool EventHandler::performDragAndDrop(const PlatformMouseEvent& event, Clipboard* clipboard) event 1904 Source/core/page/EventHandler.cpp preventedDefault = targetFrame->eventHandler().performDragAndDrop(event, clipboard); event 1906 Source/core/page/EventHandler.cpp preventedDefault = dispatchDragEvent(EventTypeNames::drop, m_dragTarget.get(), event, clipboard); event 2124 Source/core/page/EventHandler.cpp bool EventHandler::shouldTurnVerticalTicksIntoHorizontal(const HitTestResult& result, const PlatformWheelEvent& event) const event 2132 Source/core/page/EventHandler.cpp return !event.hasPreciseScrollingDeltas() && result.scrollbar() && result.scrollbar()->orientation() == HorizontalScrollbar; event 2190 Source/core/page/EventHandler.cpp PlatformWheelEvent event = e; event 2192 Source/core/page/EventHandler.cpp event = event.copyTurningVerticalTicksIntoHorizontalTicks(); event 2204 Source/core/page/EventHandler.cpp if (node && !node->dispatchWheelEvent(event)) event 2210 Source/core/page/EventHandler.cpp if (!view || !view->wheelEvent(event)) event 2692 Source/core/page/EventHandler.cpp bool EventHandler::shouldApplyTouchAdjustment(const PlatformGestureEvent& event) const event 2696 Source/core/page/EventHandler.cpp return !event.area().isEmpty(); event 2778 Source/core/page/EventHandler.cpp bool EventHandler::sendContextMenuEvent(const PlatformMouseEvent& event) event 2788 Source/core/page/EventHandler.cpp LayoutPoint viewportPos = v->windowToContents(event.position()); event 2790 Source/core/page/EventHandler.cpp MouseEventWithHitTestResults mev = doc->prepareMouseEvent(request, viewportPos, event); event 2806 Source/core/page/EventHandler.cpp swallowEvent = !dispatchMouseEvent(EventTypeNames::contextmenu, mev.targetNode(), true, 0, event, false); event 2888 Source/core/page/EventHandler.cpp bool EventHandler::sendContextMenuEventForGesture(const PlatformGestureEvent& event) event 2896 Source/core/page/EventHandler.cpp IntPoint adjustedPoint = event.position(); event 2897 Source/core/page/EventHandler.cpp adjustGesturePosition(event, adjustedPoint); event 2898 Source/core/page/EventHandler.cpp PlatformMouseEvent mouseEvent(adjustedPoint, event.globalPosition(), RightButton, eventType, 1, false, false, false, false, WTF::currentTime()); event 3190 Source/core/page/EventHandler.cpp void EventHandler::defaultKeyboardEventHandler(KeyboardEvent* event) event 3192 Source/core/page/EventHandler.cpp if (event->type() == EventTypeNames::keydown) { event 3193 Source/core/page/EventHandler.cpp m_frame->editor().handleKeyboardEvent(event); event 3194 Source/core/page/EventHandler.cpp if (event->defaultHandled()) event 3196 Source/core/page/EventHandler.cpp if (event->keyIdentifier() == "U+0009") event 3197 Source/core/page/EventHandler.cpp defaultTabEventHandler(event); event 3198 Source/core/page/EventHandler.cpp else if (event->keyIdentifier() == "U+0008") event 3199 Source/core/page/EventHandler.cpp defaultBackspaceEventHandler(event); event 3200 Source/core/page/EventHandler.cpp else if (event->keyIdentifier() == "U+001B") event 3201 Source/core/page/EventHandler.cpp defaultEscapeEventHandler(event); event 3203 Source/core/page/EventHandler.cpp FocusType type = focusDirectionForKey(AtomicString(event->keyIdentifier())); event 3205 Source/core/page/EventHandler.cpp defaultArrowEventHandler(type, event); event 3208 Source/core/page/EventHandler.cpp if (event->type() == EventTypeNames::keypress) { event 3209 Source/core/page/EventHandler.cpp m_frame->editor().handleKeyboardEvent(event); event 3210 Source/core/page/EventHandler.cpp if (event->defaultHandled()) event 3212 Source/core/page/EventHandler.cpp if (event->charCode() == ' ') event 3213 Source/core/page/EventHandler.cpp defaultSpaceEventHandler(event); event 3257 Source/core/page/EventHandler.cpp void EventHandler::dragSourceEndedAt(const PlatformMouseEvent& event, DragOperation operation) event 3261 Source/core/page/EventHandler.cpp prepareMouseEvent(request, event); event 3266 Source/core/page/EventHandler.cpp dispatchDragSrcEvent(EventTypeNames::dragend, event); event 3283 Source/core/page/EventHandler.cpp bool EventHandler::dispatchDragSrcEvent(const AtomicString& eventType, const PlatformMouseEvent& event) event 3285 Source/core/page/EventHandler.cpp return !dispatchDragEvent(eventType, dragState().m_dragSrc.get(), event, dragState().m_dragClipboard.get()); event 3288 Source/core/page/EventHandler.cpp bool EventHandler::handleDrag(const MouseEventWithHitTestResults& event, CheckDragHysteresis checkDragHysteresis) event 3290 Source/core/page/EventHandler.cpp ASSERT(event.event().type() == PlatformEvent::MouseMoved); event 3298 Source/core/page/EventHandler.cpp if (event.event().button() != LeftButton || event.event().type() != PlatformEvent::MouseMoved) { event 3313 Source/core/page/EventHandler.cpp DragController::SelectionDragPolicy selectionDragPolicy = event.event().timestamp() - m_mouseDownTimestamp < TextDragDelay event 3332 Source/core/page/EventHandler.cpp if (checkDragHysteresis == ShouldCheckDragHysteresis && !dragHysteresisExceeded(event.event().position())) event 3338 Source/core/page/EventHandler.cpp if (!tryStartDrag(event)) { event 3349 Source/core/page/EventHandler.cpp bool EventHandler::tryStartDrag(const MouseEventWithHitTestResults& event) event 3382 Source/core/page/EventHandler.cpp m_didStartDrag = m_frame->page() && dragController.startDrag(m_frame, dragState(), event.event(), m_mouseDownPos); event 3389 Source/core/page/EventHandler.cpp dispatchDragSrcEvent(EventTypeNames::dragend, event.event()); event 3412 Source/core/page/EventHandler.cpp RefPtrWillBeRawPtr<TextEvent> event = TextEvent::create(m_frame->domWindow(), text, inputType); event 3413 Source/core/page/EventHandler.cpp event->setUnderlyingEvent(underlyingEvent); event 3415 Source/core/page/EventHandler.cpp target->dispatchEvent(event, IGNORE_EXCEPTION); event 3416 Source/core/page/EventHandler.cpp return event->defaultHandled(); event 3419 Source/core/page/EventHandler.cpp void EventHandler::defaultTextInputEventHandler(TextEvent* event) event 3421 Source/core/page/EventHandler.cpp if (m_frame->editor().handleTextEvent(event)) event 3422 Source/core/page/EventHandler.cpp event->setDefaultHandled(); event 3425 Source/core/page/EventHandler.cpp void EventHandler::defaultSpaceEventHandler(KeyboardEvent* event) event 3427 Source/core/page/EventHandler.cpp ASSERT(event->type() == EventTypeNames::keypress); event 3429 Source/core/page/EventHandler.cpp if (event->ctrlKey() || event->metaKey() || event->altKey() || event->altGraphKey()) event 3432 Source/core/page/EventHandler.cpp ScrollDirection direction = event->shiftKey() ? ScrollBlockDirectionBackward : ScrollBlockDirectionForward; event 3434 Source/core/page/EventHandler.cpp event->setDefaultHandled(); event 3443 Source/core/page/EventHandler.cpp event->setDefaultHandled(); event 3446 Source/core/page/EventHandler.cpp void EventHandler::defaultBackspaceEventHandler(KeyboardEvent* event) event 3448 Source/core/page/EventHandler.cpp ASSERT(event->type() == EventTypeNames::keydown); event 3450 Source/core/page/EventHandler.cpp if (event->ctrlKey() || event->metaKey() || event->altKey() || event->altGraphKey()) event 3459 Source/core/page/EventHandler.cpp bool handledEvent = page->mainFrame()->loader().client()->navigateBackForward(event->shiftKey() ? 1 : -1); event 3461 Source/core/page/EventHandler.cpp event->setDefaultHandled(); event 3464 Source/core/page/EventHandler.cpp void EventHandler::defaultArrowEventHandler(FocusType focusType, KeyboardEvent* event) event 3466 Source/core/page/EventHandler.cpp ASSERT(event->type() == EventTypeNames::keydown); event 3468 Source/core/page/EventHandler.cpp if (event->ctrlKey() || event->metaKey() || event->altGraphKey() || event->shiftKey()) event 3484 Source/core/page/EventHandler.cpp event->setDefaultHandled(); event 3487 Source/core/page/EventHandler.cpp void EventHandler::defaultTabEventHandler(KeyboardEvent* event) event 3489 Source/core/page/EventHandler.cpp ASSERT(event->type() == EventTypeNames::keydown); event 3492 Source/core/page/EventHandler.cpp if (event->ctrlKey() || event->metaKey() || event->altGraphKey()) event 3501 Source/core/page/EventHandler.cpp FocusType focusType = event->shiftKey() ? FocusTypeBackward : FocusTypeForward; event 3508 Source/core/page/EventHandler.cpp event->setDefaultHandled(); event 3511 Source/core/page/EventHandler.cpp void EventHandler::defaultEscapeEventHandler(KeyboardEvent* event) event 3538 Source/core/page/EventHandler.cpp scrollbar->mouseDown(mev.event()); event 3593 Source/core/page/EventHandler.cpp bool EventHandler::handleTouchEvent(const PlatformTouchEvent& event) event 3618 Source/core/page/EventHandler.cpp const Vector<PlatformTouchPoint>& points = event.touchPoints(); event 3790 Source/core/page/EventHandler.cpp 0, 0, 0, 0, event.ctrlKey(), event.altKey(), event.shiftKey(), event.metaKey()); event 3799 Source/core/page/EventHandler.cpp bool EventHandler::dispatchSyntheticTouchEventIfEnabled(const PlatformMouseEvent& event) event 3804 Source/core/page/EventHandler.cpp PlatformEvent::Type eventType = event.type(); event 3809 Source/core/page/EventHandler.cpp MouseEventWithHitTestResults mev = prepareMouseEvent(request, event); event 3814 Source/core/page/EventHandler.cpp if (eventType == PlatformEvent::MouseMoved && event.button() == NoButton) event 3817 Source/core/page/EventHandler.cpp SyntheticSingleTouchEvent touchEvent(event); event 3821 Source/core/page/EventHandler.cpp return handleMouseEventAsEmulatedGesture(event); event 3824 Source/core/page/EventHandler.cpp bool EventHandler::handleMouseEventAsEmulatedGesture(const PlatformMouseEvent& event) event 3826 Source/core/page/EventHandler.cpp PlatformEvent::Type eventType = event.type(); event 3827 Source/core/page/EventHandler.cpp if (event.button() != LeftButton || !m_frame->isMainFrame()) event 3831 Source/core/page/EventHandler.cpp const IntPoint& position = event.position(); event 3835 Source/core/page/EventHandler.cpp if (event.shiftKey()) { event 3893 Source/core/page/EventHandler.cpp bool EventHandler::handleWheelEventAsEmulatedGesture(const PlatformWheelEvent& event) event 3899 Source/core/page/EventHandler.cpp if (!event.shiftKey() || !event.deltaY()) event 3905 Source/core/page/EventHandler.cpp IntPoint anchorBeforeCss(view->scrollPosition() + event.position()); event 3906 Source/core/page/EventHandler.cpp IntPoint anchorBeforeDip(event.position()); event 3909 Source/core/page/EventHandler.cpp float magnifyDelta = exp(event.deltaY() * 0.002f); event 3967 Source/core/page/EventHandler.cpp void EventHandler::setLastKnownMousePosition(const PlatformMouseEvent& event) event 3970 Source/core/page/EventHandler.cpp m_lastKnownMousePosition = event.position(); event 3971 Source/core/page/EventHandler.cpp m_lastKnownMouseGlobalPosition = event.globalPosition(); event 3980 Source/core/page/EventHandler.cpp IntPoint p = m_frame->view()->windowToContents(mev.event().position()); event 3988 Source/core/page/EventHandler.cpp subframe->eventHandler().handleMousePressEvent(mev.event()); event 3996 Source/core/page/EventHandler.cpp subframe->eventHandler().handleMouseMoveOrLeaveEvent(mev.event(), hoveredNode); event 4002 Source/core/page/EventHandler.cpp subframe->eventHandler().handleMouseReleaseEvent(mev.event()); event 4021 Source/core/page/EventHandler.cpp bool EventHandler::passWidgetMouseDownEventToWidget(const MouseEventWithHitTestResults& event) event 4024 Source/core/page/EventHandler.cpp if (!event.targetNode() || !event.targetNode()->renderer() || !event.targetNode()->renderer()->isWidget()) event 429 Source/core/page/EventSource.cpp RefPtrWillBeRawPtr<MessageEvent> event = MessageEvent::create(); event 430 Source/core/page/EventSource.cpp event->initMessageEvent(m_eventName.isEmpty() ? EventTypeNames::message : m_eventName, false, false, SerializedScriptValue::create(String(m_data)), m_eventStreamOrigin, m_lastEventId, 0, nullptr); event 432 Source/core/page/EventSource.cpp return event.release(); event 29 Source/core/page/MouseEventWithHitTestResults.cpp MouseEventWithHitTestResults::MouseEventWithHitTestResults(const PlatformMouseEvent& event, const HitTestResult& hitTestResult) event 30 Source/core/page/MouseEventWithHitTestResults.cpp : m_event(event) event 35 Source/core/page/MouseEventWithHitTestResults.h const PlatformMouseEvent& event() const { return m_event; } event 131 Source/core/page/PointerLockController.cpp void PointerLockController::dispatchLockedMouseEvent(const PlatformMouseEvent& event, const AtomicString& eventType) event 136 Source/core/page/PointerLockController.cpp m_element->dispatchMouseEvent(event, eventType, event.clickCount()); event 140 Source/core/page/PointerLockController.cpp m_element->dispatchMouseEvent(event, EventTypeNames::click, event.clickCount()); event 143 Source/core/rendering/RenderBlock.cpp RefPtrWillBeRawPtr<OverflowEvent> event = OverflowEvent::create(horizontalLayoutOverflowChanged, hasHorizontalLayoutOverflow, verticalLayoutOverflowChanged, hasVerticalLayoutOverflow); event 144 Source/core/rendering/RenderBlock.cpp event->setTarget(m_block->node()); event 145 Source/core/rendering/RenderBlock.cpp m_block->document().enqueueAnimationFrameEvent(event.release()); event 46 Source/core/rendering/RenderScrollbarTheme.h virtual bool shouldCenterOnThumb(ScrollbarThemeClient* scrollbar, const PlatformMouseEvent& event) OVERRIDE { return ScrollbarTheme::theme()->shouldCenterOnThumb(scrollbar, event); } event 47 Source/core/rendering/RenderScrollbarTheme.h virtual bool shouldSnapBackToDragOrigin(ScrollbarThemeClient* scrollbar, const PlatformMouseEvent& event) OVERRIDE { return ScrollbarTheme::theme()->shouldSnapBackToDragOrigin(scrollbar, event); } event 138 Source/core/svg/SVGAElement.cpp void SVGAElement::defaultEventHandler(Event* event) event 141 Source/core/svg/SVGAElement.cpp if (focused() && isEnterKeyKeydownEvent(event)) { event 142 Source/core/svg/SVGAElement.cpp event->setDefaultHandled(); event 143 Source/core/svg/SVGAElement.cpp dispatchSimulatedClick(event); event 147 Source/core/svg/SVGAElement.cpp if (isLinkClick(event)) { event 154 Source/core/svg/SVGAElement.cpp event->setDefaultHandled(); event 165 Source/core/svg/SVGAElement.cpp event->setDefaultHandled(); event 171 Source/core/svg/SVGAElement.cpp frameRequest.setTriggeringEvent(event); event 177 Source/core/svg/SVGAElement.cpp SVGGraphicsElement::defaultEventHandler(event); event 54 Source/core/svg/SVGDocument.cpp RefPtrWillBeRawPtr<SVGZoomEvent> event = SVGZoomEvent::create(); event 55 Source/core/svg/SVGDocument.cpp event->initEvent(EventTypeNames::zoom, true, false); event 56 Source/core/svg/SVGDocument.cpp event->setPreviousScale(prevScale); event 57 Source/core/svg/SVGDocument.cpp event->setNewScale(newScale); event 58 Source/core/svg/SVGDocument.cpp rootElement()->dispatchEvent(event.release(), IGNORE_EXCEPTION); event 63 Source/core/svg/SVGDocument.cpp RefPtrWillBeRawPtr<Event> event = Event::create(); event 64 Source/core/svg/SVGDocument.cpp event->initEvent(EventTypeNames::scroll, true, false); event 65 Source/core/svg/SVGDocument.cpp rootElement()->dispatchEvent(event.release(), IGNORE_EXCEPTION); event 237 Source/core/svg/SVGElementInstance.cpp bool SVGElementInstance::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 243 Source/core/svg/SVGElementInstance.cpp return element->dispatchEvent(event); event 77 Source/core/svg/animation/SVGSMILElement.cpp inline RepeatEvent* toRepeatEvent(Event* event) event 79 Source/core/svg/animation/SVGSMILElement.cpp ASSERT_WITH_SECURITY_IMPLICATION(!event || event->type() == "repeatn"); event 80 Source/core/svg/animation/SVGSMILElement.cpp return static_cast<RepeatEvent*>(event); event 152 Source/core/svg/animation/SVGSMILElement.cpp void ConditionEventListener::handleEvent(ExecutionContext*, Event* event) event 156 Source/core/svg/animation/SVGSMILElement.cpp m_animation->handleConditionEvent(event, m_condition); event 1289 Source/core/svg/animation/SVGSMILElement.cpp void SVGSMILElement::handleConditionEvent(Event* event, Condition* condition) event 1291 Source/core/svg/animation/SVGSMILElement.cpp if (event->type() == "repeatn" && toRepeatEvent(event)->repeat() != condition->m_repeat) event 47 Source/core/workers/SharedWorkerGlobalScope.cpp RefPtrWillBeRawPtr<MessageEvent> event = MessageEvent::create(adoptPtr(new MessagePortArray(1, port)), String(), String(), port); event 48 Source/core/workers/SharedWorkerGlobalScope.cpp event->initEvent(EventTypeNames::connect, false, false); event 49 Source/core/workers/SharedWorkerGlobalScope.cpp return event.release(); event 54 Source/core/workers/WorkerEventQueue.cpp static PassOwnPtr<EventDispatcherTask> create(PassRefPtrWillBeRawPtr<Event> event, WorkerEventQueue* eventQueue) event 56 Source/core/workers/WorkerEventQueue.cpp return adoptPtr(new EventDispatcherTask(event, eventQueue)); event 65 Source/core/workers/WorkerEventQueue.cpp void dispatchEvent(ExecutionContext*, PassRefPtrWillBeRawPtr<Event> event) event 67 Source/core/workers/WorkerEventQueue.cpp event->target()->dispatchEvent(event); event 86 Source/core/workers/WorkerEventQueue.cpp EventDispatcherTask(PassRefPtrWillBeRawPtr<Event> event, WorkerEventQueue* eventQueue) event 87 Source/core/workers/WorkerEventQueue.cpp : m_event(event) event 98 Source/core/workers/WorkerEventQueue.cpp void WorkerEventQueue::removeEvent(Event* event) event 100 Source/core/workers/WorkerEventQueue.cpp m_eventTaskMap.remove(event); event 107 Source/core/workers/WorkerEventQueue.cpp RefPtrWillBeRawPtr<Event> event = prpEvent; event 108 Source/core/workers/WorkerEventQueue.cpp OwnPtr<EventDispatcherTask> task = EventDispatcherTask::create(event, this); event 109 Source/core/workers/WorkerEventQueue.cpp m_eventTaskMap.add(event.release(), task.get()); event 114 Source/core/workers/WorkerEventQueue.cpp bool WorkerEventQueue::cancelEvent(Event* event) event 116 Source/core/workers/WorkerEventQueue.cpp EventDispatcherTask* task = m_eventTaskMap.get(event); event 120 Source/core/workers/WorkerEventQueue.cpp removeEvent(event); event 169 Source/core/workers/WorkerMessagingProxy.cpp RefPtrWillBeRawPtr<ErrorEvent> event = ErrorEvent::create(errorMessage, sourceURL, lineNumber, columnNumber, 0); event 170 Source/core/workers/WorkerMessagingProxy.cpp bool errorHandled = !m_workerObject->dispatchEvent(event); event 172 Source/core/workers/WorkerMessagingProxy.cpp m_executionContext->reportException(event, nullptr, NotSharableCrossOrigin); event 78 Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp void XMLHttpRequestProgressEventThrottle::dispatchReadyStateChangeEvent(PassRefPtrWillBeRawPtr<Event> event, ProgressEventAction progressEventAction) event 85 Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp dispatchEvent(event); event 88 Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp void XMLHttpRequestProgressEventThrottle::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 90 Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp ASSERT(event); event 92 Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp if (m_deferredEvents.size() > 1 && event->type() == EventTypeNames::readystatechange && event->type() == m_deferredEvents.last()->type()) { event 96 Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp m_deferredEvents.append(event); event 98 Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp m_target->dispatchEvent(event); event 125 Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp RefPtrWillBeRawPtr<Event> event = XMLHttpRequestProgressEvent::create(EventTypeNames::progress, m_lengthComputable, m_loaded, m_total); event 132 Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp dispatchEvent(event); event 63 Source/modules/battery/BatteryManager.cpp void BatteryManager::didChangeBatteryStatus(PassRefPtrWillBeRawPtr<Event> event, PassOwnPtr<BatteryStatus> batteryStatus) event 68 Source/modules/battery/BatteryManager.cpp dispatchEvent(event); event 90 Source/modules/device_orientation/DeviceMotionController.cpp bool DeviceMotionController::isNullEvent(Event* event) event 92 Source/modules/device_orientation/DeviceMotionController.cpp DeviceMotionEvent* motionEvent = toDeviceMotionEvent(event); event 73 Source/modules/device_orientation/DeviceMotionEvent.h DEFINE_TYPE_CASTS(DeviceMotionEvent, Event, event, event->interfaceName() == EventNames::DeviceMotionEvent, event.interfaceName() == EventNames::DeviceMotionEvent); event 97 Source/modules/device_orientation/DeviceOrientationController.cpp bool DeviceOrientationController::isNullEvent(Event* event) event 99 Source/modules/device_orientation/DeviceOrientationController.cpp DeviceOrientationEvent* orientationEvent = toDeviceOrientationEvent(event); event 68 Source/modules/device_orientation/DeviceOrientationEvent.h DEFINE_TYPE_CASTS(DeviceOrientationEvent, Event, event, event->interfaceName() == EventNames::DeviceOrientationEvent, event.interfaceName() == EventNames::DeviceOrientationEvent); event 261 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp RefPtrWillBeRawPtr<Event> event = MediaKeyEvent::create(EventTypeNames::webkitkeyadded, initializer); event 262 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp event->setTarget(&element); event 263 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp element.scheduleEvent(event.release()); event 300 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp RefPtrWillBeRawPtr<Event> event = MediaKeyEvent::create(EventTypeNames::webkitkeyerror, initializer); event 301 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp event->setTarget(&element); event 302 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp element.scheduleEvent(event.release()); event 317 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp RefPtrWillBeRawPtr<Event> event = MediaKeyEvent::create(EventTypeNames::webkitkeymessage, initializer); event 318 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp event->setTarget(&element); event 319 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp element.scheduleEvent(event.release()); event 328 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp RefPtrWillBeRawPtr<Event> event = createNeedKeyEvent(contentType, initData, initDataLength); event 329 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp event->setTarget(&element); event 330 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp element.scheduleEvent(event.release()); event 335 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp RefPtrWillBeRawPtr<Event> event = createWebkitNeedKeyEvent(contentType, initData, initDataLength); event 336 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp event->setTarget(&element); event 337 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp element.scheduleEvent(event.release()); event 188 Source/modules/encryptedmedia/MediaKeySession.cpp RefPtrWillBeRawPtr<MediaKeyMessageEvent> event = MediaKeyMessageEvent::create(EventTypeNames::message, init); event 189 Source/modules/encryptedmedia/MediaKeySession.cpp event->setTarget(this); event 190 Source/modules/encryptedmedia/MediaKeySession.cpp m_asyncEventQueue->enqueueEvent(event.release()); event 197 Source/modules/encryptedmedia/MediaKeySession.cpp RefPtrWillBeRawPtr<Event> event = Event::create(EventTypeNames::ready); event 198 Source/modules/encryptedmedia/MediaKeySession.cpp event->setTarget(this); event 199 Source/modules/encryptedmedia/MediaKeySession.cpp m_asyncEventQueue->enqueueEvent(event.release()); event 206 Source/modules/encryptedmedia/MediaKeySession.cpp RefPtrWillBeRawPtr<Event> event = Event::create(EventTypeNames::close); event 207 Source/modules/encryptedmedia/MediaKeySession.cpp event->setTarget(this); event 208 Source/modules/encryptedmedia/MediaKeySession.cpp m_asyncEventQueue->enqueueEvent(event.release()); event 237 Source/modules/encryptedmedia/MediaKeySession.cpp RefPtrWillBeRawPtr<Event> event = Event::create(EventTypeNames::error); event 238 Source/modules/encryptedmedia/MediaKeySession.cpp event->setTarget(this); event 239 Source/modules/encryptedmedia/MediaKeySession.cpp m_asyncEventQueue->enqueueEvent(event.release()); event 395 Source/modules/filesystem/InspectorFileSystemAgent.cpp virtual void handleEvent(ExecutionContext*, Event* event) OVERRIDE event 397 Source/modules/filesystem/InspectorFileSystemAgent.cpp if (event->type() == EventTypeNames::load) event 399 Source/modules/filesystem/InspectorFileSystemAgent.cpp else if (event->type() == EventTypeNames::error) event 152 Source/modules/gamepad/NavigatorGamepad.cpp RefPtrWillBeRawPtr<GamepadEvent> event = GamepadEvent::create(eventName, false, true, gamepad.get()); event 153 Source/modules/gamepad/NavigatorGamepad.cpp window()->dispatchEvent(event); event 369 Source/modules/indexeddb/IDBDatabase.cpp void IDBDatabase::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event) event 374 Source/modules/indexeddb/IDBDatabase.cpp event->setTarget(this); event 375 Source/modules/indexeddb/IDBDatabase.cpp eventQueue->enqueueEvent(event.get()); event 376 Source/modules/indexeddb/IDBDatabase.cpp m_enqueuedEvents.append(event); event 379 Source/modules/indexeddb/IDBDatabase.cpp bool IDBDatabase::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 384 Source/modules/indexeddb/IDBDatabase.cpp ASSERT(event->type() == EventTypeNames::versionchange || event->type() == EventTypeNames::close); event 386 Source/modules/indexeddb/IDBDatabase.cpp if (m_enqueuedEvents[i].get() == event.get()) event 389 Source/modules/indexeddb/IDBDatabase.cpp return EventTarget::dispatchEvent(event.get()); event 37 Source/modules/indexeddb/IDBEventDispatcher.cpp bool IDBEventDispatcher::dispatch(Event* event, Vector<RefPtr<EventTarget> >& eventTargets) event 42 Source/modules/indexeddb/IDBEventDispatcher.cpp event->setEventPhase(Event::CAPTURING_PHASE); event 44 Source/modules/indexeddb/IDBEventDispatcher.cpp event->setCurrentTarget(eventTargets[i].get()); event 45 Source/modules/indexeddb/IDBEventDispatcher.cpp eventTargets[i]->fireEventListeners(event); event 46 Source/modules/indexeddb/IDBEventDispatcher.cpp if (event->propagationStopped()) event 50 Source/modules/indexeddb/IDBEventDispatcher.cpp event->setEventPhase(Event::AT_TARGET); event 51 Source/modules/indexeddb/IDBEventDispatcher.cpp event->setCurrentTarget(eventTargets[0].get()); event 52 Source/modules/indexeddb/IDBEventDispatcher.cpp eventTargets[0]->fireEventListeners(event); event 53 Source/modules/indexeddb/IDBEventDispatcher.cpp if (event->propagationStopped() || !event->bubbles() || event->cancelBubble()) event 56 Source/modules/indexeddb/IDBEventDispatcher.cpp event->setEventPhase(Event::BUBBLING_PHASE); event 58 Source/modules/indexeddb/IDBEventDispatcher.cpp event->setCurrentTarget(eventTargets[i].get()); event 59 Source/modules/indexeddb/IDBEventDispatcher.cpp eventTargets[i]->fireEventListeners(event); event 60 Source/modules/indexeddb/IDBEventDispatcher.cpp if (event->propagationStopped() || event->cancelBubble()) event 65 Source/modules/indexeddb/IDBEventDispatcher.cpp event->setCurrentTarget(0); event 66 Source/modules/indexeddb/IDBEventDispatcher.cpp event->setEventPhase(0); event 67 Source/modules/indexeddb/IDBEventDispatcher.cpp return !event->defaultPrevented(); event 323 Source/modules/indexeddb/IDBObjectStore.cpp virtual void handleEvent(ExecutionContext* context, Event* event) OVERRIDE event 325 Source/modules/indexeddb/IDBObjectStore.cpp ASSERT(event->type() == EventTypeNames::success); event 326 Source/modules/indexeddb/IDBObjectStore.cpp EventTarget* target = event->target(); event 148 Source/modules/indexeddb/IDBOpenDBRequest.cpp bool IDBOpenDBRequest::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 152 Source/modules/indexeddb/IDBOpenDBRequest.cpp if (event->type() == EventTypeNames::success && resultAsAny()->type() == IDBAny::IDBDatabaseType && resultAsAny()->idbDatabase()->isClosePending()) { event 153 Source/modules/indexeddb/IDBOpenDBRequest.cpp dequeueEvent(event.get()); event 159 Source/modules/indexeddb/IDBOpenDBRequest.cpp return IDBRequest::dispatchEvent(event); event 403 Source/modules/indexeddb/IDBRequest.cpp bool IDBRequest::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 412 Source/modules/indexeddb/IDBRequest.cpp ASSERT(event->target() == this); event 416 Source/modules/indexeddb/IDBRequest.cpp if (event->type() != EventTypeNames::blocked) event 418 Source/modules/indexeddb/IDBRequest.cpp dequeueEvent(event.get()); event 433 Source/modules/indexeddb/IDBRequest.cpp if (event->type() == EventTypeNames::success) { event 439 Source/modules/indexeddb/IDBRequest.cpp if (event->type() == EventTypeNames::upgradeneeded) { event 445 Source/modules/indexeddb/IDBRequest.cpp ASSERT_WITH_MESSAGE(event->type() == EventTypeNames::success || event->type() == EventTypeNames::error || event->type() == EventTypeNames::blocked || event->type() == EventTypeNames::upgradeneeded, "event type was %s", event->type().utf8().data()); event 446 Source/modules/indexeddb/IDBRequest.cpp const bool setTransactionActive = m_transaction && (event->type() == EventTypeNames::success || event->type() == EventTypeNames::upgradeneeded || (event->type() == EventTypeNames::error && !m_requestAborted)); event 451 Source/modules/indexeddb/IDBRequest.cpp bool dontPreventDefault = IDBEventDispatcher::dispatch(event.get(), targets); event 459 Source/modules/indexeddb/IDBRequest.cpp if (event->type() == EventTypeNames::error && dontPreventDefault && !m_requestAborted) { event 474 Source/modules/indexeddb/IDBRequest.cpp if (m_readyState == DONE && event->type() != EventTypeNames::upgradeneeded) event 503 Source/modules/indexeddb/IDBRequest.cpp void IDBRequest::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event) event 510 Source/modules/indexeddb/IDBRequest.cpp ASSERT_WITH_MESSAGE(m_readyState == PENDING || m_didFireUpgradeNeededEvent, "When queueing event %s, m_readyState was %d", event->type().utf8().data(), m_readyState); event 513 Source/modules/indexeddb/IDBRequest.cpp event->setTarget(this); event 518 Source/modules/indexeddb/IDBRequest.cpp if (eventQueue->enqueueEvent(event.get())) event 519 Source/modules/indexeddb/IDBRequest.cpp m_enqueuedEvents.append(event); event 522 Source/modules/indexeddb/IDBRequest.cpp void IDBRequest::dequeueEvent(Event* event) event 525 Source/modules/indexeddb/IDBRequest.cpp if (m_enqueuedEvents[i].get() == event) event 341 Source/modules/indexeddb/IDBTransaction.cpp bool IDBTransaction::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 351 Source/modules/indexeddb/IDBTransaction.cpp ASSERT(event->target() == this); event 367 Source/modules/indexeddb/IDBTransaction.cpp ASSERT(event->type() == EventTypeNames::complete || event->type() == EventTypeNames::abort); event 368 Source/modules/indexeddb/IDBTransaction.cpp bool returnValue = IDBEventDispatcher::dispatch(event.get(), targets); event 389 Source/modules/indexeddb/IDBTransaction.cpp void IDBTransaction::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event) event 391 Source/modules/indexeddb/IDBTransaction.cpp ASSERT_WITH_MESSAGE(m_state != Finished, "A finished transaction tried to enqueue an event of type %s.", event->type().utf8().data()); event 396 Source/modules/indexeddb/IDBTransaction.cpp event->setTarget(this); event 397 Source/modules/indexeddb/IDBTransaction.cpp eventQueue->enqueueEvent(event); event 104 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp virtual void handleEvent(ExecutionContext*, Event* event) OVERRIDE event 108 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp if (event->type() != EventTypeNames::success) { event 113 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp IDBRequest* idbRequest = static_cast<IDBRequest*>(event->target()); event 163 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp virtual void handleEvent(ExecutionContext*, Event* event) OVERRIDE event 165 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp if (event->type() != EventTypeNames::success) { event 170 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp IDBOpenDBRequest* idbOpenDBRequest = static_cast<IDBOpenDBRequest*>(event->target()); event 403 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp virtual void handleEvent(ExecutionContext* context, Event* event) OVERRIDE event 405 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp if (event->type() != EventTypeNames::success) { event 410 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp IDBRequest* idbRequest = static_cast<IDBRequest*>(event->target()); event 704 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp virtual void handleEvent(ExecutionContext*, Event* event) OVERRIDE event 708 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp if (event->type() != EventTypeNames::complete) { event 349 Source/modules/mediasource/MediaSourceBase.cpp RefPtrWillBeRawPtr<Event> event = Event::create(eventName); event 350 Source/modules/mediasource/MediaSourceBase.cpp event->setTarget(this); event 352 Source/modules/mediasource/MediaSourceBase.cpp m_asyncEventQueue->enqueueEvent(event.release()); event 484 Source/modules/mediasource/SourceBuffer.cpp RefPtrWillBeRawPtr<Event> event = Event::create(eventName); event 485 Source/modules/mediasource/SourceBuffer.cpp event->setTarget(this); event 487 Source/modules/mediasource/SourceBuffer.cpp m_asyncEventQueue->enqueueEvent(event.release()); event 77 Source/modules/mediasource/SourceBufferList.cpp RefPtrWillBeRawPtr<Event> event = Event::create(eventName); event 78 Source/modules/mediasource/SourceBufferList.cpp event->setTarget(this); event 80 Source/modules/mediasource/SourceBufferList.cpp m_asyncEventQueue->enqueueEvent(event.release()); event 89 Source/modules/mediasource/WebKitSourceBufferList.cpp RefPtrWillBeRawPtr<Event> event = Event::create(eventName); event 90 Source/modules/mediasource/WebKitSourceBufferList.cpp event->setTarget(this); event 92 Source/modules/mediasource/WebKitSourceBufferList.cpp m_asyncEventQueue->enqueueEvent(event.release()); event 368 Source/modules/mediastream/MediaStream.cpp void MediaStream::scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 370 Source/modules/mediastream/MediaStream.cpp m_scheduledEvents.append(event); event 148 Source/modules/mediastream/RTCDTMFSender.cpp void RTCDTMFSender::scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 150 Source/modules/mediastream/RTCDTMFSender.cpp m_scheduledEvents.append(event); event 294 Source/modules/mediastream/RTCDataChannel.cpp void RTCDataChannel::scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 296 Source/modules/mediastream/RTCDataChannel.cpp m_scheduledEvents.append(event); event 692 Source/modules/mediastream/RTCPeerConnection.cpp void RTCPeerConnection::scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 694 Source/modules/mediastream/RTCPeerConnection.cpp m_scheduledEvents.append(event); event 173 Source/modules/notifications/Notification.cpp bool Notification::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) event 177 Source/modules/notifications/Notification.cpp return EventTarget::dispatchEvent(event); event 81 Source/modules/webaudio/AudioParamTimeline.cpp void AudioParamTimeline::insertEvent(const ParamEvent& event) event 84 Source/modules/webaudio/AudioParamTimeline.cpp bool isValid = event.type() < ParamEvent::LastType event 85 Source/modules/webaudio/AudioParamTimeline.cpp && isValidNumber(event.value()) event 86 Source/modules/webaudio/AudioParamTimeline.cpp && isValidNumber(event.time()) event 87 Source/modules/webaudio/AudioParamTimeline.cpp && isValidNumber(event.timeConstant()) event 88 Source/modules/webaudio/AudioParamTimeline.cpp && isValidNumber(event.duration()) event 89 Source/modules/webaudio/AudioParamTimeline.cpp && event.duration() >= 0; event 98 Source/modules/webaudio/AudioParamTimeline.cpp double insertTime = event.time(); event 101 Source/modules/webaudio/AudioParamTimeline.cpp if (m_events[i].time() == insertTime && m_events[i].type() == event.type()) { event 102 Source/modules/webaudio/AudioParamTimeline.cpp m_events[i] = event; event 110 Source/modules/webaudio/AudioParamTimeline.cpp m_events.insert(i, event); event 219 Source/modules/webaudio/AudioParamTimeline.cpp ParamEvent& event = m_events[i]; event 226 Source/modules/webaudio/AudioParamTimeline.cpp float value1 = event.value(); event 227 Source/modules/webaudio/AudioParamTimeline.cpp double time1 = event.time(); event 274 Source/modules/webaudio/AudioParamTimeline.cpp switch (event.type()) { event 282 Source/modules/webaudio/AudioParamTimeline.cpp value = event.value(); event 294 Source/modules/webaudio/AudioParamTimeline.cpp float target = event.value(); event 295 Source/modules/webaudio/AudioParamTimeline.cpp float timeConstant = event.timeConstant(); event 308 Source/modules/webaudio/AudioParamTimeline.cpp Float32Array* curve = event.curve(); event 313 Source/modules/webaudio/AudioParamTimeline.cpp float duration = event.duration(); event 207 Source/modules/webaudio/AudioScheduledSourceNode.cpp RefPtrWillBeRawPtr<Event> event = Event::create(EventTypeNames::ended); event 208 Source/modules/webaudio/AudioScheduledSourceNode.cpp event->setTarget(m_scheduledNode); event 209 Source/modules/webaudio/AudioScheduledSourceNode.cpp m_scheduledNode->dispatchEvent(event.get()); event 74 Source/modules/websockets/WebSocket.cpp void WebSocket::EventQueue::dispatch(PassRefPtrWillBeRawPtr<Event> event) event 80 Source/modules/websockets/WebSocket.cpp m_target->dispatchEvent(event); event 83 Source/modules/websockets/WebSocket.cpp m_events.append(event); event 63 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp static PassOwnPtr<ThreadableWebSocketChannelSyncHelper> create(PassOwnPtr<blink::WebWaitableEvent> event) event 65 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp return adoptPtr(new ThreadableWebSocketChannelSyncHelper(event)); event 101 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp ThreadableWebSocketChannelSyncHelper(PassOwnPtr<blink::WebWaitableEvent> event) event 102 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp : m_event(event) event 570 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp events.append(m_syncHelper->event()); event 893 Source/web/ChromeClientImpl.cpp void ChromeClientImpl::handleKeyboardEventOnTextField(HTMLInputElement& inputElement, KeyboardEvent& event) event 897 Source/web/ChromeClientImpl.cpp m_webView->autofillClient()->textFieldDidReceiveKeyDown(WebInputElement(&inputElement), WebKeyboardEventBuilder(event)); event 903 Source/web/ChromeClientImpl.cpp WebCore::Document* document, WebCore::Event* event) event 910 Source/web/ChromeClientImpl.cpp if (event->isKeyboardEvent()) { event 911 Source/web/ChromeClientImpl.cpp WebKeyboardEventBuilder webEvent(*static_cast<WebCore::KeyboardEvent*>(event)); event 913 Source/web/ChromeClientImpl.cpp } else if (event->isMouseEvent()) { event 914 Source/web/ChromeClientImpl.cpp WebMouseEventBuilder webEvent(webFrame->frameView(), document->renderer(), *static_cast<WebCore::MouseEvent*>(event)); event 920 Source/web/ChromeClientImpl.cpp } else if (event->isWheelEvent()) { event 921 Source/web/ChromeClientImpl.cpp WebMouseWheelEventBuilder webEvent(webFrame->frameView(), document->renderer(), *static_cast<WebCore::WheelEvent*>(event)); event 60 Source/web/EventListenerWrapper.cpp void EventListenerWrapper::handleEvent(ExecutionContext* context, Event* event) event 64 Source/web/EventListenerWrapper.cpp WebDOMEvent webDOMEvent(event); event 728 Source/web/FrameLoaderClientImpl.cpp SecurityOrigin* target, MessageEvent* event) const event 734 Source/web/FrameLoaderClientImpl.cpp if (event && event->source() && event->source()->toDOMWindow() && event->source()->toDOMWindow()->document()) event 735 Source/web/FrameLoaderClientImpl.cpp source = WebFrameImpl::fromFrame(event->source()->toDOMWindow()->document()->frame()); event 737 Source/web/FrameLoaderClientImpl.cpp source, m_webFrame, WebSecurityOrigin(target), WebDOMMessageEvent(event)); event 157 Source/web/InspectorClientImpl.cpp void InspectorClientImpl::dispatchKeyEvent(const PlatformKeyboardEvent& event) event 160 Source/web/InspectorClientImpl.cpp agent->dispatchKeyEvent(event); event 163 Source/web/InspectorClientImpl.cpp void InspectorClientImpl::dispatchMouseEvent(const PlatformMouseEvent& event) event 166 Source/web/InspectorClientImpl.cpp agent->dispatchMouseEvent(event); event 99 Source/web/PageWidgetDelegate.cpp bool PageWidgetDelegate::handleInputEvent(Page* page, PageWidgetEventHandler& handler, const WebInputEvent& event) event 102 Source/web/PageWidgetDelegate.cpp switch (event.type) { event 110 Source/web/PageWidgetDelegate.cpp handler.handleMouseMove(*frame, *static_cast<const WebMouseEvent*>(&event)); event 115 Source/web/PageWidgetDelegate.cpp handler.handleMouseLeave(*frame, *static_cast<const WebMouseEvent*>(&event)); event 120 Source/web/PageWidgetDelegate.cpp handler.handleMouseDown(*frame, *static_cast<const WebMouseEvent*>(&event)); event 125 Source/web/PageWidgetDelegate.cpp handler.handleMouseUp(*frame, *static_cast<const WebMouseEvent*>(&event)); event 131 Source/web/PageWidgetDelegate.cpp return handler.handleMouseWheel(*frame, *static_cast<const WebMouseWheelEvent*>(&event)); event 136 Source/web/PageWidgetDelegate.cpp return handler.handleKeyEvent(*static_cast<const WebKeyboardEvent*>(&event)); event 139 Source/web/PageWidgetDelegate.cpp return handler.handleCharEvent(*static_cast<const WebKeyboardEvent*>(&event)); event 155 Source/web/PageWidgetDelegate.cpp return handler.handleGestureEvent(*static_cast<const WebGestureEvent*>(&event)); event 163 Source/web/PageWidgetDelegate.cpp return handler.handleTouchEvent(*frame, *static_cast<const WebTouchEvent*>(&event)); event 181 Source/web/PageWidgetDelegate.cpp void PageWidgetEventHandler::handleMouseMove(LocalFrame& mainFrame, const WebMouseEvent& event) event 183 Source/web/PageWidgetDelegate.cpp mainFrame.eventHandler().handleMouseMoveEvent(PlatformMouseEventBuilder(mainFrame.view(), event)); event 186 Source/web/PageWidgetDelegate.cpp void PageWidgetEventHandler::handleMouseLeave(LocalFrame& mainFrame, const WebMouseEvent& event) event 188 Source/web/PageWidgetDelegate.cpp mainFrame.eventHandler().handleMouseLeaveEvent(PlatformMouseEventBuilder(mainFrame.view(), event)); event 191 Source/web/PageWidgetDelegate.cpp void PageWidgetEventHandler::handleMouseDown(LocalFrame& mainFrame, const WebMouseEvent& event) event 193 Source/web/PageWidgetDelegate.cpp mainFrame.eventHandler().handleMousePressEvent(PlatformMouseEventBuilder(mainFrame.view(), event)); event 196 Source/web/PageWidgetDelegate.cpp void PageWidgetEventHandler::handleMouseUp(LocalFrame& mainFrame, const WebMouseEvent& event) event 198 Source/web/PageWidgetDelegate.cpp mainFrame.eventHandler().handleMouseReleaseEvent(PlatformMouseEventBuilder(mainFrame.view(), event)); event 201 Source/web/PageWidgetDelegate.cpp bool PageWidgetEventHandler::handleMouseWheel(LocalFrame& mainFrame, const WebMouseWheelEvent& event) event 203 Source/web/PageWidgetDelegate.cpp return mainFrame.eventHandler().handleWheelEvent(PlatformWheelEventBuilder(mainFrame.view(), event)); event 206 Source/web/PageWidgetDelegate.cpp bool PageWidgetEventHandler::handleTouchEvent(LocalFrame& mainFrame, const WebTouchEvent& event) event 208 Source/web/PageWidgetDelegate.cpp return mainFrame.eventHandler().handleTouchEvent(PlatformTouchEventBuilder(mainFrame.view(), event)); event 258 Source/web/PopupContainer.cpp bool PopupContainer::handleMouseDownEvent(const PlatformMouseEvent& event) event 262 Source/web/PopupContainer.cpp constructRelativeMouseEvent(event, this, m_listBox.get())); event 265 Source/web/PopupContainer.cpp bool PopupContainer::handleMouseMoveEvent(const PlatformMouseEvent& event) event 269 Source/web/PopupContainer.cpp constructRelativeMouseEvent(event, this, m_listBox.get())); event 272 Source/web/PopupContainer.cpp bool PopupContainer::handleMouseReleaseEvent(const PlatformMouseEvent& event) event 277 Source/web/PopupContainer.cpp constructRelativeMouseEvent(event, this, m_listBox.get())); event 280 Source/web/PopupContainer.cpp bool PopupContainer::handleWheelEvent(const PlatformWheelEvent& event) event 284 Source/web/PopupContainer.cpp constructRelativeWheelEvent(event, this, m_listBox.get())); event 323 Source/web/PopupContainer.cpp bool PopupContainer::handleKeyEvent(const PlatformKeyboardEvent& event) event 326 Source/web/PopupContainer.cpp return m_listBox->handleKeyEvent(event); event 86 Source/web/PopupListBox.cpp bool PopupListBox::handleMouseDownEvent(const PlatformMouseEvent& event) event 88 Source/web/PopupListBox.cpp Scrollbar* scrollbar = scrollbarAtPoint(event.position()); event 91 Source/web/PopupListBox.cpp m_capturingScrollbar->mouseDown(event); event 95 Source/web/PopupListBox.cpp if (!isPointInBounds(event.position())) event 101 Source/web/PopupListBox.cpp bool PopupListBox::handleMouseMoveEvent(const PlatformMouseEvent& event) event 104 Source/web/PopupListBox.cpp m_capturingScrollbar->mouseMoved(event); event 108 Source/web/PopupListBox.cpp Scrollbar* scrollbar = scrollbarAtPoint(event.position()); event 117 Source/web/PopupListBox.cpp scrollbar->mouseMoved(event); event 121 Source/web/PopupListBox.cpp if (!isPointInBounds(event.position())) event 124 Source/web/PopupListBox.cpp selectIndex(pointToRowIndex(event.position())); event 128 Source/web/PopupListBox.cpp bool PopupListBox::handleMouseReleaseEvent(const PlatformMouseEvent& event) event 131 Source/web/PopupListBox.cpp m_capturingScrollbar->mouseUp(event); event 136 Source/web/PopupListBox.cpp if (!isPointInBounds(event.position())) event 139 Source/web/PopupListBox.cpp if (acceptIndex(pointToRowIndex(event.position())) && m_focusedElement) { event 140 Source/web/PopupListBox.cpp m_focusedElement->dispatchMouseEvent(event, EventTypeNames::mouseup); event 141 Source/web/PopupListBox.cpp m_focusedElement->dispatchMouseEvent(event, EventTypeNames::click); event 151 Source/web/PopupListBox.cpp bool PopupListBox::handleWheelEvent(const PlatformWheelEvent& event) event 153 Source/web/PopupListBox.cpp if (!isPointInBounds(event.position())) { event 158 Source/web/PopupListBox.cpp ScrollableArea::handleWheelEvent(event); event 191 Source/web/PopupListBox.cpp static bool isCharacterTypeEvent(const PlatformKeyboardEvent& event) event 197 Source/web/PopupListBox.cpp return event.type() == PlatformEvent::Char; event 200 Source/web/PopupListBox.cpp bool PopupListBox::handleKeyEvent(const PlatformKeyboardEvent& event) event 202 Source/web/PopupListBox.cpp if (event.type() == PlatformEvent::KeyUp) event 205 Source/web/PopupListBox.cpp if (!numItems() && event.windowsVirtualKeyCode() != VKEY_ESCAPE) event 208 Source/web/PopupListBox.cpp switch (event.windowsVirtualKeyCode()) { event 239 Source/web/PopupListBox.cpp if (!event.ctrlKey() && !event.altKey() && !event.metaKey() event 240 Source/web/PopupListBox.cpp && isPrintableChar(event.windowsVirtualKeyCode()) event 241 Source/web/PopupListBox.cpp && isCharacterTypeEvent(event)) event 242 Source/web/PopupListBox.cpp typeAheadFind(event); event 256 Source/web/PopupListBox.cpp if (event.windowsVirtualKeyCode() == VKEY_TAB) { event 299 Source/web/PopupListBox.cpp void PopupListBox::typeAheadFind(const PlatformKeyboardEvent& event) event 309 Source/web/PopupListBox.cpp UChar c = event.windowsVirtualKeyCode(); event 51 Source/web/WebDOMEvent.cpp void WebDOMEvent::assign(const PassRefPtrWillBeRawPtr<WebCore::Event>& event) event 53 Source/web/WebDOMEvent.cpp m_private = event; event 56 Source/web/WebDOMEvent.cpp WebDOMEvent::WebDOMEvent(const PassRefPtrWillBeRawPtr<WebCore::Event>& event) event 57 Source/web/WebDOMEvent.cpp : m_private(event) event 501 Source/web/WebDevToolsAgentImpl.cpp void WebDevToolsAgentImpl::processGPUEvent(const GPUEvent& event) event 504 Source/web/WebDevToolsAgentImpl.cpp ic->processGPUEvent(event.timestamp, event.phase, event.foreign, event.usedGPUMemoryBytes, event.limitGPUMemoryBytes); event 507 Source/web/WebDevToolsAgentImpl.cpp void WebDevToolsAgentImpl::dispatchKeyEvent(const PlatformKeyboardEvent& event) event 510 Source/web/WebDevToolsAgentImpl.cpp WebKeyboardEvent webEvent = WebKeyboardEventBuilder(event); event 517 Source/web/WebDevToolsAgentImpl.cpp void WebDevToolsAgentImpl::dispatchMouseEvent(const PlatformMouseEvent& event) event 520 Source/web/WebDevToolsAgentImpl.cpp WebMouseEvent webEvent = WebMouseEventBuilder(m_webViewImpl->mainFrameImpl()->frameView(), event); event 243 Source/web/WebDocument.cpp WebDOMEvent event(unwrap<Document>()->createEvent(eventType, exceptionState)); event 246 Source/web/WebDocument.cpp return event; event 1515 Source/web/WebFrameImpl.cpp void WebFrameImpl::dispatchMessageEventWithOriginCheck(const WebSecurityOrigin& intendedTargetOrigin, const WebDOMEvent& event) event 1517 Source/web/WebFrameImpl.cpp ASSERT(!event.isNull()); event 1518 Source/web/WebFrameImpl.cpp frame()->domWindow()->dispatchMessageEventWithOriginCheck(intendedTargetOrigin.get(), event, nullptr); event 418 Source/web/WebInputEventConversion.cpp PlatformTouchEventBuilder::PlatformTouchEventBuilder(Widget* widget, const WebTouchEvent& event) event 420 Source/web/WebInputEventConversion.cpp m_type = toPlatformTouchEventType(event.type); event 423 Source/web/WebInputEventConversion.cpp if (event.modifiers & WebInputEvent::ShiftKey) event 425 Source/web/WebInputEventConversion.cpp if (event.modifiers & WebInputEvent::ControlKey) event 427 Source/web/WebInputEventConversion.cpp if (event.modifiers & WebInputEvent::AltKey) event 429 Source/web/WebInputEventConversion.cpp if (event.modifiers & WebInputEvent::MetaKey) event 432 Source/web/WebInputEventConversion.cpp m_timestamp = event.timeStampSeconds; event 434 Source/web/WebInputEventConversion.cpp for (unsigned i = 0; i < event.touchesLength; ++i) event 435 Source/web/WebInputEventConversion.cpp m_touchPoints.append(PlatformTouchPointBuilder(widget, event.touches[i])); event 438 Source/web/WebInputEventConversion.cpp static int getWebInputModifiers(const UIEventWithKeyState& event) event 441 Source/web/WebInputEventConversion.cpp if (event.ctrlKey()) event 443 Source/web/WebInputEventConversion.cpp if (event.shiftKey()) event 445 Source/web/WebInputEventConversion.cpp if (event.altKey()) event 447 Source/web/WebInputEventConversion.cpp if (event.metaKey()) event 457 Source/web/WebInputEventConversion.cpp static void updateWebMouseEventFromWebCoreMouseEvent(const MouseRelatedEvent& event, const Widget& widget, const WebCore::RenderObject& renderObject, WebMouseEvent& webEvent) event 459 Source/web/WebInputEventConversion.cpp webEvent.timeStampSeconds = event.timeStamp() / millisPerSecond; event 460 Source/web/WebInputEventConversion.cpp webEvent.modifiers = getWebInputModifiers(event); event 463 Source/web/WebInputEventConversion.cpp IntPoint windowPoint = IntPoint(event.absoluteLocation().x(), event.absoluteLocation().y()); event 466 Source/web/WebInputEventConversion.cpp webEvent.globalX = event.screenX(); event 467 Source/web/WebInputEventConversion.cpp webEvent.globalY = event.screenY(); event 470 Source/web/WebInputEventConversion.cpp IntPoint localPoint = convertAbsoluteLocationForRenderObject(event.absoluteLocation(), renderObject); event 475 Source/web/WebInputEventConversion.cpp WebMouseEventBuilder::WebMouseEventBuilder(const Widget* widget, const WebCore::RenderObject* renderObject, const MouseEvent& event) event 477 Source/web/WebInputEventConversion.cpp if (event.type() == EventTypeNames::mousemove) event 479 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::mouseout) event 481 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::mouseover) event 483 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::mousedown) event 485 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::mouseup) event 487 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::contextmenu) event 492 Source/web/WebInputEventConversion.cpp updateWebMouseEventFromWebCoreMouseEvent(event, *widget, *renderObject, *this); event 494 Source/web/WebInputEventConversion.cpp switch (event.button()) { event 505 Source/web/WebInputEventConversion.cpp if (event.buttonDown()) { event 506 Source/web/WebInputEventConversion.cpp switch (event.button()) { event 519 Source/web/WebInputEventConversion.cpp movementX = event.webkitMovementX(); event 520 Source/web/WebInputEventConversion.cpp movementY = event.webkitMovementY(); event 521 Source/web/WebInputEventConversion.cpp clickCount = event.detail(); event 524 Source/web/WebInputEventConversion.cpp WebMouseEventBuilder::WebMouseEventBuilder(const Widget* widget, const WebCore::RenderObject* renderObject, const TouchEvent& event) event 526 Source/web/WebInputEventConversion.cpp if (!event.touches()) event 528 Source/web/WebInputEventConversion.cpp if (event.touches()->length() != 1) { event 529 Source/web/WebInputEventConversion.cpp if (event.touches()->length() || event.type() != EventTypeNames::touchend || !event.changedTouches() || event.changedTouches()->length() != 1) event 533 Source/web/WebInputEventConversion.cpp const Touch* touch = event.touches()->length() == 1 ? event.touches()->item(0) : event.changedTouches()->item(0); event 537 Source/web/WebInputEventConversion.cpp if (event.type() == EventTypeNames::touchstart) event 539 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::touchmove) event 541 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::touchend) event 546 Source/web/WebInputEventConversion.cpp updateWebMouseEventFromWebCoreMouseEvent(event, *widget, *renderObject, *this); event 557 Source/web/WebInputEventConversion.cpp WebMouseEventBuilder::WebMouseEventBuilder(const WebCore::Widget* widget, const WebCore::PlatformMouseEvent& event) event 559 Source/web/WebInputEventConversion.cpp switch (event.type()) { event 576 Source/web/WebInputEventConversion.cpp if (event.modifiers() & PlatformEvent::ShiftKey) event 578 Source/web/WebInputEventConversion.cpp if (event.modifiers() & PlatformEvent::CtrlKey) event 580 Source/web/WebInputEventConversion.cpp if (event.modifiers() & PlatformEvent::AltKey) event 582 Source/web/WebInputEventConversion.cpp if (event.modifiers() & PlatformEvent::MetaKey) event 585 Source/web/WebInputEventConversion.cpp timeStampSeconds = event.timestamp(); event 589 Source/web/WebInputEventConversion.cpp IntPoint position = widget->convertToContainingWindow(event.position()); event 594 Source/web/WebInputEventConversion.cpp globalX = event.globalPosition().x(); event 595 Source/web/WebInputEventConversion.cpp globalY = event.globalPosition().y(); event 596 Source/web/WebInputEventConversion.cpp movementX = event.movementDelta().x() * scale; event 597 Source/web/WebInputEventConversion.cpp movementY = event.movementDelta().y() * scale; event 599 Source/web/WebInputEventConversion.cpp button = static_cast<Button>(event.button()); event 600 Source/web/WebInputEventConversion.cpp clickCount = event.clickCount(); event 603 Source/web/WebInputEventConversion.cpp WebMouseWheelEventBuilder::WebMouseWheelEventBuilder(const Widget* widget, const WebCore::RenderObject* renderObject, const WheelEvent& event) event 605 Source/web/WebInputEventConversion.cpp if (event.type() != EventTypeNames::wheel && event.type() != EventTypeNames::mousewheel) event 608 Source/web/WebInputEventConversion.cpp updateWebMouseEventFromWebCoreMouseEvent(event, *widget, *renderObject, *this); event 609 Source/web/WebInputEventConversion.cpp deltaX = -event.deltaX(); event 610 Source/web/WebInputEventConversion.cpp deltaY = -event.deltaY(); event 611 Source/web/WebInputEventConversion.cpp wheelTicksX = event.ticksX(); event 612 Source/web/WebInputEventConversion.cpp wheelTicksY = event.ticksY(); event 613 Source/web/WebInputEventConversion.cpp scrollByPage = event.deltaMode() == WheelEvent::DOM_DELTA_PAGE; event 616 Source/web/WebInputEventConversion.cpp WebKeyboardEventBuilder::WebKeyboardEventBuilder(const KeyboardEvent& event) event 618 Source/web/WebInputEventConversion.cpp if (event.type() == EventTypeNames::keydown) event 620 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::keyup) event 622 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::keypress) event 627 Source/web/WebInputEventConversion.cpp modifiers = getWebInputModifiers(event); event 628 Source/web/WebInputEventConversion.cpp if (event.location() == KeyboardEvent::DOM_KEY_LOCATION_NUMPAD) event 630 Source/web/WebInputEventConversion.cpp else if (event.location() == KeyboardEvent::DOM_KEY_LOCATION_LEFT) event 632 Source/web/WebInputEventConversion.cpp else if (event.location() == KeyboardEvent::DOM_KEY_LOCATION_RIGHT) event 635 Source/web/WebInputEventConversion.cpp timeStampSeconds = event.timeStamp() / millisPerSecond; event 636 Source/web/WebInputEventConversion.cpp windowsKeyCode = event.keyCode(); event 640 Source/web/WebInputEventConversion.cpp if (!event.keyEvent()) event 642 Source/web/WebInputEventConversion.cpp nativeKeyCode = event.keyEvent()->nativeVirtualKeyCode(); event 643 Source/web/WebInputEventConversion.cpp unsigned numberOfCharacters = std::min(event.keyEvent()->text().length(), static_cast<unsigned>(textLengthCap)); event 645 Source/web/WebInputEventConversion.cpp text[i] = event.keyEvent()->text()[i]; event 646 Source/web/WebInputEventConversion.cpp unmodifiedText[i] = event.keyEvent()->unmodifiedText()[i]; event 648 Source/web/WebInputEventConversion.cpp memcpy(keyIdentifier, event.keyIdentifier().ascii().data(), event.keyIdentifier().length()); event 681 Source/web/WebInputEventConversion.cpp WebKeyboardEventBuilder::WebKeyboardEventBuilder(const WebCore::PlatformKeyboardEvent& event) event 683 Source/web/WebInputEventConversion.cpp type = toWebKeyboardEventType(event.type()); event 684 Source/web/WebInputEventConversion.cpp modifiers = toWebKeyboardEventModifiers(event.modifiers()); event 685 Source/web/WebInputEventConversion.cpp if (event.isAutoRepeat()) event 687 Source/web/WebInputEventConversion.cpp if (event.isKeypad()) event 689 Source/web/WebInputEventConversion.cpp isSystemKey = event.isSystemKey(); event 690 Source/web/WebInputEventConversion.cpp nativeKeyCode = event.nativeVirtualKeyCode(); event 692 Source/web/WebInputEventConversion.cpp windowsKeyCode = windowsKeyCodeWithoutLocation(event.windowsVirtualKeyCode()); event 693 Source/web/WebInputEventConversion.cpp modifiers |= locationModifiersFromWindowsKeyCode(event.windowsVirtualKeyCode()); event 695 Source/web/WebInputEventConversion.cpp event.text().copyTo(text, 0, textLengthCap); event 696 Source/web/WebInputEventConversion.cpp event.unmodifiedText().copyTo(unmodifiedText, 0, textLengthCap); event 697 Source/web/WebInputEventConversion.cpp memcpy(keyIdentifier, event.keyIdentifier().ascii().data(), std::min(static_cast<unsigned>(keyIdentifierLengthCap), event.keyIdentifier().length())); event 721 Source/web/WebInputEventConversion.cpp WebTouchEventBuilder::WebTouchEventBuilder(const Widget* widget, const WebCore::RenderObject* renderObject, const TouchEvent& event) event 723 Source/web/WebInputEventConversion.cpp if (event.type() == EventTypeNames::touchstart) event 725 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::touchmove) event 727 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::touchend) event 729 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::touchcancel) event 737 Source/web/WebInputEventConversion.cpp modifiers = getWebInputModifiers(event); event 738 Source/web/WebInputEventConversion.cpp timeStampSeconds = event.timeStamp() / millisPerSecond; event 740 Source/web/WebInputEventConversion.cpp addTouchPoints(widget, event.type(), event.touches(), touches, &touchesLength, renderObject); event 741 Source/web/WebInputEventConversion.cpp addTouchPoints(widget, event.type(), event.changedTouches(), changedTouches, &changedTouchesLength, renderObject); event 742 Source/web/WebInputEventConversion.cpp addTouchPoints(widget, event.type(), event.targetTouches(), targetTouches, &targetTouchesLength, renderObject); event 745 Source/web/WebInputEventConversion.cpp WebGestureEventBuilder::WebGestureEventBuilder(const Widget* widget, const WebCore::RenderObject* renderObject, const GestureEvent& event) event 747 Source/web/WebInputEventConversion.cpp if (event.type() == EventTypeNames::gestureshowpress) event 749 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::gesturetapdown) event 751 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::gesturescrollstart) event 753 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::gesturescrollend) event 755 Source/web/WebInputEventConversion.cpp else if (event.type() == EventTypeNames::gesturescrollupdate) { event 757 Source/web/WebInputEventConversion.cpp data.scrollUpdate.deltaX = event.deltaX(); event 758 Source/web/WebInputEventConversion.cpp data.scrollUpdate.deltaY = event.deltaY(); event 759 Source/web/WebInputEventConversion.cpp } else if (event.type() == EventTypeNames::gesturetap) { event 764 Source/web/WebInputEventConversion.cpp timeStampSeconds = event.timeStamp() / millisPerSecond; event 765 Source/web/WebInputEventConversion.cpp modifiers = getWebInputModifiers(event); event 767 Source/web/WebInputEventConversion.cpp globalX = event.screenX(); event 768 Source/web/WebInputEventConversion.cpp globalY = event.screenY(); event 769 Source/web/WebInputEventConversion.cpp IntPoint localPoint = convertAbsoluteLocationForRenderObject(event.absoluteLocation(), *renderObject); event 107 Source/web/WebInputEventFactoryAndroid.cpp bool WebInputEventFactory::isSystemKeyEvent(const WebKeyboardEvent& event) event 111 Source/web/WebInputEventFactoryAndroid.cpp return event.modifiers & WebInputEvent::AltKey; event 123 Source/web/WebInputEventFactoryGtk.cpp static int gdkEventToWindowsKeyCode(const GdkEventKey* event) event 260 Source/web/WebInputEventFactoryGtk.cpp int windowsKeyCode = WebCore::windowsKeyCodeForKeyEvent(event->keyval); event 265 Source/web/WebInputEventFactoryGtk.cpp if (event->hardware_keycode < tableSize) { event 266 Source/web/WebInputEventFactoryGtk.cpp int keyval = hardwareCodeToGDKKeyval[event->hardware_keycode]; event 273 Source/web/WebInputEventFactoryGtk.cpp return WebCore::windowsKeyCodeForKeyEvent(event->keyval); event 279 Source/web/WebInputEventFactoryGtk.cpp static guint normalizeEventState(const GdkEventKey* event) event 282 Source/web/WebInputEventFactoryGtk.cpp switch (gdkEventToWindowsKeyCode(event)) { event 302 Source/web/WebInputEventFactoryGtk.cpp return event->state; event 304 Source/web/WebInputEventFactoryGtk.cpp if (event->type == GDK_KEY_PRESS) event 305 Source/web/WebInputEventFactoryGtk.cpp return event->state | mask; event 306 Source/web/WebInputEventFactoryGtk.cpp return event->state & ~mask; event 357 Source/web/WebInputEventFactoryGtk.cpp WebKeyboardEvent WebInputEventFactory::keyboardEvent(const GdkEventKey* event) event 361 Source/web/WebInputEventFactoryGtk.cpp result.timeStampSeconds = gdkEventTimeToWebEventTime(event->time); event 362 Source/web/WebInputEventFactoryGtk.cpp result.modifiers = gdkStateToWebEventModifiers(normalizeEventState(event)); event 364 Source/web/WebInputEventFactoryGtk.cpp switch (event->type) { event 380 Source/web/WebInputEventFactoryGtk.cpp int windowsKeyCode = gdkEventToWindowsKeyCode(event); event 383 Source/web/WebInputEventFactoryGtk.cpp result.nativeKeyCode = event->hardware_keycode; event 392 Source/web/WebInputEventFactoryGtk.cpp static_cast<WebUChar>(gdk_keyval_to_unicode(event->keyval)); event 404 Source/web/WebInputEventFactoryGtk.cpp if (isKeyPadKeyval(event->keyval)) event 410 Source/web/WebInputEventFactoryGtk.cpp bool WebInputEventFactory::isSystemKeyEvent(const WebKeyboardEvent& event) event 414 Source/web/WebInputEventFactoryGtk.cpp return event.modifiers & WebInputEvent::AltKey; event 447 Source/web/WebInputEventFactoryGtk.cpp WebMouseEvent WebInputEventFactory::mouseEvent(const GdkEventButton* event) event 451 Source/web/WebInputEventFactoryGtk.cpp result.timeStampSeconds = gdkEventTimeToWebEventTime(event->time); event 453 Source/web/WebInputEventFactoryGtk.cpp result.modifiers = gdkStateToWebEventModifiers(event->state); event 454 Source/web/WebInputEventFactoryGtk.cpp result.x = static_cast<int>(event->x); event 455 Source/web/WebInputEventFactoryGtk.cpp result.y = static_cast<int>(event->y); event 458 Source/web/WebInputEventFactoryGtk.cpp result.globalX = static_cast<int>(event->x_root); event 459 Source/web/WebInputEventFactoryGtk.cpp result.globalY = static_cast<int>(event->y_root); event 462 Source/web/WebInputEventFactoryGtk.cpp switch (event->type) { event 476 Source/web/WebInputEventFactoryGtk.cpp if (event->button == 1) event 478 Source/web/WebInputEventFactoryGtk.cpp else if (event->button == 2) event 480 Source/web/WebInputEventFactoryGtk.cpp else if (event->button == 3) event 484 Source/web/WebInputEventFactoryGtk.cpp bool forgetPreviousClick = shouldForgetPreviousClick(event->window, event->time, event->x, event->y); event 491 Source/web/WebInputEventFactoryGtk.cpp gLastClickEventWindow = event->window; event 492 Source/web/WebInputEventFactoryGtk.cpp gLastClickX = event->x; event 493 Source/web/WebInputEventFactoryGtk.cpp gLastClickY = event->y; event 496 Source/web/WebInputEventFactoryGtk.cpp gLastClickTime = event->time; event 503 Source/web/WebInputEventFactoryGtk.cpp WebMouseEvent WebInputEventFactory::mouseEvent(const GdkEventMotion* event) event 507 Source/web/WebInputEventFactoryGtk.cpp result.timeStampSeconds = gdkEventTimeToWebEventTime(event->time); event 508 Source/web/WebInputEventFactoryGtk.cpp result.modifiers = gdkStateToWebEventModifiers(event->state); event 509 Source/web/WebInputEventFactoryGtk.cpp result.x = static_cast<int>(event->x); event 510 Source/web/WebInputEventFactoryGtk.cpp result.y = static_cast<int>(event->y); event 513 Source/web/WebInputEventFactoryGtk.cpp result.globalX = static_cast<int>(event->x_root); event 514 Source/web/WebInputEventFactoryGtk.cpp result.globalY = static_cast<int>(event->y_root); event 516 Source/web/WebInputEventFactoryGtk.cpp switch (event->type) { event 525 Source/web/WebInputEventFactoryGtk.cpp if (event->state & GDK_BUTTON1_MASK) event 527 Source/web/WebInputEventFactoryGtk.cpp else if (event->state & GDK_BUTTON2_MASK) event 529 Source/web/WebInputEventFactoryGtk.cpp else if (event->state & GDK_BUTTON3_MASK) event 532 Source/web/WebInputEventFactoryGtk.cpp if (shouldForgetPreviousClick(event->window, event->time, event->x, event->y)) event 538 Source/web/WebInputEventFactoryGtk.cpp WebMouseEvent WebInputEventFactory::mouseEvent(const GdkEventCrossing* event) event 542 Source/web/WebInputEventFactoryGtk.cpp result.timeStampSeconds = gdkEventTimeToWebEventTime(event->time); event 543 Source/web/WebInputEventFactoryGtk.cpp result.modifiers = gdkStateToWebEventModifiers(event->state); event 544 Source/web/WebInputEventFactoryGtk.cpp result.x = static_cast<int>(event->x); event 545 Source/web/WebInputEventFactoryGtk.cpp result.y = static_cast<int>(event->y); event 548 Source/web/WebInputEventFactoryGtk.cpp result.globalX = static_cast<int>(event->x_root); event 549 Source/web/WebInputEventFactoryGtk.cpp result.globalY = static_cast<int>(event->y_root); event 551 Source/web/WebInputEventFactoryGtk.cpp switch (event->type) { event 564 Source/web/WebInputEventFactoryGtk.cpp if (event->state & GDK_BUTTON1_MASK) event 566 Source/web/WebInputEventFactoryGtk.cpp else if (event->state & GDK_BUTTON2_MASK) event 568 Source/web/WebInputEventFactoryGtk.cpp else if (event->state & GDK_BUTTON3_MASK) event 571 Source/web/WebInputEventFactoryGtk.cpp if (shouldForgetPreviousClick(event->window, event->time, event->x, event->y)) event 579 Source/web/WebInputEventFactoryGtk.cpp WebMouseWheelEvent WebInputEventFactory::mouseWheelEvent(const GdkEventScroll* event) event 586 Source/web/WebInputEventFactoryGtk.cpp result.timeStampSeconds = gdkEventTimeToWebEventTime(event->time); event 587 Source/web/WebInputEventFactoryGtk.cpp result.modifiers = gdkStateToWebEventModifiers(event->state); event 588 Source/web/WebInputEventFactoryGtk.cpp result.x = static_cast<int>(event->x); event 589 Source/web/WebInputEventFactoryGtk.cpp result.y = static_cast<int>(event->y); event 592 Source/web/WebInputEventFactoryGtk.cpp result.globalX = static_cast<int>(event->x_root); event 593 Source/web/WebInputEventFactoryGtk.cpp result.globalY = static_cast<int>(event->y_root); event 607 Source/web/WebInputEventFactoryGtk.cpp switch (event->direction) { event 123 Source/web/WebInputEventFactoryWin.cpp static void SetToggleKeyState(WebInputEvent* event) event 127 Source/web/WebInputEventFactoryWin.cpp event->modifiers |= WebInputEvent::NumLockOn; event 129 Source/web/WebInputEventFactoryWin.cpp event->modifiers |= WebInputEvent::CapsLockOn; event 214 Source/web/WebInputEventFactoryWin.cpp bool WebInputEventFactory::isSystemKeyEvent(const WebKeyboardEvent& event) event 221 Source/web/WebInputEventFactoryWin.cpp return event.modifiers & WebInputEvent::AltKey || event.windowsKeyCode == VK_F10; event 184 Source/web/WebNode.cpp bool WebNode::dispatchEvent(const WebDOMEvent& event) event 186 Source/web/WebNode.cpp if (!event.isNull()) event 187 Source/web/WebNode.cpp return m_private->dispatchEvent(event); event 361 Source/web/WebPagePopupImpl.cpp bool WebPagePopupImpl::handleGestureEvent(const WebGestureEvent& event) event 366 Source/web/WebPagePopupImpl.cpp return frame.eventHandler().handleGestureEvent(PlatformGestureEventBuilder(frame.view(), event)); event 369 Source/web/WebPagePopupImpl.cpp bool WebPagePopupImpl::handleInputEvent(const WebInputEvent& event) event 373 Source/web/WebPagePopupImpl.cpp return PageWidgetDelegate::handleInputEvent(m_page.get(), *this, event); event 376 Source/web/WebPagePopupImpl.cpp bool WebPagePopupImpl::handleKeyEvent(const PlatformKeyboardEvent& event) event 380 Source/web/WebPagePopupImpl.cpp return m_page->mainFrame()->eventHandler().keyEvent(event); event 176 Source/web/WebPluginContainerImpl.cpp static bool eventHasUserGesture(const WebInputEvent* webEvent, const Event* event) event 181 Source/web/WebPluginContainerImpl.cpp return event->isKeyboardEvent(); event 184 Source/web/WebPluginContainerImpl.cpp return event->type() == EventTypeNames::mousedown; event 186 Source/web/WebPluginContainerImpl.cpp return event->type() == EventTypeNames::mouseup; event 188 Source/web/WebPluginContainerImpl.cpp return event->type() == EventTypeNames::touchstart; event 190 Source/web/WebPluginContainerImpl.cpp return event->type() == EventTypeNames::touchend; event 196 Source/web/WebPluginContainerImpl.cpp void WebPluginContainerImpl::handleEvent(Event* event) event 202 Source/web/WebPluginContainerImpl.cpp UserGestureIndicator gestureIndicator(currentInputEvent && eventHasUserGesture(currentInputEvent, event) ? DefinitelyProcessingUserGesture : PossiblyProcessingUserGesture); event 209 Source/web/WebPluginContainerImpl.cpp if (event->isMouseEvent()) event 210 Source/web/WebPluginContainerImpl.cpp handleMouseEvent(toMouseEvent(event)); event 211 Source/web/WebPluginContainerImpl.cpp else if (event->isWheelEvent()) event 212 Source/web/WebPluginContainerImpl.cpp handleWheelEvent(toWheelEvent(event)); event 213 Source/web/WebPluginContainerImpl.cpp else if (event->isKeyboardEvent()) event 214 Source/web/WebPluginContainerImpl.cpp handleKeyboardEvent(toKeyboardEvent(event)); event 215 Source/web/WebPluginContainerImpl.cpp else if (event->isTouchEvent()) event 216 Source/web/WebPluginContainerImpl.cpp handleTouchEvent(toTouchEvent(event)); event 217 Source/web/WebPluginContainerImpl.cpp else if (event->isGestureEvent()) event 218 Source/web/WebPluginContainerImpl.cpp handleGestureEvent(toGestureEvent(event)); event 222 Source/web/WebPluginContainerImpl.cpp if (!event->defaultHandled()) event 223 Source/web/WebPluginContainerImpl.cpp m_element->Node::defaultEventHandler(event); event 683 Source/web/WebPluginContainerImpl.cpp void WebPluginContainerImpl::handleMouseEvent(MouseEvent* event) event 687 Source/web/WebPluginContainerImpl.cpp if (event->isDragEvent()) { event 689 Source/web/WebPluginContainerImpl.cpp handleDragEvent(event); event 697 Source/web/WebPluginContainerImpl.cpp WebMouseEventBuilder webEvent(this, m_element->renderer(), *event); event 701 Source/web/WebPluginContainerImpl.cpp if (event->type() == EventTypeNames::mousedown) event 707 Source/web/WebPluginContainerImpl.cpp m_scrollbarGroup->setLastMousePosition(IntPoint(event->x(), event->y())); event 708 Source/web/WebPluginContainerImpl.cpp if (event->type() == EventTypeNames::mousemove) event 710 Source/web/WebPluginContainerImpl.cpp else if (event->type() == EventTypeNames::mouseover) event 712 Source/web/WebPluginContainerImpl.cpp else if (event->type() == EventTypeNames::mouseout) event 718 Source/web/WebPluginContainerImpl.cpp event->setDefaultHandled(); event 729 Source/web/WebPluginContainerImpl.cpp void WebPluginContainerImpl::handleDragEvent(MouseEvent* event) event 731 Source/web/WebPluginContainerImpl.cpp ASSERT(event->isDragEvent()); event 734 Source/web/WebPluginContainerImpl.cpp if (event->type() == EventTypeNames::dragenter) event 736 Source/web/WebPluginContainerImpl.cpp else if (event->type() == EventTypeNames::dragleave) event 738 Source/web/WebPluginContainerImpl.cpp else if (event->type() == EventTypeNames::dragover) event 740 Source/web/WebPluginContainerImpl.cpp else if (event->type() == EventTypeNames::drop) event 746 Source/web/WebPluginContainerImpl.cpp Clipboard* clipboard = event->dataTransfer(); event 749 Source/web/WebPluginContainerImpl.cpp WebPoint dragScreenLocation(event->screenX(), event->screenY()); event 750 Source/web/WebPluginContainerImpl.cpp WebPoint dragLocation(event->absoluteLocation().x() - location().x(), event->absoluteLocation().y() - location().y()); event 755 Source/web/WebPluginContainerImpl.cpp void WebPluginContainerImpl::handleWheelEvent(WheelEvent* event) event 757 Source/web/WebPluginContainerImpl.cpp WebMouseWheelEventBuilder webEvent(this, m_element->renderer(), *event); event 763 Source/web/WebPluginContainerImpl.cpp event->setDefaultHandled(); event 766 Source/web/WebPluginContainerImpl.cpp void WebPluginContainerImpl::handleKeyboardEvent(KeyboardEvent* event) event 768 Source/web/WebPluginContainerImpl.cpp WebKeyboardEventBuilder webEvent(*event); event 784 Source/web/WebPluginContainerImpl.cpp event->setDefaultHandled(); event 806 Source/web/WebPluginContainerImpl.cpp event->setDefaultHandled(); event 809 Source/web/WebPluginContainerImpl.cpp void WebPluginContainerImpl::handleTouchEvent(TouchEvent* event) event 815 Source/web/WebPluginContainerImpl.cpp WebTouchEventBuilder webEvent(this, m_element->renderer(), *event); event 819 Source/web/WebPluginContainerImpl.cpp if (event->type() == EventTypeNames::touchstart) event 824 Source/web/WebPluginContainerImpl.cpp event->setDefaultHandled(); event 829 Source/web/WebPluginContainerImpl.cpp synthesizeMouseEventIfPossible(event); event 842 Source/web/WebPluginContainerImpl.cpp void WebPluginContainerImpl::handleGestureEvent(GestureEvent* event) event 844 Source/web/WebPluginContainerImpl.cpp WebGestureEventBuilder webEvent(this, m_element->renderer(), *event); event 849 Source/web/WebPluginContainerImpl.cpp event->setDefaultHandled(); event 857 Source/web/WebPluginContainerImpl.cpp event->setDefaultHandled(); event 859 Source/web/WebPluginContainerImpl.cpp event->setDefaultHandled(); event 864 Source/web/WebPluginContainerImpl.cpp void WebPluginContainerImpl::synthesizeMouseEventIfPossible(TouchEvent* event) event 866 Source/web/WebPluginContainerImpl.cpp WebMouseEventBuilder webEvent(this, m_element->renderer(), *event); event 872 Source/web/WebPluginContainerImpl.cpp event->setDefaultHandled(); event 244 Source/web/WebPluginScrollbarImpl.cpp bool WebPluginScrollbarImpl::handleInputEvent(const WebInputEvent& event) event 246 Source/web/WebPluginScrollbarImpl.cpp switch (event.type) { event 248 Source/web/WebPluginScrollbarImpl.cpp return onMouseDown(event); event 250 Source/web/WebPluginScrollbarImpl.cpp return onMouseUp(event); event 252 Source/web/WebPluginScrollbarImpl.cpp return onMouseMove(event); event 254 Source/web/WebPluginScrollbarImpl.cpp return onMouseLeave(event); event 256 Source/web/WebPluginScrollbarImpl.cpp return onMouseWheel(event); event 258 Source/web/WebPluginScrollbarImpl.cpp return onKeyDown(event); event 284 Source/web/WebPluginScrollbarImpl.cpp bool WebPluginScrollbarImpl::onMouseDown(const WebInputEvent& event) event 286 Source/web/WebPluginScrollbarImpl.cpp WebMouseEvent mousedown = *static_cast<const WebMouseEvent*>(&event); event 296 Source/web/WebPluginScrollbarImpl.cpp bool WebPluginScrollbarImpl::onMouseUp(const WebInputEvent& event) event 298 Source/web/WebPluginScrollbarImpl.cpp WebMouseEvent mouseup = *static_cast<const WebMouseEvent*>(&event); event 306 Source/web/WebPluginScrollbarImpl.cpp bool WebPluginScrollbarImpl::onMouseMove(const WebInputEvent& event) event 308 Source/web/WebPluginScrollbarImpl.cpp WebMouseEvent mousemove = *static_cast<const WebMouseEvent*>(&event); event 322 Source/web/WebPluginScrollbarImpl.cpp bool WebPluginScrollbarImpl::onMouseLeave(const WebInputEvent& event) event 330 Source/web/WebPluginScrollbarImpl.cpp bool WebPluginScrollbarImpl::onMouseWheel(const WebInputEvent& event) event 332 Source/web/WebPluginScrollbarImpl.cpp WebMouseWheelEvent mousewheel = *static_cast<const WebMouseWheelEvent*>(&event); event 337 Source/web/WebPluginScrollbarImpl.cpp bool WebPluginScrollbarImpl::onKeyDown(const WebInputEvent& event) event 339 Source/web/WebPluginScrollbarImpl.cpp WebKeyboardEvent keyboard = *static_cast<const WebKeyboardEvent*>(&event); event 107 Source/web/WebPopupMenuImpl.cpp void WebPopupMenuImpl::handleMouseMove(const WebMouseEvent& event) event 110 Source/web/WebPopupMenuImpl.cpp if (event.x != m_lastMousePosition.x || event.y != m_lastMousePosition.y) { event 111 Source/web/WebPopupMenuImpl.cpp m_lastMousePosition = WebPoint(event.x, event.y); event 112 Source/web/WebPopupMenuImpl.cpp m_widget->handleMouseMoveEvent(PlatformMouseEventBuilder(m_widget, event)); event 120 Source/web/WebPopupMenuImpl.cpp void WebPopupMenuImpl::handleMouseLeave(const WebMouseEvent& event) event 122 Source/web/WebPopupMenuImpl.cpp m_widget->handleMouseMoveEvent(PlatformMouseEventBuilder(m_widget, event)); event 125 Source/web/WebPopupMenuImpl.cpp void WebPopupMenuImpl::handleMouseDown(const WebMouseEvent& event) event 127 Source/web/WebPopupMenuImpl.cpp m_widget->handleMouseDownEvent(PlatformMouseEventBuilder(m_widget, event)); event 130 Source/web/WebPopupMenuImpl.cpp void WebPopupMenuImpl::handleMouseUp(const WebMouseEvent& event) event 133 Source/web/WebPopupMenuImpl.cpp m_widget->handleMouseReleaseEvent(PlatformMouseEventBuilder(m_widget, event)); event 136 Source/web/WebPopupMenuImpl.cpp void WebPopupMenuImpl::handleMouseWheel(const WebMouseWheelEvent& event) event 138 Source/web/WebPopupMenuImpl.cpp m_widget->handleWheelEvent(PlatformWheelEventBuilder(m_widget, event)); event 141 Source/web/WebPopupMenuImpl.cpp bool WebPopupMenuImpl::handleGestureEvent(const WebGestureEvent& event) event 143 Source/web/WebPopupMenuImpl.cpp return m_widget->handleGestureEvent(PlatformGestureEventBuilder(m_widget, event)); event 146 Source/web/WebPopupMenuImpl.cpp bool WebPopupMenuImpl::handleTouchEvent(const WebTouchEvent& event) event 149 Source/web/WebPopupMenuImpl.cpp PlatformTouchEventBuilder touchEventBuilder(m_widget, event); event 154 Source/web/WebPopupMenuImpl.cpp bool WebPopupMenuImpl::handleKeyEvent(const WebKeyboardEvent& event) event 156 Source/web/WebPopupMenuImpl.cpp return m_widget->handleKeyEvent(PlatformKeyboardEventBuilder(event)); event 445 Source/web/WebViewImpl.cpp void WebViewImpl::handleMouseLeave(LocalFrame& mainFrame, const WebMouseEvent& event) event 448 Source/web/WebViewImpl.cpp PageWidgetEventHandler::handleMouseLeave(mainFrame, event); event 451 Source/web/WebViewImpl.cpp void WebViewImpl::handleMouseDown(LocalFrame& mainFrame, const WebMouseEvent& event) event 458 Source/web/WebViewImpl.cpp if (event.button == WebMouseEvent::ButtonLeft) { event 466 Source/web/WebViewImpl.cpp m_lastMouseDownPoint = WebPoint(event.x, event.y); event 468 Source/web/WebViewImpl.cpp if (event.button == WebMouseEvent::ButtonLeft) { event 469 Source/web/WebViewImpl.cpp IntPoint point(event.x, event.y); event 481 Source/web/WebViewImpl.cpp PageWidgetEventHandler::handleMouseDown(mainFrame, event); event 501 Source/web/WebViewImpl.cpp if (event.button == WebMouseEvent::ButtonRight event 502 Source/web/WebViewImpl.cpp || (event.button == WebMouseEvent::ButtonLeft event 503 Source/web/WebViewImpl.cpp && event.modifiers & WebMouseEvent::ControlKey)) event 504 Source/web/WebViewImpl.cpp mouseContextMenu(event); event 506 Source/web/WebViewImpl.cpp if (event.button == WebMouseEvent::ButtonRight) event 507 Source/web/WebViewImpl.cpp mouseContextMenu(event); event 511 Source/web/WebViewImpl.cpp void WebViewImpl::mouseContextMenu(const WebMouseEvent& event) event 518 Source/web/WebViewImpl.cpp PlatformMouseEventBuilder pme(mainFrameImpl()->frameView(), event); event 544 Source/web/WebViewImpl.cpp void WebViewImpl::handleMouseUp(LocalFrame& mainFrame, const WebMouseEvent& event) event 546 Source/web/WebViewImpl.cpp PageWidgetEventHandler::handleMouseUp(mainFrame, event); event 551 Source/web/WebViewImpl.cpp if (event.button == WebMouseEvent::ButtonRight) event 552 Source/web/WebViewImpl.cpp mouseContextMenu(event); event 556 Source/web/WebViewImpl.cpp bool WebViewImpl::handleMouseWheel(LocalFrame& mainFrame, const WebMouseWheelEvent& event) event 559 Source/web/WebViewImpl.cpp return PageWidgetEventHandler::handleMouseWheel(mainFrame, event); event 605 Source/web/WebViewImpl.cpp bool WebViewImpl::handleGestureEvent(const WebGestureEvent& event) event 611 Source/web/WebViewImpl.cpp switch (event.type) { event 616 Source/web/WebViewImpl.cpp m_positionOnFlingStart = WebPoint(event.x / pageScaleFactor(), event.y / pageScaleFactor()); event 617 Source/web/WebViewImpl.cpp m_globalPositionOnFlingStart = WebPoint(event.globalX, event.globalY); event 618 Source/web/WebViewImpl.cpp m_flingModifier = event.modifiers; event 619 Source/web/WebViewImpl.cpp m_flingSourceDevice = event.sourceDevice; event 620 Source/web/WebViewImpl.cpp OwnPtr<WebGestureCurve> flingCurve = adoptPtr(Platform::current()->createFlingAnimationCurve(event.sourceDevice, WebFloatPoint(event.data.flingStart.velocityX, event.data.flingStart.velocityY), WebSize())); event 625 Source/web/WebViewImpl.cpp m_client->didHandleGestureEvent(event, eventCancelled); event 632 Source/web/WebViewImpl.cpp m_client->didHandleGestureEvent(event, eventCancelled); event 638 Source/web/WebViewImpl.cpp PlatformGestureEventBuilder platformEvent(mainFrameImpl()->frameView(), event); event 642 Source/web/WebViewImpl.cpp switch (event.type) { event 658 Source/web/WebViewImpl.cpp switch (event.type) { event 673 Source/web/WebViewImpl.cpp if (event.data.tap.width > 0 && !shouldDisableDesktopWorkarounds()) { event 676 Source/web/WebViewImpl.cpp WebGestureEvent scaledEvent = event; event 677 Source/web/WebViewImpl.cpp scaledEvent.x = event.x / pageScaleFactor(); event 678 Source/web/WebViewImpl.cpp scaledEvent.y = event.y / pageScaleFactor(); event 679 Source/web/WebViewImpl.cpp scaledEvent.data.tap.width = event.data.tap.width / pageScaleFactor(); event 680 Source/web/WebViewImpl.cpp scaledEvent.data.tap.height = event.data.tap.height / pageScaleFactor(); event 756 Source/web/WebViewImpl.cpp m_client->didHandleGestureEvent(event, eventCancelled); event 882 Source/web/WebViewImpl.cpp bool WebViewImpl::handleKeyEvent(const WebKeyboardEvent& event) event 884 Source/web/WebViewImpl.cpp ASSERT((event.type == WebInputEvent::RawKeyDown) event 885 Source/web/WebViewImpl.cpp || (event.type == WebInputEvent::KeyDown) event 886 Source/web/WebViewImpl.cpp || (event.type == WebInputEvent::KeyUp)); event 902 Source/web/WebViewImpl.cpp return m_selectPopup->handleKeyEvent(PlatformKeyboardEventBuilder(event)); event 904 Source/web/WebViewImpl.cpp m_pagePopup->handleKeyEvent(PlatformKeyboardEventBuilder(event)); event 907 Source/web/WebViewImpl.cpp if (WebInputEvent::RawKeyDown == event.type) event 925 Source/web/WebViewImpl.cpp bool isUnmodifiedMenuKey = !(event.modifiers & WebInputEvent::InputModifiers) && event.windowsKeyCode == VKEY_APPS; event 926 Source/web/WebViewImpl.cpp bool isShiftF10 = event.modifiers == WebInputEvent::ShiftKey && event.windowsKeyCode == VKEY_F10; event 927 Source/web/WebViewImpl.cpp if ((isUnmodifiedMenuKey || isShiftF10) && event.type == contextMenuTriggeringEventType) { event 928 Source/web/WebViewImpl.cpp sendContextMenuEvent(event); event 933 Source/web/WebViewImpl.cpp PlatformKeyboardEventBuilder evt(event); event 936 Source/web/WebViewImpl.cpp if (WebInputEvent::RawKeyDown == event.type) { event 946 Source/web/WebViewImpl.cpp return keyEventDefault(event); event 949 Source/web/WebViewImpl.cpp bool WebViewImpl::handleCharEvent(const WebKeyboardEvent& event) event 951 Source/web/WebViewImpl.cpp ASSERT(event.type == WebInputEvent::Char); event 964 Source/web/WebViewImpl.cpp return m_selectPopup->handleKeyEvent(PlatformKeyboardEventBuilder(event)); event 966 Source/web/WebViewImpl.cpp return m_pagePopup->handleKeyEvent(PlatformKeyboardEventBuilder(event)); event 974 Source/web/WebViewImpl.cpp PlatformKeyboardEventBuilder evt(event); event 990 Source/web/WebViewImpl.cpp return keyEventDefault(event); event 1302 Source/web/WebViewImpl.cpp bool WebViewImpl::sendContextMenuEvent(const WebKeyboardEvent& event) event 1322 Source/web/WebViewImpl.cpp bool WebViewImpl::keyEventDefault(const WebKeyboardEvent& event) event 1328 Source/web/WebViewImpl.cpp switch (event.type) { event 1330 Source/web/WebViewImpl.cpp if (event.windowsKeyCode == VKEY_SPACE) { event 1331 Source/web/WebViewImpl.cpp int keyCode = ((event.modifiers & WebInputEvent::ShiftKey) ? VKEY_PRIOR : VKEY_NEXT); event 1332 Source/web/WebViewImpl.cpp return scrollViewWithKeyboard(keyCode, event.modifiers); event 1336 Source/web/WebViewImpl.cpp if (event.modifiers == WebInputEvent::ControlKey) { event 1337 Source/web/WebViewImpl.cpp switch (event.windowsKeyCode) { event 1358 Source/web/WebViewImpl.cpp if (!event.isSystemKey && !(event.modifiers & WebInputEvent::ShiftKey)) event 1359 Source/web/WebViewImpl.cpp return scrollViewWithKeyboard(event.windowsKeyCode, event.modifiers); event 3946 Source/web/WebViewImpl.cpp void WebViewImpl::pointerLockMouseEvent(const WebInputEvent& event) event 3949 Source/web/WebViewImpl.cpp switch (event.type) { event 3963 Source/web/WebViewImpl.cpp const WebMouseEvent& mouseEvent = static_cast<const WebMouseEvent&>(event); event 46 Source/web/tests/ChromeClientImplTest.cpp void setCurrentInputEventForTest(const WebInputEvent* event) event 48 Source/web/tests/ChromeClientImplTest.cpp WebViewImpl::m_currentInputEvent = event; event 105 Source/web/tests/ChromeClientImplTest.cpp WebMouseEvent event; event 106 Source/web/tests/ChromeClientImplTest.cpp event.modifiers = modifiers; event 107 Source/web/tests/ChromeClientImplTest.cpp event.type = WebInputEvent::MouseUp; event 108 Source/web/tests/ChromeClientImplTest.cpp event.button = button; event 109 Source/web/tests/ChromeClientImplTest.cpp setCurrentInputEventForTest(&event); event 63 Source/web/tests/CustomEventTest.cpp virtual void handleEvent(ExecutionContext* context, Event* event) event 65 Source/web/tests/CustomEventTest.cpp EXPECT_EQ(event->type(), "blah"); event 70 Source/web/tests/CustomEventTest.cpp v8::Handle<v8::Value> jsEvent = toV8(event, v8::Handle<v8::Object>(), isolate); event 107 Source/web/tests/CustomEventTest.cpp WebDOMEvent event = frame->frame()->document()->createEvent("CustomEvent", IGNORE_EXCEPTION); event 108 Source/web/tests/CustomEventTest.cpp WebDOMCustomEvent customEvent = event.to<WebDOMCustomEvent>(); event 116 Source/web/tests/CustomEventTest.cpp frame->frame()->document()->dispatchEvent(event); event 632 Source/web/tests/WebFrameTest.cpp WebDOMEvent event = webViewHelper.webView()->mainFrame()->document().createEvent("MessageEvent"); event 633 Source/web/tests/WebFrameTest.cpp WebDOMMessageEvent message = event.to<WebDOMMessageEvent>(); event 3853 Source/web/tests/WebFrameTest.cpp WebGestureEvent event; event 3854 Source/web/tests/WebFrameTest.cpp event.type = WebInputEvent::GestureTap; event 3855 Source/web/tests/WebFrameTest.cpp event.x = x; event 3856 Source/web/tests/WebFrameTest.cpp event.y = y; event 3857 Source/web/tests/WebFrameTest.cpp event.data.tap.width = 50; event 3858 Source/web/tests/WebFrameTest.cpp event.data.tap.height = 50; event 3859 Source/web/tests/WebFrameTest.cpp return event; event 4762 Source/web/tests/WebFrameTest.cpp RefPtrWillBeRawPtr<WebCore::Event> event = WebCore::MouseEvent::create(WebCore::EventTypeNames::click, false, false, event 4765 Source/web/tests/WebFrameTest.cpp frameRequest.setTriggeringEvent(event); event 4812 Source/web/tests/WebFrameTest.cpp RefPtrWillBeRawPtr<WebCore::Event> event = WebCore::MouseEvent::create(WebCore::EventTypeNames::click, false, false, event 4815 Source/web/tests/WebFrameTest.cpp frameRequest.setTriggeringEvent(event); event 62 Source/web/tests/WebInputEventConversionTest.cpp RefPtrWillBeRawPtr<WebCore::KeyboardEvent> event = createKeyboardEventWithLocation(location); event 63 Source/web/tests/WebInputEventConversionTest.cpp blink::WebKeyboardEventBuilder convertedEvent(*event); event 88 Source/web/tests/WebInputEventConversionTest.cpp RefPtrWillBeRawPtr<WebCore::TouchEvent> event = WebCore::TouchEvent::create(); event 89 Source/web/tests/WebInputEventConversionTest.cpp WebMouseEventBuilder mouse(0, 0, *event); event 125 Source/web/tests/WebViewTest.cpp virtual void didHandleGestureEvent(const WebGestureEvent& event, bool eventCancelled) event 127 Source/web/tests/WebViewTest.cpp if (event.type == WebInputEvent::GestureTap) { event 128 Source/web/tests/WebViewTest.cpp m_tapX = event.x; event 129 Source/web/tests/WebViewTest.cpp m_tapY = event.y; event 130 Source/web/tests/WebViewTest.cpp } else if (event.type == WebInputEvent::GestureLongPress) { event 131 Source/web/tests/WebViewTest.cpp m_longpressX = event.x; event 132 Source/web/tests/WebViewTest.cpp m_longpressY = event.y; event 948 Source/web/tests/WebViewTest.cpp WebGestureEvent event; event 949 Source/web/tests/WebViewTest.cpp event.type = type; event 950 Source/web/tests/WebViewTest.cpp event.x = center.x(); event 951 Source/web/tests/WebViewTest.cpp event.y = center.y(); event 953 Source/web/tests/WebViewTest.cpp webView->handleInputEvent(event); event 1000 Source/web/tests/WebViewTest.cpp WebGestureEvent event; event 1001 Source/web/tests/WebViewTest.cpp event.type = WebInputEvent::GestureTap; event 1002 Source/web/tests/WebViewTest.cpp webView->handleInputEvent(event); event 1014 Source/web/tests/WebViewTest.cpp WebGestureEvent event; event 1015 Source/web/tests/WebViewTest.cpp event.type = WebInputEvent::GestureTap; event 1016 Source/web/tests/WebViewTest.cpp event.x = 3; event 1017 Source/web/tests/WebViewTest.cpp event.y = 8; event 1018 Source/web/tests/WebViewTest.cpp webView->handleInputEvent(event); event 1023 Source/web/tests/WebViewTest.cpp event.type = WebInputEvent::GestureLongPress; event 1024 Source/web/tests/WebViewTest.cpp event.x = 25; event 1025 Source/web/tests/WebViewTest.cpp event.y = 7; event 1026 Source/web/tests/WebViewTest.cpp webView->handleInputEvent(event); event 1120 Source/web/tests/WebViewTest.cpp WebGestureEvent event; event 1121 Source/web/tests/WebViewTest.cpp event.type = WebInputEvent::GestureShowPress; event 1122 Source/web/tests/WebViewTest.cpp event.x = 20; event 1123 Source/web/tests/WebViewTest.cpp event.y = 20; event 1126 Source/web/tests/WebViewTest.cpp webViewImpl->handleInputEvent(event); event 404 public/web/WebFrameClient.h WebDOMMessageEvent event) { return false; } event 180 public/web/WebWidgetClient.h virtual void didHandleGestureEvent(const WebGestureEvent& event, bool eventCancelled) { }