• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/page/

Lines Matching +refs:frame +refs:width

324 EventHandler::EventHandler(Frame& frame)
325 : m_frame(frame)
1063 // We always send hitTestResultAtPoint to the main frame if we have one,
1075 HitTestResult result(point, padding.height(), padding.width(), padding.height(), padding.width());
1082 // hitTestResultAtPoint is specifically used to hitTest into all frames, thus it always allows child frame content.
1148 Frame* frame = &m_frame;
1149 FrameView* view = frame->view();
1152 frame = frame->tree().parent();
1153 if (!frame)
1155 return frame->eventHandler().scrollRecursively(direction, granularity, m_frame.ownerElement());
1165 Frame* frame = &m_frame;
1166 FrameView* view = frame->view();
1180 frame = frame->tree().parent();
1181 if (!frame)
1184 return frame->eventHandler().logicalScrollRecursively(direction, granularity, m_frame.ownerElement());
1212 return &toFrameView(widget)->frame();
1222 static bool nodeIsNotBeingEdited(const Node& node, const Frame& frame)
1224 return frame.selection().selection().rootEditableElement() != node.rootEditableElement();
1362 if (size.width() > maximumCursorSize || size.height() > maximumCursorSize)
1516 static LayoutPoint documentPointForWindowPoint(Frame& frame, const IntPoint& windowPoint)
1518 FrameView* view = frame.view();
1579 // Start capturing future events for this frame. We only do this if we didn't clear
2029 static bool targetIsFrame(Node* target, Frame*& frame)
2037 frame = toHTMLFrameElementBase(target)->contentFrame();
2336 if (Frame* frame = m_lastElementUnderMouse->document().frame()) {
2337 if (FrameView* frameView = frame->view())
2342 if (Frame* frame = m_lastElementUnderMouse->document().frame()) {
2343 if (FrameView* frameView = frame->view()) {
2352 if (Frame* frame = m_elementUnderMouse->document().frame()) {
2353 if (FrameView* frameView = frame->view())
2358 if (Frame* frame = m_elementUnderMouse->document().frame()) {
2359 if (FrameView* frameView = frame->view()) {
2445 // If clicking on a frame scrollbar, do not mess up with content focus.
2531 // We do another check on the frame view because the event handler can run JS which results in the frame getting destroyed.
2987 // If frame changed as a result of keydown dispatch, then return true to avoid sending a subsequent keypress message to the new frame.
3009 // If frame changed as a result of keydown dispatch, then return early to avoid sending a subsequent keypress message to the new frame.
3060 static void setInitialKeyboardSelection(Frame& frame, SelectionDirection direction)
3062 Document* document = frame.document();
3066 FrameSelection& selection = frame.selection();
3094 static void handleKeyboardSelectionMovement(Frame& frame, KeyboardEvent* event)
3099 FrameSelection& selection = frame.selection();
3137 setInitialKeyboardSelection(frame, direction);
3210 return abs(delta.width()) >= threshold || abs(delta.height()) >= threshold;
3350 dragState().dataTransfer->setDragImage(dragState().source.get(), delta.width(), delta.height());
3633 static HitTestResult hitTestResultInFrame(Frame* frame, const LayoutPoint& point, HitTestRequest::HitTestRequestType hitType)
3637 if (!frame || !frame->contentRenderer())
3639 if (frame->view()) {
3640 IntRect rect = frame->view()->visibleContentRect();
3644 frame->contentRenderer()->hitTest(HitTestRequest(hitType), result);
3727 } else if (m_originatingTouchPointDocument.get() && m_originatingTouchPointDocument->frame()) {
3728 LayoutPoint pagePointInOriginatingDocument = documentPointForWindowPoint(*m_originatingTouchPointDocument->frame(), point.pos());
3729 result = hitTestResultInFrame(m_originatingTouchPointDocument->frame(), pagePointInOriginatingDocument, hitType);
3771 Frame* targetFrame = doc.frame();
3776 // pagePoint should always be relative to the target elements containing frame.