Home | History | Annotate | Download | only in WebPage

Lines Matching refs:selectedFrame

97     Frame* selectedFrame = frameWithSelection(m_webPage->corePage());
103 if (selectedFrame)
104 selectedFrame->selection()->clear();
127 if (!(options & FindOptionsShowFindIndicator) || !updateFindIndicator(selectedFrame, shouldShowOverlay)) {
161 bool FindController::updateFindIndicator(Frame* selectedFrame, bool isShowingOverlay)
163 if (!selectedFrame)
166 IntRect selectionRect = enclosingIntRect(selectedFrame->selection()->bounds());
173 IntRect selectionRectInWindowCoordinates = selectedFrame->view()->contentsToWindow(selectionRect);
176 selectedFrame->selection()->getClippedVisibleTextRectangles(textRects);
186 paintRect.move(selectedFrame->view()->frameRect().x(), selectedFrame->view()->frameRect().y());
187 paintRect.move(-selectedFrame->view()->scrollOffset());
190 selectedFrame->view()->setPaintBehavior(PaintBehaviorSelectionOnly | PaintBehaviorForceBlackText | PaintBehaviorFlattenCompositingLayers);
191 selectedFrame->document()->updateLayout();
193 selectedFrame->view()->paint(graphicsContext.get(), paintRect);
194 selectedFrame->view()->setPaintBehavior(PaintBehaviorNormal);
204 IntRect textRectInSelectionRectCoordinates = selectedFrame->view()->contentsToWindow(enclosingIntRect(textRects[i]));