Lines Matching refs:selectedFrame
103 static String selectMisspelledWord(const ContextMenu* defaultMenu, Frame* selectedFrame)
106 String misspelledWord = selectedFrame->editor()->selectedText().stripWhiteSpace();
117 HitTestResult hitTestResult = selectedFrame->eventHandler()->
118 hitTestResultAtPoint(selectedFrame->page()->contextMenuController()->hitTestResult().point(), true);
126 WebFrameImpl::selectWordAroundPosition(selectedFrame, pos);
127 misspelledWord = selectedFrame->editor()->selectedText().stripWhiteSpace();
133 selectedFrame->selection()->setSelection(VisibleSelection(pos));
136 selectedFrame->selection()->setSelection(VisibleSelection(pos));
153 Frame* selectedFrame = r.innerNonSharedNode()->document()->frame();
156 data.mousePosition = selectedFrame->view()->contentsToWindow(r.point());
241 data.frameEncoding = selectedFrame->document()->loader()->writer()->encoding();
245 if (selectedFrame != m_webView->mainFrameImpl()->frame()) {
246 data.frameURL = urlFromFrame(selectedFrame);
247 RefPtr<HistoryItem> historyItem = selectedFrame->loader()->history()->currentItem();
253 data.selectedText = selectedFrame->editor()->selectedText().stripWhiteSpace();
261 data.misspelledWord = selectMisspelledWord(defaultMenu, selectedFrame);
275 if (selectedFrame->editor()->selectionHasStyle(CSSPropertyDirection, "ltr") != FalseTriState)
277 if (selectedFrame->editor()->selectionHasStyle(CSSPropertyDirection, "rtl") != FalseTriState)
282 DocumentLoader* dl = selectedFrame->loader()->documentLoader();
292 WebFrame* selected_web_frame = WebFrameImpl::fromFrame(selectedFrame);