Home
last modified time | relevance | path

Searched refs:mouseEvent (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium-trace/trace-viewer/src/tracing/
Dtimeline_track_view.js662 storeInitialInteractionPositionsAndFocus_: function(mouseEvent) { argument
664 this.storeInitialMouseDownPos_(mouseEvent);
665 this.storeLastMousePos_(mouseEvent);
672 var mouseEvent = e.data;
674 if (!this.canBeginInteraction_(mouseEvent))
680 this.storeInitialInteractionPositionsAndFocus_(mouseEvent);
681 mouseEvent.preventDefault();
690 var mouseEvent = e.data;
702 mouseEvent.preventDefault();
703 mouseEvent.stopPropagation();
[all …]
/external/chromium_org/third_party/WebKit/Source/core/loader/
DNavigationAction.cpp65 const MouseEvent* mouseEvent = 0; in NavigationAction() local
69 mouseEvent = toMouseEvent(event.get()); in NavigationAction()
71 mouseEvent = toMouseEvent(event->underlyingEvent()); in NavigationAction()
74 … (!mouseEvent || !navigationPolicyFromMouseEvent(mouseEvent->button(), mouseEvent->ctrlKey(), mous… in NavigationAction()
/external/chromium_org/ui/base/cocoa/
Dbase_view.mm25 - (void)mouseEvent:(NSEvent*)theEvent {
38 [self mouseEvent:theEvent];
42 [self mouseEvent:theEvent];
46 [self mouseEvent:theEvent];
50 [self mouseEvent:theEvent];
64 [self mouseEvent:exitEvent];
70 [self mouseEvent:theEvent];
74 [self mouseEvent:theEvent];
78 [self mouseEvent:theEvent];
82 [self mouseEvent:theEvent];
[all …]
Dbase_view.h34 - (void)mouseEvent:(NSEvent *)theEvent;
/external/chromium-trace/trace-viewer/src/ui/
Dmouse_mode_selector.js166 var mouseEvent = new base.Event(eventNames.begin, true, true);
167 mouseEvent.data = e;
168 this.dispatchEvent(mouseEvent);
174 var mouseEvent = new base.Event(eventNames.update, true, true);
175 mouseEvent.data = e;
176 this.dispatchEvent(mouseEvent);
181 var mouseEvent = new base.Event(eventNames.end, true, true);
186 mouseEvent.data = e;
187 this.dispatchEvent(mouseEvent);
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DSpinButtonElement.cpp90 MouseEvent* mouseEvent = toMouseEvent(event); in defaultEventHandler() local
91 …IntPoint local = roundedIntPoint(box->absoluteToLocal(mouseEvent->absoluteLocation(), UseTransform… in defaultEventHandler()
92 if (mouseEvent->type() == EventTypeNames::mousedown && mouseEvent->button() == LeftButton) { in defaultEventHandler()
113 … } else if (mouseEvent->type() == EventTypeNames::mouseup && mouseEvent->button() == LeftButton) { in defaultEventHandler()
DSliderThumbElement.cpp212 MouseEvent* mouseEvent = toMouseEvent(event); in defaultEventHandler() local
213 bool isLeftButton = mouseEvent->button() == LeftButton; in defaultEventHandler()
227 setPositionFromPoint(mouseEvent->absoluteLocation()); in defaultEventHandler()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/
DSpectrum.js168 var mouseEvent = /** @type {!MouseEvent} */ (e);
169 var rightClick = mouseEvent.which ? (mouseEvent.which === 3) : (mouseEvent.button === 2);
174 onstart(element, mouseEvent);
188 move(mouseEvent);
189 consume(mouseEvent);
/external/chromium_org/third_party/WebKit/Source/core/events/
DMouseEvent.cpp220 MouseEvent* mouseEvent = toMouseEvent(this->underlyingEvent()); in SimulatedMouseEvent() local
221 m_screenLocation = mouseEvent->screenLocation(); in SimulatedMouseEvent()
222 initCoordinates(mouseEvent->clientLocation()); in SimulatedMouseEvent()
231 … MouseEventDispatchMediator::create(PassRefPtrWillBeRawPtr<MouseEvent> mouseEvent, MouseEventType … in create() argument
233 return adoptRefWillBeNoop(new MouseEventDispatchMediator(mouseEvent, mouseEventType)); in create()
236 …ediator::MouseEventDispatchMediator(PassRefPtrWillBeRawPtr<MouseEvent> mouseEvent, MouseEventType … in MouseEventDispatchMediator() argument
237 : EventDispatchMediator(mouseEvent), m_mouseEventType(mouseEventType) in MouseEventDispatchMediator()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DImageInputType.cpp102 MouseEvent* mouseEvent = toMouseEvent(event->underlyingEvent()); in extractClickLocation() local
103 if (mouseEvent->isSimulated()) in extractClickLocation()
105 return IntPoint(mouseEvent->offsetX(), mouseEvent->offsetY()); in extractClickLocation()
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventHandler.cpp1201 bool EventHandler::handleMousePressEvent(const PlatformMouseEvent& mouseEvent) in handleMousePressEvent() argument
1215 setLastKnownMousePosition(mouseEvent); in handleMousePressEvent()
1216 m_mouseDownTimestamp = mouseEvent.timestamp(); in handleMousePressEvent()
1221 m_mouseDownPos = view->windowToContents(mouseEvent.position()); in handleMousePressEvent()
1231 LayoutPoint documentPoint = documentPointForWindowPoint(m_frame, mouseEvent.position()); in handleMousePressEvent()
1232 …ithHitTestResults mev = m_frame->document()->prepareMouseEvent(request, documentPoint, mouseEvent); in handleMousePressEvent()
1267 m_clickCount = mouseEvent.clickCount(); in handleMousePressEvent()
1272 IntPoint p = view->windowToContents(mouseEvent.position()); in handleMousePressEvent()
1284 … = !dispatchMouseEvent(EventTypeNames::mousedown, mev.innerNode(), m_clickCount, mouseEvent, true); in handleMousePressEvent()
1289 swallowEvent = swallowEvent || handleMouseFocus(mouseEvent); in handleMousePressEvent()
[all …]
DContextMenuController.cpp154 MouseEvent* mouseEvent = toMouseEvent(event); in createContextMenu() local
155 …return createContextMenu(event->target()->toNode()->document().frame(), mouseEvent->absoluteLocati… in createContextMenu()
DAutoscrollController.cpp175 …troller::handleMouseReleaseForPanScrolling(LocalFrame* frame, const PlatformMouseEvent& mouseEvent) in handleMouseReleaseForPanScrolling() argument
181 if (mouseEvent.button() == MiddleButton) in handleMouseReleaseForPanScrolling()
/external/chromium_org/third_party/WebKit/Source/web/
DPopupMenuTest.cpp241 PlatformMouseEvent mouseEvent(point, point, LeftButton, PlatformEvent::MousePressed, in simulateLeftMouseDownEvent() local
243 webView()->selectPopup()->handleMouseDownEvent(mouseEvent); in simulateLeftMouseDownEvent()
247 PlatformMouseEvent mouseEvent(point, point, LeftButton, PlatformEvent::MouseReleased, in simulateLeftMouseUpEvent() local
249 webView()->selectPopup()->handleMouseReleaseEvent(mouseEvent); in simulateLeftMouseUpEvent()
369 PlatformMouseEvent mouseEvent(row1Point, row1Point, NoButton, PlatformEvent::MouseMoved, in TEST_F() local
371 webView()->selectPopup()->handleMouseMoveEvent(mouseEvent); in TEST_F()
DChromeClientImpl.cpp253 const WebMouseEvent* mouseEvent = static_cast<const WebMouseEvent*>(inputEvent); in updatePolicyForEvent() local
256 switch (mouseEvent->button) { in updatePolicyForEvent()
269 bool ctrl = mouseEvent->modifiers & WebMouseEvent::ControlKey; in updatePolicyForEvent()
270 bool shift = mouseEvent->modifiers & WebMouseEvent::ShiftKey; in updatePolicyForEvent()
271 bool alt = mouseEvent->modifiers & WebMouseEvent::AltKey; in updatePolicyForEvent()
272 bool meta = mouseEvent->modifiers & WebMouseEvent::MetaKey; in updatePolicyForEvent()
DWebDevToolsAgentImpl.cpp351 …PlatformMouseEvent mouseEvent = PlatformMouseEventBuilder(page->deprecatedLocalMainFrame()->view()… in handleInputEvent() local
352 return ic->handleMouseEvent(toLocalFrame(page->mainFrame()), mouseEvent); in handleInputEvent()
/external/chromium_org/third_party/WebKit/Source/core/html/
DImageDocument.cpp390 MouseEvent* mouseEvent = toMouseEvent(event); in handleEvent() local
391 m_doc->imageClicked(mouseEvent->x(), mouseEvent->y()); in handleEvent()
DHTMLSelectElement.cpp1445 MouseEvent* mouseEvent = toMouseEvent(event); in listBoxDefaultEventHandler() local
1446 int listIndex = listIndexForEventTargetOption(*mouseEvent); in listBoxDefaultEventHandler()
1450 updateSelectedState(listIndex, mouseEvent->metaKey(), mouseEvent->shiftKey()); in listBoxDefaultEventHandler()
1452 updateSelectedState(listIndex, mouseEvent->ctrlKey(), mouseEvent->shiftKey()); in listBoxDefaultEventHandler()
1461 MouseEvent* mouseEvent = toMouseEvent(event); in listBoxDefaultEventHandler() local
1462 if (mouseEvent->button() != LeftButton || !mouseEvent->buttonDown()) in listBoxDefaultEventHandler()
1468 int listIndex = listIndexForEventTargetOption(*mouseEvent); in listBoxDefaultEventHandler()
/external/chromium_org/ppapi/examples/ime/
Dime.cc470 const pp::MouseInputEvent mouseEvent(event); in HandleInputEvent() local
471 ret = OnMouseDown(mouseEvent); in HandleInputEvent()
475 const pp::MouseInputEvent mouseEvent(event); in HandleInputEvent() local
476 ret = OnMouseMove(mouseEvent); in HandleInputEvent()
480 const pp::MouseInputEvent mouseEvent(event); in HandleInputEvent() local
481 ret = OnMouseUp(mouseEvent); in HandleInputEvent()
/external/chromium_org/third_party/WebKit/public/web/mac/
DWebInputEventFactory.h55 BLINK_EXPORT static WebMouseEvent mouseEvent(NSEvent*, NSView*);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DHitTestRequest.h57 bool mouseEvent() const { return !touchEvent(); } in mouseEvent() function
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_section_view.mm29 - (void)mouseEvent:(NSEvent*)event {
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollbar.cpp430 void Scrollbar::mouseUp(const PlatformMouseEvent& mouseEvent) in mouseUp() argument
440 ScrollbarPart part = theme()->hitTest(this, mouseEvent.position()); in mouseUp()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebViewTest.cpp2144 WebMouseEvent mouseEvent; in TEST_F() local
2145 mouseEvent.button = WebMouseEvent::ButtonLeft; in TEST_F()
2146 mouseEvent.x = 1; in TEST_F()
2147 mouseEvent.y = 1; in TEST_F()
2148 mouseEvent.clickCount = 1; in TEST_F()
2149 mouseEvent.type = WebInputEvent::MouseDown; in TEST_F()
2150 webView->handleInputEvent(mouseEvent); in TEST_F()
2151 mouseEvent.type = WebInputEvent::MouseUp; in TEST_F()
2152 webView->handleInputEvent(mouseEvent); in TEST_F()
DWebInputEventConversionTest.cpp375 …RefPtrWillBeRawPtr<MouseEvent> mouseEvent = MouseEvent::create(EventTypeNames::mousemove, domWindo… in TEST() local
376 WebMouseEventBuilder webMouseBuilder(view, documentRenderView, *mouseEvent); in TEST()
388 …RefPtrWillBeRawPtr<MouseEvent> mouseEvent = MouseEvent::create(EventTypeNames::mousemove, domWindo… in TEST() local
389 WebMouseEventBuilder webMouseBuilder(view, documentRenderView, *mouseEvent); in TEST()

12