• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebKit2-7600.1.25/WebProcess/WebPage/

Lines Matching +refs:frame +refs:width

76 static PluginView* pluginViewForFrame(Frame* frame)
78 if (!frame->document()->isPluginDocument())
81 PluginDocument* pluginDocument = static_cast<PluginDocument*>(frame->document());
109 for (Frame* frame = &page->mainFrame(); frame; frame = frame->tree().traverseNext()) {
110 if (frame->selection().isRange())
111 return frame;
258 bool FindController::getFindIndicatorBitmapAndRect(Frame& frame, ShareableBitmap::Handle& handle, IntRect& selectionRect)
260 selectionRect = enclosingIntRect(frame.selection().selectionBounds());
281 paintRect.move(frame.view()->frameRect().x(), frame.view()->frameRect().y());
282 paintRect.move(-frame.view()->scrollOffset());
285 frame.view()->setPaintBehavior(PaintBehaviorSelectionOnly | PaintBehaviorForceBlackText | PaintBehaviorFlattenCompositingLayers);
286 frame.document()->updateLayout();
288 frame.view()->paint(graphicsContext.get(), paintRect);
289 frame.view()->setPaintBehavior(PaintBehaviorNormal);
300 Frame* frame = m_findMatches[matchIndex]->startContainer()->document().frame();
301 if (!frame)
304 VisibleSelection oldSelection = frame->selection().selection();
305 frame->selection().setSelection(VisibleSelection(m_findMatches[matchIndex].get()));
309 getFindIndicatorBitmapAndRect(*frame, handle, selectionRect);
311 frame->selection().setSelection(oldSelection);
323 Frame* frame = m_findMatches[matchIndex]->startContainer()->document().frame();
324 if (!frame)
326 frame->selection().setSelection(VisibleSelection(m_findMatches[matchIndex].get()));
422 for (Frame* frame = &m_webPage->corePage()->mainFrame(); frame; frame = frame->tree().traverseNext()) {
423 Document* document = frame->document();
427 IntRect visibleRect = frame->view()->visibleContentRect();
429 IntPoint frameOffset(-frame->view()->documentScrollOffsetRelativeToViewOrigin().width(), -frame->view()->documentScrollOffsetRelativeToViewOrigin().height());
430 frameOffset = frame->view()->convertToContainingWindow(frameOffset);