Home
last modified time | relevance | path

Searched refs:frameView (Results 1 – 25 of 70) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/
DScrollingCoordinator.cpp155 FrameView* frameView = m_page->mainFrame()->view(); in updateAfterCompositingChange() local
156 bool frameIsScrollable = frameView && frameView->isScrollable(); in updateAfterCompositingChange()
626 bool ScrollingCoordinator::coordinatesScrollingForFrameView(FrameView* frameView) const in coordinatesScrollingForFrameView()
632 if (&frameView->frame() != m_page->mainFrame()) in coordinatesScrollingForFrameView()
645 FrameView* frameView = frame->view(); in computeShouldHandleScrollGestureOnMainThreadRegion() local
646 if (!frameView) in computeShouldHandleScrollGestureOnMainThreadRegion()
650 offset.moveBy(frameView->frameRect().location()); in computeShouldHandleScrollGestureOnMainThreadRegion()
652 if (const FrameView::ScrollableAreaSet* scrollableAreas = frameView->scrollableAreas()) { in computeShouldHandleScrollGestureOnMainThreadRegion()
668 if (const FrameView::ResizerAreaSet* resizerAreas = frameView->resizerAreas()) { in computeShouldHandleScrollGestureOnMainThreadRegion()
678 if (const HashSet<RefPtr<Widget> >* children = frameView->children()) { in computeShouldHandleScrollGestureOnMainThreadRegion()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderLayerCompositor.cpp296 m_renderView->frameView()->scheduleAnimation(); in setCompositingLayersNeedRebuild()
305 FrameView* frameView = m_renderView ? m_renderView->frameView() : 0; in didChangeVisibleRect() local
306 if (!frameView) in didChangeVisibleRect()
309 …ect visibleRect = m_containerLayer ? IntRect(IntPoint(), frameView->contentsSize()) : frameView->v… in didChangeVisibleRect()
331 …const FrameView::ScrollableAreaSet* scrollableAreas = m_renderView->frameView()->scrollableAreas(); in updateCompositingRequirementsState()
375 …updateType == CompositingUpdateFinishAllDeferredWork && isMainFrame() && m_renderView->frameView()) in updateCompositingLayers()
376 finishCompositingUpdateForFrameTree(&m_renderView->frameView()->frame()); in updateCompositingLayers()
384 AnimationUpdateBlock animationUpdateBlock(m_renderView->frameView()->frame().animation()); in updateCompositingLayers()
452 …const FrameView::ScrollableAreaSet* scrollableAreas = m_renderView->frameView()->scrollableAreas(); in updateCompositingLayers()
558 scrollingCoordinator->frameViewRootLayerDidChange(m_renderView->frameView()); in allocateOrClearCompositedLayerMapping()
[all …]
DRenderLayerModelObject.cpp79 if (FrameView* frameView = frame->view()) { in willBeDestroyed() local
81 frameView->removeViewportConstrainedObject(this); in willBeDestroyed()
172 if (FrameView *frameView = view()->frameView()) { in styleDidChange() local
177 frameView->addViewportConstrainedObject(this); in styleDidChange()
179 frameView->removeViewportConstrainedObject(this); in styleDidChange()
DRenderWidget.cpp252 FrameView* frameView = toFrameView(m_widget.get()); in paintContents() local
253 …bool runOverlapTests = !frameView->useSlowRepaintsIfNotOverlapped() || frameView->hasCompositedCon… in paintContents()
336 FrameView* frameView = toFrameView(m_widget.get()); in updateWidgetPosition() local
338 if ((boundsChanged || frameView->needsLayout()) && frameView->frame().page()) in updateWidgetPosition()
339 frameView->layout(); in updateWidgetPosition()
DRenderScrollbarPart.cpp166 if (FrameView* frameView = view()->frameView()) { in imageChanged() local
167 if (frameView->isFrameViewScrollCorner(this)) { in imageChanged()
168 frameView->invalidateScrollCorner(frameView->scrollCornerRect()); in imageChanged()
DRenderLayerScrollableArea.cpp111 if (FrameView* frameView = frame->view()) { in ~RenderLayerScrollableArea() local
112 frameView->removeScrollableArea(this); in ~RenderLayerScrollableArea()
128 if (FrameView* frameView = frame->view()) in ~RenderLayerScrollableArea() local
129 frameView->removeResizerArea(m_box); in ~RenderLayerScrollableArea()
276 return view->frameView()->convertFromRenderer(m_box, rect); in convertFromScrollbarToContainingView()
285 IntRect rect = view->frameView()->convertToRenderer(m_box, parentRect); in convertFromContainingViewToScrollbar()
298 return view->frameView()->convertFromRenderer(m_box, point); in convertFromScrollbarToContainingView()
307 IntPoint point = view->frameView()->convertToRenderer(m_box, parentPoint); in convertFromContainingViewToScrollbar()
342 bool inLayout = view ? view->frameView()->isInLayout() : false; in setScrollOffset()
348 view->frameView()->updateAnnotatedRegions(); in setScrollOffset()
[all …]
DRenderListBox.cpp94 if (FrameView* frameView = frame()->view()) in RenderListBox() local
95 frameView->addScrollableArea(this); in RenderListBox()
102 if (FrameView* frameView = frame()->view()) in ~RenderListBox() local
103 frameView->removeScrollableArea(this); in ~RenderListBox()
762 return view->frameView()->convertFromRenderer(this, rect); in convertFromScrollbarToContainingView()
771 IntRect rect = view->frameView()->convertToRenderer(this, parentRect); in convertFromContainingViewToScrollbar()
789 return view->frameView()->convertFromRenderer(this, point); in convertFromScrollbarToContainingView()
798 IntPoint point = view->frameView()->convertToRenderer(this, parentPoint); in convertFromContainingViewToScrollbar()
825 return view->frameView()->lastKnownMousePosition(); in lastKnownMousePosition()
833 return view->frameView()->shouldSuspendScrollAnimations(); in shouldSuspendScrollAnimations()
[all …]
DRenderEmbeddedObject.cpp60 view()->frameView()->setIsVisuallyNonEmpty(); in RenderEmbeddedObject()
210 if (!widget() && frameView()) in layout()
211 frameView()->addWidgetToUpdate(*this); in layout()
DRenderBox.cpp510 … bool frameElementAndViewPermitScroll(HTMLFrameElementBase* frameElementBase, FrameView* frameView) in frameElementAndViewPermitScroll() argument
517 if (frameView->wasScrolledByUser()) in frameElementAndViewPermitScroll()
522 Page* page = frameView->frame().page(); in frameElementAndViewPermitScroll()
544 if (FrameView* frameView = this->frameView()) { in scrollRectToVisible() local
553 if (frameElementAndViewPermitScroll(frameElementBase, frameView)) { in scrollRectToVisible()
554 LayoutRect viewRect = frameView->visibleContentRect(); in scrollRectToVisible()
560 xOffset = max(0, min(frameView->contentsWidth(), xOffset)); in scrollRectToVisible()
561 yOffset = max(0, min(frameView->contentsHeight(), yOffset)); in scrollRectToVisible()
563 frameView->setScrollPosition(IntPoint(xOffset, yOffset)); in scrollRectToVisible()
564 if (frameView->safeToPropagateScrollToParent()) { in scrollRectToVisible()
[all …]
/external/chromium/chrome/browser/ui/cocoa/
Dframed_browser_window.mm38 - (NSView*)frameView; method in Private
113 NSView* frameView = [[self contentView] superview];
114 BOOL frameViewDidAutoresizeSubviews = [frameView autoresizesSubviews];
115 [frameView setAutoresizesSubviews:NO];
116 NSRect oldFrame = [frameView frame];
117 [frameView setFrame:NSZeroRect];
118 [frameView setFrame:oldFrame];
119 [frameView setAutoresizesSubviews:frameViewDidAutoresizeSubviews];
140 NSRect frameViewBounds = [[self frameView] bounds];
171 - (NSView*)frameView { method
[all …]
Dframed_browser_window_unittest.mm47 NSView* frameView = [window_ contentView];
48 while ([frameView superview]) {
49 frameView = [frameView superview];
51 const NSRect bounds = [frameView bounds];
53 [frameView lockFocus];
56 [frameView unlockFocus];
/external/chromium_org/third_party/WebKit/Source/core/dom/
DTouch.cpp39 FrameView* frameView = frame->view(); in contentsX() local
40 if (!frameView) in contentsX()
42 return frameView->scrollX() / frame->pageZoomFactor(); in contentsX()
49 FrameView* frameView = frame->view(); in contentsY() local
50 if (!frameView) in contentsY()
52 return frameView->scrollY() / frame->pageZoomFactor(); in contentsY()
DWheelController.cpp73 FrameView* frameView = document->view(); in wheelEventHandlerCountChanged() local
74 if (!frameView) in wheelEventHandlerCountChanged()
77 scrollingCoordinator->frameViewWheelEventHandlerCountChanged(frameView); in wheelEventHandlerCountChanged()
DTreeScope.cpp222 FrameView* frameView = frame->view(); in rendererFromPoint() local
223 if (!frameView) in rendererFromPoint()
227 …int = roundedIntPoint(FloatPoint(x * scaleFactor + frameView->scrollX(), y * scaleFactor + frameV… in rendererFromPoint()
229 if (!frameView->visibleContentRect().contains(point)) in rendererFromPoint()
/external/chromium_org/third_party/WebKit/Source/core/events/
DMouseRelatedEvent.cpp48 FrameView* frameView = frame->view(); in contentsScrollOffset() local
49 if (!frameView) in contentsScrollOffset()
52 return LayoutSize(frameView->scrollX() / scaleFactor, frameView->scrollY() / scaleFactor); in contentsScrollOffset()
69 if (FrameView* frameView = frame->view()) { in MouseRelatedEvent() local
70 scrollPosition = frameView->scrollPosition(); in MouseRelatedEvent()
71 adjustedPageLocation = frameView->windowToContents(windowLocation); in MouseRelatedEvent()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DLinkHighlightTest.cpp78 … PlatformGestureEventBuilder platformEvent(webViewImpl->mainFrameImpl()->frameView(), touchEvent); in TEST()
85 … PlatformGestureEventBuilder platformEvent(webViewImpl->mainFrameImpl()->frameView(), touchEvent); in TEST()
93 … PlatformGestureEventBuilder platformEvent(webViewImpl->mainFrameImpl()->frameView(), touchEvent); in TEST()
105 … PlatformGestureEventBuilder platformEvent(webViewImpl->mainFrameImpl()->frameView(), touchEvent); in TEST()
114 … PlatformGestureEventBuilder platformEvent(webViewImpl->mainFrameImpl()->frameView(), touchEvent); in TEST()
121 … PlatformGestureEventBuilder platformEvent(webViewImpl->mainFrameImpl()->frameView(), touchEvent); in TEST()
181 … PlatformGestureEventBuilder platformEvent(webViewImpl->mainFrameImpl()->frameView(), touchEvent); in TEST()
DWebFrameTest.cpp664 EXPECT_TRUE(webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->needsLayout()); in TEST_F()
666 int prevLayoutCount = webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutCount(); in TEST_F()
667 …webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->setFrameRect(WebCore::IntRect(0, 0, 641… in TEST_F()
668 …EXPECT_EQ(prevLayoutCount, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutCount(… in TEST_F()
836 EXPECT_TRUE(webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->needsLayout()); in TEST_F()
838 …EXPECT_EQ(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize()… in TEST_F()
841 EXPECT_TRUE(webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->needsLayout()); in TEST_F()
843 … EXPECT_EQ(980, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); in TEST_F()
859 …EXPECT_EQ(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().w… in TEST_F()
860 …EXPECT_EQ(viewportHeight, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().… in TEST_F()
[all …]
DPopupMenuTest.cpp410 …m_popupMenuClient.setFocusedNode(toWebFrameImpl(m_webView->mainFrame())->frameView()->frame().docu… in TEST_F()
455 …m_popupMenuClient.setFocusedNode(toWebFrameImpl(m_webView->mainFrame())->frameView()->frame().docu… in TEST_F()
477 …m_popupMenuClient.setFocusedNode(toWebFrameImpl(m_webView->mainFrame())->frameView()->frame().docu… in TEST_F()
499 …m_popupMenuClient.setFocusedNode(toWebFrameImpl(m_webView->mainFrame())->frameView()->frame().docu… in TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/
Dframed_browser_window_unittest.mm42 NSView* frameView = [window_ contentView];
43 while ([frameView superview]) {
44 frameView = [frameView superview];
48 NSRect bounds = NSInsetRect([frameView bounds], 4, 0);
56 [frameView lockFocus];
59 [frameView unlockFocus];
Dframed_browser_window.mm61 - (NSView*)frameView; method in Private
162 NSRect frameViewBounds = [[self frameView] bounds];
193 - (NSView*)frameView { method
216 NSView* frameView = [self frameView];
218 NSRect updateRect = [frameView frame];
223 [[self frameView] setNeedsDisplayInRect:updateRect];
238 [[self frameView] setNeedsDisplay:YES];
252 NSView* frameView = [self frameView];
253 NSPoint mouse = [frameView convertPoint:[event locationInWindow]
451 NSView* frameView = [[[view window] contentView] superview];
[all …]
/external/chromium_org/third_party/WebKit/Source/core/frame/
DFrame.cpp465 RefPtr<FrameView> frameView; in createView() local
467 frameView = FrameView::create(this, viewportSize); in createView()
470 frameView->setLayoutSizeFixedToFrameSize(false); in createView()
472 frameView = FrameView::create(this); in createView()
474frameView->setScrollbarModes(horizontalScrollbarMode, verticalScrollbarMode, horizontalLock, verti… in createView()
476 setView(frameView); in createView()
479 frameView->updateBackgroundRecursively(backgroundColor, transparent); in createView()
482 frameView->setParentVisible(true); in createView()
485 ownerRenderer()->setWidget(frameView); in createView()
/external/chromium_org/third_party/WebKit/Source/web/
DWebViewImpl.cpp574 if (!mainFrameImpl() || !mainFrameImpl()->frameView()) in mouseContextMenu()
579 PlatformMouseEventBuilder pme(mainFrameImpl()->frameView(), event); in mouseContextMenu()
688 PlatformGestureEventBuilder platformEvent(mainFrameImpl()->frameView(), event); in handleGestureEvent()
763 if (!mainFrameImpl() || !mainFrameImpl()->frameView()) in handleGestureEvent()
1077 IntPoint point = mainFrameImpl()->frameView()->windowToContents(IntPoint(rect.x, rect.y)); in computeBlockBounds()
1198 scroll = mainFrameImpl()->frameView()->windowToContents(scroll); in computeScaleAndScrollForBlockRect()
1317 …isAnimating = startPageScaleAnimation(mainFrameImpl()->frameView()->windowToContents(point), true,… in animateDoubleTapZoom()
1668 if (mainFrameImpl() && mainFrameImpl()->frameView()) in willStartLiveResize()
1669 mainFrameImpl()->frameView()->willStartLiveResize(); in willStartLiveResize()
1687 FrameView* view = mainFrameImpl()->frameView(); in resize()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/editing/
DCaret.cpp200 if (FrameView* frameView = view->frameView()) { in shouldRepaintCaret() local
201 Frame& frame = frameView->frame(); // The frame where the selection started in shouldRepaintCaret()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DNetworkItemView.js47 var frameView = new WebInspector.ResourceWebSocketFrameView(request);
48 this.appendTab("webSocketFrames", WebInspector.UIString("Frames"), frameView);
/external/chromium_org/third_party/WebKit/Source/core/testing/
DInternals.cpp900 FrameView* frameView = document->view(); in setScrollViewPosition() local
901 bool constrainsScrollingToContentEdgeOldValue = frameView->constrainsScrollingToContentEdge(); in setScrollViewPosition()
902 bool scrollbarsSuppressedOldValue = frameView->scrollbarsSuppressed(); in setScrollViewPosition()
904 frameView->setConstrainsScrollingToContentEdge(false); in setScrollViewPosition()
905 frameView->setScrollbarsSuppressed(false); in setScrollViewPosition()
906 frameView->setScrollOffsetFromInternals(IntPoint(x, y)); in setScrollViewPosition()
907 frameView->setScrollbarsSuppressed(scrollbarsSuppressedOldValue); in setScrollViewPosition()
908 frameView->setConstrainsScrollingToContentEdge(constrainsScrollingToContentEdgeOldValue); in setScrollViewPosition()
1072 FrameView* frameView = element->document().view(); in scrollElementToRect() local
1073 frameView->scrollElementToRect(element, IntRect(x, y, w, h)); in scrollElementToRect()
[all …]

123