Home
last modified time | relevance | path

Searched refs:mainFrame (Results 1 – 25 of 158) sorted by relevance

1234567

/external/chromium_org/third_party/WebKit/Source/web/
DPageWidgetDelegate.cpp56 if (!page->mainFrame()->isLocalFrame()) in rootFrameView()
58 return toLocalFrame(page->mainFrame())->view(); in rootFrameView()
76 if (!page->mainFrame() || !page->mainFrame()->isLocalFrame()) in layout()
78 rootFrame = toLocalFrame(page->mainFrame()); in layout()
110 frame = page && page->mainFrame()->isLocalFrame() ? toLocalFrame(page->mainFrame()) : 0; in handleInputEvent()
190 void PageWidgetEventHandler::handleMouseMove(LocalFrame& mainFrame, const WebMouseEvent& event) in handleMouseMove() argument
192mainFrame.eventHandler().handleMouseMoveEvent(PlatformMouseEventBuilder(mainFrame.view(), event)); in handleMouseMove()
195 void PageWidgetEventHandler::handleMouseLeave(LocalFrame& mainFrame, const WebMouseEvent& event) in handleMouseLeave() argument
197mainFrame.eventHandler().handleMouseLeaveEvent(PlatformMouseEventBuilder(mainFrame.view(), event)); in handleMouseLeave()
200 void PageWidgetEventHandler::handleMouseDown(LocalFrame& mainFrame, const WebMouseEvent& event) in handleMouseDown() argument
[all …]
DPopupMenuTest.cpp193 …m_popupMenu = adoptRefWillBeNoop(new PopupMenuChromium(*mainFrame()->frame(), &m_popupMenuClient)); in SetUp()
263 WebLocalFrameImpl* mainFrame() const { return m_helper.webViewImpl()->mainFrameImpl(); } in mainFrame() function in __anon5c959dd70111::SelectPopupMenuTest
403 loadFrame(mainFrame(), "select_event.html"); in TEST_F()
405 m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); in TEST_F()
415 WebElement element = webView()->mainFrame()->document().getElementById("message"); in TEST_F()
447 loadFrame(mainFrame(), "select_event.html"); in TEST_F()
449 m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); in TEST_F()
458 WebElement element = webView()->mainFrame()->document().getElementById("message"); in TEST_F()
468 loadFrame(mainFrame(), "select_event_remove_on_change.html"); in TEST_F()
470 m_popupMenuClient.setFocusedNode(mainFrame()->frame()->document()->focusedElement()); in TEST_F()
[all …]
DPageWidgetDelegate.h52 virtual void handleMouseMove(LocalFrame& mainFrame, const WebMouseEvent&);
53 virtual void handleMouseLeave(LocalFrame& mainFrame, const WebMouseEvent&);
54 virtual void handleMouseDown(LocalFrame& mainFrame, const WebMouseEvent&);
55 virtual void handleMouseUp(LocalFrame& mainFrame, const WebMouseEvent&);
56 virtual bool handleMouseWheel(LocalFrame& mainFrame, const WebMouseWheelEvent&);
60 virtual bool handleTouchEvent(LocalFrame& mainFrame, const WebTouchEvent&);
DWebPagePopupImpl.cpp268 if (!m_page || !m_page->mainFrame()) in rootAXObject()
270 Document* document = toLocalFrame(m_page->mainFrame())->document(); in rootAXObject()
352 toLocalFrame(m_page->mainFrame())->view()->resize(newSize); in resize()
372 if (m_closing || !m_page || !m_page->mainFrame() || !toLocalFrame(m_page->mainFrame())->view()) in handleGestureEvent()
374 LocalFrame& frame = *toLocalFrame(m_page->mainFrame()); in handleGestureEvent()
387 if (m_closing || !m_page->mainFrame() || !toLocalFrame(m_page->mainFrame())->view()) in handleKeyEvent()
389 return toLocalFrame(m_page->mainFrame())->eventHandler().keyEvent(event); in handleKeyEvent()
412 toLocalFrame(m_page->mainFrame())->loader().stopAllLoaders(); in closePopup()
413 ASSERT(m_page->mainFrame()->domWindow()); in closePopup()
414 DOMWindowPagePopup::uninstall(*m_page->mainFrame()->domWindow()); in closePopup()
DWebViewImpl.cpp467 …return m_page && m_page->mainFrame() && m_page->mainFrame()->isLocalFrame() ? WebLocalFrameImpl::f… in mainFrameImpl()
482 void WebViewImpl::handleMouseLeave(LocalFrame& mainFrame, const WebMouseEvent& event) in handleMouseLeave() argument
485 PageWidgetEventHandler::handleMouseLeave(mainFrame, event); in handleMouseLeave()
488 void WebViewImpl::handleMouseDown(LocalFrame& mainFrame, const WebMouseEvent& event) in handleMouseDown() argument
509 if (event.button == WebMouseEvent::ButtonLeft && m_page->mainFrame()->isLocalFrame()) { in handleMouseDown()
521 PageWidgetEventHandler::handleMouseDown(mainFrame, event); in handleMouseDown()
524 m_mouseCaptureGestureToken = mainFrame.eventHandler().takeLastMouseDownGestureToken(); in handleMouseDown()
587 void WebViewImpl::handleMouseUp(LocalFrame& mainFrame, const WebMouseEvent& event) in handleMouseUp() argument
589 PageWidgetEventHandler::handleMouseUp(mainFrame, event); in handleMouseUp()
599 bool WebViewImpl::handleMouseWheel(LocalFrame& mainFrame, const WebMouseWheelEvent& event) in handleMouseWheel() argument
[all …]
/external/chromium_org/third_party/WebKit/Source/core/page/
DPage.cpp91 for (Frame* frame = (*it)->mainFrame(); frame; frame = frame->tree().traverseNext()) { in networkStateChanged()
168 …return mainFrame() && mainFrame()->isLocalFrame() && deprecatedLocalMainFrame()->document() ? depr… in viewportDescription()
202 void Page::setMainFrame(Frame* mainFrame) in setMainFrame() argument
209 m_mainFrame = mainFrame; in setMainFrame()
235 for (Frame* frame = (*it)->mainFrame(); frame; frame = frame->tree().traverseNext()) { in scheduleForcedStyleRecalcForAllPages()
243 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()) { in setNeedsRecalcStyleInAllFrames()
251 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()) { in setNeedsLayoutInAllFrames()
281 for (Frame* frame = (*it)->mainFrame(); frame; frame = frame->tree().traverseNext()) { in refreshPlugins()
309 if (!mainFrame()) in unmarkAllTextMatches()
312 Frame* frame = mainFrame(); in unmarkAllTextMatches()
[all …]
DScopedPageLoadDeferrer.cpp42 if (page->mainFrame()->isLocalFrame()) { in ScopedPageLoadDeferrer()
52 for (Frame* frame = page->mainFrame(); frame; frame = frame->tree().traverseNext()) { in ScopedPageLoadDeferrer()
71 for (Frame* frame = page->mainFrame(); frame; frame = frame->tree().traverseNext()) { in detach()
/external/chromium_org/chrome/renderer/searchbox/
Dsearchbox.cc323 if (render_view()->GetWebView() && render_view()->GetWebView()->mainFrame()) { in OnChromeIdentityCheckResult()
325 render_view()->GetWebView()->mainFrame(), identity, identity_match); in OnChromeIdentityCheckResult()
330 if (render_view()->GetWebView() && render_view()->GetWebView()->mainFrame()) { in OnDetermineIfPageSupportsInstant()
332 render_view()->GetWebView()->mainFrame()); in OnDetermineIfPageSupportsInstant()
353 render_view()->GetWebView()->mainFrame()) { in OnFocusChanged()
357 render_view()->GetWebView()->mainFrame()); in OnFocusChanged()
365 render_view()->GetWebView()->mainFrame()) { in OnFocusChanged()
367 render_view()->GetWebView()->mainFrame()); in OnFocusChanged()
374 if (render_view()->GetWebView() && render_view()->GetWebView()->mainFrame()) { in OnMarginChange()
376 render_view()->GetWebView()->mainFrame()); in OnMarginChange()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/frame/
DPinchViewport.cpp123 if (!mainFrame() || !mainFrame()->view()) in visibleRectInDocument()
126 FloatRect viewRect = mainFrame()->view()->visibleContentRect(); in visibleRectInDocument()
134 if (!mainFrame() || !mainFrame()->view()) in scrollIntoView()
137 FrameView* view = mainFrame()->view(); in scrollIntoView()
165 mainFrame()->loader().saveScrollState(); in setLocation()
180 if (mainFrame()) in setScale()
181 mainFrame()->loader().saveScrollState(); in setScale()
313 ASSERT(m_frameHost.page().mainFrame()); in registerLayersWithTreeView()
314 ASSERT(m_frameHost.page().mainFrame()->isLocalFrame()); in registerLayersWithTreeView()
360 LocalFrame* frame = mainFrame(); in scrollableAreaBoundingBox()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/testing/
DMockPagePopupDriver.cpp59 …ockPagePopup(PagePopupClient* client, const IntRect& originBoundsInRootView, LocalFrame* mainFrame) in MockPagePopup() argument
63 Document* document = mainFrame->document(); in MockPagePopup()
87 …opup::create(PagePopupClient* client, const IntRect& originBoundsInRootView, LocalFrame* mainFrame) in create() argument
89 return adoptRef(new MockPagePopup(client, originBoundsInRootView, mainFrame)); in create()
113 inline MockPagePopupDriver::MockPagePopupDriver(LocalFrame* mainFrame) in MockPagePopupDriver() argument
114 : m_mainFrame(mainFrame) in MockPagePopupDriver()
118 PassOwnPtr<MockPagePopupDriver> MockPagePopupDriver::create(LocalFrame* mainFrame) in create() argument
120 return adoptPtr(new MockPagePopupDriver(mainFrame)); in create()
DMockPagePopupDriver.h44 static PassOwnPtr<MockPagePopupDriver> create(LocalFrame* mainFrame);
49 MockPagePopupDriver(LocalFrame* mainFrame);
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebFrameTest.cpp181 … Document* document = toLocalFrame(webViewHelper->webViewImpl()->page()->mainFrame())->document(); in applyViewportStyleOverride()
210 …trWillBeRawPtr<LocalFrame> frame = toLocalFrame(webViewHelper->webViewImpl()->page()->mainFrame()); in nodeImageTestSetup()
247 std::string content = webViewHelper.webView()->mainFrame()->contentAsText(1024).utf8(); in TEST_F()
266 …EXPECT_EQ(webViewHelper.webView()->mainFrame(), WebLocalFrame::frameForContext(webViewHelper.webVi… in TEST_F()
267 …T_EQ(webViewHelper.webView()->mainFrame()->firstChild(), WebLocalFrame::frameForContext(webViewHel… in TEST_F()
278 webViewHelper.webView()->mainFrame()->document().forms(forms); in TEST_F()
296 …FrameTestHelpers::loadFrame(webViewHelper.webView()->mainFrame(), "javascript:document.body.append… in TEST_F()
302 std::string content = webViewHelper.webView()->mainFrame()->contentAsText(1024).utf8(); in TEST_F()
316 …FrameTestHelpers::loadFrame(webViewHelper.webView()->mainFrame(), "javascript:document.body.append… in TEST_F()
322 std::string content = webViewHelper.webView()->mainFrame()->contentAsText(1024).utf8(); in TEST_F()
[all …]
DWebViewTest.cpp286 …FrameTestHelpers::loadHTMLString(webView->mainFrame(), "<html><head><style>body {background-color:… in TEST_F()
289 …FrameTestHelpers::loadHTMLString(webView->mainFrame(), "<html><head><style>body {background-color:… in TEST_F()
298 …FrameTestHelpers::loadHTMLString(webView->mainFrame(), "<html><head><style>body {background-color:… in TEST_F()
371 WebLocalFrameImpl* frame = toWebLocalFrameImpl(webView->mainFrame()); in TEST_F()
440 WebLocalFrameImpl* frame = toWebLocalFrameImpl(webView->mainFrame()); in testAutoResize()
589 WebLocalFrameImpl* frame = toWebLocalFrameImpl(webView->mainFrame()); in TEST_F()
602 frame = toWebLocalFrameImpl(webView->mainFrame()); in TEST_F()
663 WebLocalFrameImpl* frame = toWebLocalFrameImpl(webView->mainFrame()); in TEST_F()
695 WebLocalFrameImpl* frame = toWebLocalFrameImpl(webView->mainFrame()); in TEST_F()
715 WebLocalFrameImpl* frame = toWebLocalFrameImpl(webView->mainFrame()); in TEST_F()
[all …]
DWebDocumentTest.cpp32 WebDocument webDoc = webViewHelper.webView()->mainFrame()->document(); in TEST()
33 Document* coreDoc = toLocalFrame(webViewHelper.webViewImpl()->page()->mainFrame())->document(); in TEST()
71 WebFrame* frame = webViewHelper.webView()->mainFrame(); in TEST()
72 Document* coreDoc = toLocalFrame(webViewHelper.webViewImpl()->page()->mainFrame())->document(); in TEST()
DWebHelperPluginTest.cpp67 …m_plugin = adoptPtr(WebHelperPlugin::create("hello", m_helper.webView()->mainFrame()->toWebLocalFr… in TEST_F()
77 …m_plugin = adoptPtr(WebHelperPlugin::create("hello", m_helper.webView()->mainFrame()->toWebLocalFr… in TEST_F()
89 …m_plugin = adoptPtr(WebHelperPlugin::create("hello", m_helper.webView()->mainFrame()->toWebLocalFr… in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DViewportDescription.cpp203 void ViewportDescription::reportMobilePageStats(const LocalFrame* mainFrame) const in reportMobilePageStats()
217 if (!mainFrame || !mainFrame->host() || !mainFrame->view() || !mainFrame->document()) in reportMobilePageStats()
221 if (!mainFrame->document()->url().protocolIsInHTTPFamily()) in reportMobilePageStats()
225 if (mainFrame->document()->isMobileDocument()) in reportMobilePageStats()
237 if (mainFrame->view()) { in reportMobilePageStats()
241 int windowWidth = mainFrame->document()->settings()->pinchVirtualViewportEnabled() in reportMobilePageStats()
242 ? mainFrame->host()->pinchViewport().size().width() in reportMobilePageStats()
243 : mainFrame->view()->frameRect().width(); in reportMobilePageStats()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwWebContentsObserverTest.java46 boolean mainFrame = true; in testOnPageFinished()
55 mWebContentsObserver.didFinishLoad(frameId, mUnreachableWebDataUrl, mainFrame); in testOnPageFinished()
60 mWebContentsObserver.didFinishLoad(frameId, EXAMPLE_URL, mainFrame); in testOnPageFinished()
67 mWebContentsObserver.didFailLoad(!provisionalLoad, mainFrame, in testOnPageFinished()
79 mWebContentsObserver.didFailLoad(!provisionalLoad, mainFrame, in testOnPageFinished()
104 boolean mainFrame = true; in testOnReceivedError()
114 mWebContentsObserver.didFailLoad(!provisionalLoad, mainFrame, in testOnReceivedError()
120 mWebContentsObserver.didFailLoad(!provisionalLoad, mainFrame, in testOnReceivedError()
/external/chromium_org/content/renderer/
Dweb_ui_mojo.cc31 web_ui_mojo->render_view()->GetWebView()->mainFrame())), in MainFrameObserver()
60 render_view()->GetWebView()->mainFrame()->toWebLocalFrame(); in CreateContextState()
65 render_view()->GetWebView()->mainFrame(), context)); in CreateContextState()
85 render_view()->GetWebView()->mainFrame()->toWebLocalFrame(); in GetContextState()
102 if (frame != render_view()->GetWebView()->mainFrame()) in DidClearWindowObject()
Dresource_fetcher_browsertest.cc149 WebFrame* frame = GetRenderView()->GetWebView()->mainFrame(); in ResourceFetcherDownloadOnRenderer()
168 WebFrame* frame = GetRenderView()->GetWebView()->mainFrame(); in ResourceFetcher404OnRenderer()
186 WebFrame* frame = GetRenderView()->GetWebView()->mainFrame(); in ResourceFetcherDidFailOnRenderer()
209 WebFrame* frame = GetRenderView()->GetWebView()->mainFrame(); in ResourceFetcherTimeoutOnRenderer()
231 WebFrame* frame = GetRenderView()->GetWebView()->mainFrame(); in ResourceFetcherDeletedInCallbackOnRenderer()
250 WebFrame* frame = GetRenderView()->GetWebView()->mainFrame(); in ResourceFetcherPost()
271 WebFrame* frame = GetRenderView()->GetWebView()->mainFrame(); in ResourceFetcherSetHeader()
/external/chromium_org/content/shell/renderer/test_runner/
Dtext_input_controller.cc170 if (view_->mainFrame()) in DoCommand()
171 view_->mainFrame()->executeCommand(blink::WebString::fromUTF8(text)); in DoCommand()
203 return view_->mainFrame() && view_->mainFrame()->hasMarkedText(); in HasMarkedText()
207 if (!view_->mainFrame()) in MarkedRange()
210 blink::WebRange range = view_->mainFrame()->markedRange(); in MarkedRange()
219 if (!view_->mainFrame()) in SelectedRange()
222 blink::WebRange range = view_->mainFrame()->selectionRange(); in SelectedRange()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DPageDebuggerAgent.cpp123 ScriptState* scriptState = ScriptState::forMainWorld(m_pageAgent->mainFrame()); in injectedScriptForEval()
139 if (frame != m_pageAgent->mainFrame()) in didClearDocumentOfWindowObject()
152 Frame* mainFrame = frame->page()->deprecatedLocalMainFrame(); in didCommitLoad() local
153 if (loader->frame() == mainFrame) in didCommitLoad()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DResourceTreeModel.js144 this.mainFrame = frame;
189 _handleMainFrameDetached: function(mainFrame) argument
202 removeOriginForFrame.call(this, mainFrame);
220 if (frame.isMainFrame() && this.mainFrame) {
221 this._handleMainFrameDetached(this.mainFrame);
223 this._frameDetached(this.mainFrame.id);
341 if (this.mainFrame)
342 return this.mainFrame._callForFrameResources(callback);
427 return this.mainFrame ? this.mainFrame.resourceForURL(url) : null;
/external/clang/test/SemaObjC/
Darc-invalid.m23 - (WebFrame *)mainFrame; method
27 @property (nonatomic, readonly, strong) WebFrame *mainFrame; property
42 [[browserView webView] mainFrame];
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/bindings/
DNetworkUISourceCodeProvider.js68 var mainFrame = target.resourceTreeModel.mainFrame;
69 if (mainFrame)
70 populateFrame.call(this, mainFrame);
/external/chromium_org/content/renderer/accessibility/
Drenderer_accessibility_browsertest.cc251 WebDocument document = view()->GetWebView()->mainFrame()->document(); in TEST_F()
269 document = view()->GetWebView()->mainFrame()->document(); in TEST_F()
282 document = view()->GetWebView()->mainFrame()->document(); in TEST_F()
322 WebDocument document = view()->GetWebView()->mainFrame()->document(); in TEST_F()
372 WebDocument document = view()->GetWebView()->mainFrame()->document(); in TEST_F()
430 WebDocument document = view()->GetWebView()->mainFrame()->document(); in TEST_F()
477 WebDocument document = view()->GetWebView()->mainFrame()->document(); in TEST_F()
536 WebDocument document = view()->GetWebView()->mainFrame()->document(); in TEST_F()

1234567