Home
last modified time | relevance | path

Searched refs:currentEvent (Results 1 – 25 of 57) sorted by relevance

123

/external/webkit/Source/WebKit2/WebProcess/Plugins/
DPluginView.cpp560 const WebEvent* currentEvent = WebPage::currentEvent(); in handleEvent() local
561 if (!currentEvent) in handleEvent()
566 … if ((event->type() == eventNames().mousemoveEvent && currentEvent->type() == WebEvent::MouseMove) in handleEvent()
567 … || (event->type() == eventNames().mousedownEvent && currentEvent->type() == WebEvent::MouseDown) in handleEvent()
568 … || (event->type() == eventNames().mouseupEvent && currentEvent->type() == WebEvent::MouseUp)) { in handleEvent()
570 if (currentEvent->type() == WebEvent::MouseDown) in handleEvent()
573 … didHandleEvent = m_plugin->handleMouseEvent(static_cast<const WebMouseEvent&>(*currentEvent)); in handleEvent()
574 …} else if (event->type() == eventNames().mousewheelEvent && currentEvent->type() == WebEvent::Whee… in handleEvent()
576 … didHandleEvent = m_plugin->handleWheelEvent(static_cast<const WebWheelEvent&>(*currentEvent)); in handleEvent()
577 …} else if (event->type() == eventNames().mouseoverEvent && currentEvent->type() == WebEvent::Mouse… in handleEvent()
[all …]
/external/webkit/Source/WebCore/bindings/js/
DJSDOMGlobalObject.cpp69 void JSDOMGlobalObject::setCurrentEvent(Event* currentEvent) in setCurrentEvent() argument
71 m_currentEvent = currentEvent; in setCurrentEvent()
74 Event* JSDOMGlobalObject::currentEvent() const in currentEvent() function in WebCore::JSDOMGlobalObject
DJSErrorHandler.cpp82 Event* savedEvent = globalObject->currentEvent(); in handleEvent()
DJSDOMGlobalObject.h61 Event* currentEvent() const;
DScriptController.cpp260 if (Event* event = shell->window()->currentEvent()) in processingUserGesture()
295 Event* event = shell->window()->currentEvent(); in anyPageIsProcessingUserGesture()
DJSEventListener.cpp112 Event* savedEvent = globalObject->currentEvent(); in handleEvent()
/external/chromium/chrome/browser/tab_contents/
Drender_view_context_menu_mac.mm37 // [NSApp currentEvent] will return a valid event.
38 NSEvent* currentEvent = [NSApp currentEvent];
41 NSTimeInterval eventTime = [currentEvent timestamp];
/external/chromium/chrome/browser/ui/cocoa/tab_contents/
Dweb_contents_drag_source.mm73 NSEvent* currentEvent = [NSApp currentEvent];
76 // [NSApp currentEvent] will return a valid dragging event.
79 NSTimeInterval eventTime = [currentEvent timestamp];
Dweb_drag_source.mm241 NSEvent* currentEvent = [NSApp currentEvent];
244 // [NSApp currentEvent] will return a valid dragging event.
247 NSTimeInterval eventTime = [currentEvent timestamp];
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DDragClientGtk.cpp107 GOwnPtr<GdkEvent> currentEvent(gtk_get_current_event()); in startDrag() local
109 …getList.get(), dragOperationToGdkDragActions(clipboard->sourceOperation()), 1, currentEvent.get()); in startDrag()
/external/webkit/Source/WebKit/mac/WebView/
DWebViewEventHandling.mm178 modifierFlags:[[NSApp currentEvent] modifierFlags]
181 context:[[NSApp currentEvent] context]
200 modifierFlags:[[NSApp currentEvent] modifierFlags]
203 context:[[NSApp currentEvent] context]
DWebWindowAnimation.m34 …return ([[NSApp currentEvent] modifierFlags] & NSShiftKeyMask) ? duration * slowMotionFactor : dur…
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_folder_target.mm45 // draggable. Thus we must use [NSApp currentEvent].
57 NSEvent* event = [NSApp currentEvent];
Dbookmark_menu_cocoa_controller.mm80 event_utils::WindowOpenDispositionFromNSEvent([NSApp currentEvent]);
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_item_button.mm41 withEvent:[NSApp currentEvent]
Ddownload_util_mac.mm49 NSTimeInterval eventTime = [[NSApp currentEvent] timestamp];
/external/chromium/chrome/browser/ui/cocoa/
Dhistory_menu_cocoa_controller.mm37 event_utils::WindowOpenDispositionFromNSEvent([NSApp currentEvent]);
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dautocomplete_text_field.mm131 NSEvent* currentEvent = [NSApp currentEvent];
132 if ([currentEvent type] == NSLeftMouseUp &&
321 NSEvent* theEvent = [NSApp currentEvent];
/external/webkit/Source/WebCore/page/mac/
DEventHandlerMac.mm124 NSEvent *event = [NSApp currentEvent];
176 // just pass currentEvent down to the widget, we don't want to call it for events that
190 // When they finish, currentEvent is the mouseUp that they exited on. We need to update
196 NSEvent *currentEventAfterHandlingMouseDown = [NSApp currentEvent];
270 // When they finish, currentEvent is the mouseUp that they exited on. We need to update
/external/chromium/chrome/browser/ui/cocoa/toolbar/
Dback_forward_menu_controller.mm99 event_utils::WindowOpenDispositionFromNSEvent([NSApp currentEvent]));
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_controller_unittest.mm41 NSEvent* current = [NSApp currentEvent];
184 NSEvent* current = [NSApp currentEvent];
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DWebPage.cpp879 const WebEvent* WebPage::currentEvent() in currentEvent() function in WebKit::WebPage
966 CurrentEvent currentEvent(mouseEvent); in mouseEvent() local
986 CurrentEvent currentEvent(wheelEvent); in wheelEvent() local
1004 CurrentEvent currentEvent(keyboardEvent); in keyEvent() local
1027 CurrentEvent currentEvent(gestureEvent); in gestureEvent() local
1095 CurrentEvent currentEvent(touchEvent); in touchEvent() local
/external/chromium/chrome/browser/ui/cocoa/notifications/
Dballoon_controller.mm139 withEvent:[NSApp currentEvent]
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
DSDL_QuartzWindow.m137 NSEvent *event = [self currentEvent];
/external/chromium/chrome/browser/ui/cocoa/infobars/
Dinfobar_controller.mm376 event_utils::WindowOpenDispositionFromNSEvent([NSApp currentEvent]);
497 event_utils::WindowOpenDispositionFromNSEvent([NSApp currentEvent]);

123