Home
last modified time | relevance | path

Searched refs:focusedFrame (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/content/renderer/
Dtext_input_client_observer.cc48 size_t index = webview()->focusedFrame()->characterIndexForPoint(web_point); in OnCharacterIndexForPoint()
61 blink::WebFrame* frame = webview()->focusedFrame(); in OnFirstRectForCharacterRange()
75 blink::WebFrame* frame = webview()->focusedFrame(); in OnStringForRange()
Drender_view_impl.cc1584 if (webview() && webview()->focusedFrame()) { in OnReloadFrame()
1588 webview()->focusedFrame()->reload(false); in OnReloadFrame()
1613 webview()->focusedFrame()->executeCommand(WebString::fromUTF8("Copy"), in OnCopy()
1622 webview()->focusedFrame()->executeCommand(WebString::fromUTF8("Cut"), in OnCut()
1630 webview()->focusedFrame()->executeCommand(WebString::fromUTF8("Delete"), in OnDelete()
1636 if (!webview() || !webview()->focusedFrame()) in OnExecuteEditCommand()
1639 webview()->focusedFrame()->executeCommand( in OnExecuteEditCommand()
1649 webview()->focusedFrame()->moveCaretSelection(point); in OnMoveCaret()
1657 webview()->focusedFrame()->executeCommand(WebString::fromUTF8("Paste"), in OnPaste()
1666 webview()->focusedFrame()->executeCommand( in OnPasteAndMatchStyle()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/dom/
DTreeScope.cpp347 static Element* focusedFrameOwnerElement(Frame* focusedFrame, Frame* currentFrame) in focusedFrameOwnerElement() argument
349 for (; focusedFrame; focusedFrame = focusedFrame->tree().parent()) { in focusedFrameOwnerElement()
350 if (focusedFrame->tree().parent() == currentFrame) in focusedFrameOwnerElement()
351 return focusedFrame->ownerElement(); in focusedFrameOwnerElement()
361 …element = focusedFrameOwnerElement(document.page()->focusController().focusedFrame(), document.fra… in adjustedFocusedElement()
/external/chromium_org/chrome/renderer/spellchecker/
Dspellcheck_provider.cc118 WebFrame* frame = render_view()->GetWebView()->focusedFrame(); in FocusedNodeChanged()
260 render_view()->GetWebView()->focusedFrame()->executeCommand( in OnAdvanceToNextMisspelling()
293 render_view()->GetWebView()->focusedFrame()->executeCommand( in OnToggleSpellPanel()
302 WebFrame* frame = render_view()->GetWebView()->focusedFrame(); in EnableSpellcheck()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLDocument.cpp128 if (Frame* focusedFrame = page->focusController().focusedFrame()) { in hasFocus() local
129 if (focusedFrame->tree().isDescendantOf(frame())) in hasFocus()
DHTMLFrameElementBase.cpp198 …else if (page->focusController().focusedFrame() == contentFrame()) // Focus may have already been … in setFocus()
/external/chromium_org/third_party/WebKit/Source/web/
DWebViewImpl.cpp1397 Frame* focusedFrame = page()->focusController().focusedOrMainFrame(); in sendContextMenuEvent() local
1398 bool handled = focusedFrame->eventHandler().sendContextMenuEventForKey(); in sendContextMenuEvent()
1422 focusedFrame()->executeCommand(WebString::fromUTF8("SelectAll")); in keyEventDefault()
1426 focusedFrame()->executeCommand(WebString::fromUTF8("Copy")); in keyEventDefault()
2010 RefPtr<Frame> focusedFrame = m_page->focusController().focusedFrame(); in setFocus() local
2011 if (focusedFrame) { in setFocus()
2012 Element* element = focusedFrame->document()->focusedElement(); in setFocus()
2013 if (element && focusedFrame->selection().selection().isNone()) { in setFocus()
2025focusedFrame->selection().setSelection(VisibleSelection(position, SEL_DEFAULT_AFFINITY)); in setFocus()
2041 RefPtr<Frame> focusedFrame = m_page->focusController().focusedFrame(); in setFocus() local
[all …]
DWebViewImpl.h209 virtual WebFrame* focusedFrame();
/external/chromium_org/third_party/WebKit/Source/core/page/
DFocusController.cpp258 if (Frame* frame = focusedFrame()) in focusedOrMainFrame()
623 RefPtr<Frame> oldFocusedFrame = focusedFrame(); in setFocusedElement()
772 …Element* focusedElement = (focusedFrame() && focusedFrame()->document()) ? focusedFrame()->documen… in findFocusCandidateInContainer()
DFocusController.h70 Frame* focusedFrame() const { return m_focusedFrame.get(); } in focusedFrame() function
/external/chromium_org/content/renderer/accessibility/
Drenderer_accessibility_focus_only.cc50 if (view->focusedFrame() != frame) in DidFinishLoad()
/external/chromium_org/chrome/renderer/
Dcontent_settings_observer_browsertest.cc77 observer.allowStorage(view_->GetWebView()->focusedFrame(), true); in TEST_F()
81 observer.allowStorage(view_->GetWebView()->focusedFrame(), true); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DTextInputController.cpp177 WebFrame* frame = m_webView->focusedFrame(); in firstRectForCharacterRange()
DTestRunner.cpp1159 …m_webView->focusedFrame()->executeCommand(WebString::fromUTF8(command), WebString::fromUTF8(value)… in execCommand()
1170 bool rv = m_webView->focusedFrame()->isCommandEnabled(WebString::fromUTF8(command)); in isCommandEnabled()
1194 …m_webView->focusedFrame()->executeScriptInIsolatedWorld(arguments[0].toInt32(), &source, 1, 1, &va… in evaluateScriptInIsolatedWorldAndReturnValue()
1222 … m_webView->focusedFrame()->executeScriptInIsolatedWorld(arguments[0].toInt32(), &source, 1, 1); in evaluateScriptInIsolatedWorld()
1237 m_webView->focusedFrame()->setIsolatedWorldSecurityOrigin(arguments[0].toInt32(), origin); in setIsolatedWorldSecurityOrigin()
1247 …m_webView->focusedFrame()->setIsolatedWorldContentSecurityPolicy(arguments[0].toInt32(), cppVarian… in setIsolatedWorldContentSecurityPolicy()
/external/chromium_org/third_party/WebKit/public/web/
DWebView.h184 virtual WebFrame* focusedFrame() = 0;
/external/chromium_org/chrome/renderer/printing/
Dprint_web_view_helper.cc860 blink::WebFrame* focusedFrame = webView->focusedFrame(); in GetPrintFrame() local
861 *frame = focusedFrame->hasSelection() ? focusedFrame : webView->mainFrame(); in GetPrintFrame()
Dprint_web_view_helper_browsertest.cc318 ASSERT_NE(view_->GetWebView()->focusedFrame(), in TEST_F()
/external/chromium_org/android_webview/renderer/
Dprint_web_view_helper.cc869 blink::WebFrame* focusedFrame = webView->focusedFrame(); in GetPrintFrame() local
870 *frame = focusedFrame->hasSelection() ? focusedFrame : webView->mainFrame(); in GetPrintFrame()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DFrame.cpp348 if (page() && page()->focusController().focusedFrame() == this) in willDetachPage()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DFrameSelection.cpp98 , m_focused(frame && frame->page() && frame->page()->focusController().focusedFrame() == frame) in FrameSelection()