Home
last modified time | relevance | path

Searched refs:frameRect (Results 1 – 25 of 119) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/Source/platform/
DWidget.h55 int x() const { return frameRect().x(); } in x()
56 int y() const { return frameRect().y(); } in y()
57 int width() const { return frameRect().width(); } in width()
58 int height() const { return frameRect().height(); } in height()
59 IntSize size() const { return frameRect().size(); } in size()
60 IntPoint location() const { return frameRect().location(); } in location()
63 const IntRect& frameRect() const { return m_frame; } in frameRect() function
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollView.cpp189 … scrollbarInclusion == ExcludeScrollbars ? excludeScrollbars(frameRect().size()) : frameRect().siz… in unscaledVisibleContentSize()
446 IntRect oldRect(m_horizontalScrollbar->frameRect()); in updateScrollbars()
452 if (!m_scrollbarsSuppressed && oldRect != m_horizontalScrollbar->frameRect()) in updateScrollbars()
465 IntRect oldRect(m_verticalScrollbar->frameRect()); in updateScrollbars()
471 if (!m_scrollbarsSuppressed && oldRect != m_verticalScrollbar->frameRect()) in updateScrollbars()
699 …talScrollbar->shouldParticipateInHitTesting() && m_horizontalScrollbar->frameRect().contains(viewP… in scrollbarAtPoint()
701 …ticalScrollbar->shouldParticipateInHitTesting() && m_verticalScrollbar->frameRect().contains(viewP… in scrollbarAtPoint()
708 IntRect oldRect = frameRect(); in setFrameRect()
739 IntRect scrollbarRect = scrollbar->frameRect(); in positionScrollbarLayer()
935 horizontalOverhangRect = frameRect(); in calculateOverhangAreasForPainting()
[all …]
DScrollbarThemeMacOverlayAPI.mm94 CGRect frameRect = scrollbar->frameRect();
97 [scrollbarPainter setBoundsSize: NSSizeFromCGSize(frameRect.size)];
99 NSRect trackRect = NSMakeRect(0, 0, frameRect.size.width, frameRect.size.height);
120 [scrollbarPainter setBoundsSize: NSSizeFromCGSize(scrollbar->frameRect().size())];
182 return scrollbar->frameRect();
DScrollbarThemeMacNonOverlayAPI.mm97 trackInfo.bounds = scrollbar->frameRect();
123 trackInfo.bounds = IntRect(IntPoint(), scrollbar->frameRect().size());
125 IntRect bufferRect(scrollbar->frameRect());
127 bufferRect.move(-scrollbar->frameRect().x(), -scrollbar->frameRect().y());
167 blink::WebRect(scrollbar->frameRect()),
172 context->drawImageBuffer(imageBuffer.get(), scrollbar->frameRect().location());
298 return scrollbar->frameRect();
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/
DWEBPImageDecoder.cpp258 …IntRect frameRect(animatedFrame.x_offset, animatedFrame.y_offset, animatedFrame.width, animatedFra… in updateDemuxer() local
260 if (frameRect.maxX() > size().width()) in updateDemuxer()
261 frameRect.setWidth(size().width() - animatedFrame.x_offset); in updateDemuxer()
262 if (frameRect.maxY() > size().height()) in updateDemuxer()
263 frameRect.setHeight(size().height() - animatedFrame.y_offset); in updateDemuxer()
264 m_frameBufferCache[i].setOriginalFrameRect(frameRect); in updateDemuxer()
395 const IntRect& frameRect = buffer.originalFrameRect(); in applyPostProcessing() local
396 ASSERT_WITH_SECURITY_IMPLICATION(width == frameRect.width()); in applyPostProcessing()
397 ASSERT_WITH_SECURITY_IMPLICATION(decodedHeight <= frameRect.height()); in applyPostProcessing()
398 const int left = frameRect.x(); in applyPostProcessing()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/plugins/
DPluginOcclusionSupport.cpp129 static void addTreeToOcclusions(const RenderObject* renderer, const IntRect& frameRect, Vector<IntR… in addTreeToOcclusions() argument
133 if (renderer->isBox() && intersectsRect(renderer, frameRect)) in addTreeToOcclusions()
136 addTreeToOcclusions(child, frameRect, occlusions); in addTreeToOcclusions()
151 void getPluginOcclusions(Element* element, Widget* parentWidget, const IntRect& frameRect, Vector<I… in getPluginOcclusions() argument
182 … if (element->hasTagName(HTMLNames::iframeTag) && intersectsRect(iframeRenderer, frameRect)) { in getPluginOcclusions()
199 addTreeToOcclusions(elements[i]->renderer(), frameRect, occlusions); in getPluginOcclusions()
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/
DGIFImageDecoder.cpp307 IntRect frameRect = frameContext->frameRect(); in parse() local
310 if (frameRect.maxX() > size().width()) in parse()
311 frameRect.setWidth(size().width() - frameRect.x()); in parse()
312 if (frameRect.maxY() > size().height()) in parse()
313 frameRect.setHeight(size().height() - frameRect.y()); in parse()
315 buffer.setOriginalFrameRect(frameRect); in parse()
/external/chromium/chrome/browser/ui/cocoa/tab_contents/
Dtab_contents_controller.mm20 - (void)tabContentsViewFrameWillChange:(NSRect)frameRect;
90 - (void)setFrame:(NSRect)frameRect {
91 [controller_ tabContentsViewFrameWillChange:frameRect];
92 [super setFrame:frameRect];
147 frameRect:contentsNativeViewFrame];
169 - (void)tabContentsViewFrameWillChange:(NSRect)frameRect {
170 [delegate_ tabContentsViewFrameWillChange:self frameRect:frameRect];
180 frameRect:[[self view] frame]];
Dtab_contents_controller.h23 frameRect:(NSRect)frameRect;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DFloatingObjects.cpp64 FloatingObject::FloatingObject(RenderBox* renderer, Type type, const LayoutRect& frameRect, bool sh… in FloatingObject() argument
67 , m_frameRect(frameRect) in FloatingObject()
90 …tPtr(new FloatingObject(renderer(), type(), LayoutRect(frameRect().location() - offset, frameRect(… in copyToNewContainer()
289 …return FloatingObjectInterval(floatingObject->frameRect().pixelSnappedY(), floatingObject->frameRe… in intervalForFloatingObject()
290 …return FloatingObjectInterval(floatingObject->frameRect().pixelSnappedX(), floatingObject->frameRe… in intervalForFloatingObject()
500 …t->frameRect().pixelSnappedX(), floatingObject->frameRect().pixelSnappedY(), floatingObject->frame… in string()
DRenderMeter.cpp58 …IntSize frameSize = RenderTheme::theme().meterSizeForBounds(this, pixelSnappedIntRect(frameRect())… in updateLogicalWidth()
66 LayoutRect frame = frameRect(); in computeLogicalHeight()
DRenderFullScreen.cpp173 void RenderFullScreen::createPlaceholder(PassRefPtr<RenderStyle> style, const LayoutRect& frameRect) in createPlaceholder() argument
176 style->setWidth(Length(frameRect.width(), Fixed)); in createPlaceholder()
178 style->setHeight(Length(frameRect.height(), Fixed)); in createPlaceholder()
DRenderBlockFlow.h83 …turn isHorizontalWritingMode() ? floatingObject->frameRect().pixelSnappedY() : floatingObject->fra… in pixelSnappedLogicalTopForFloat()
84 …rn isHorizontalWritingMode() ? floatingObject->frameRect().pixelSnappedMaxY() : floatingObject->fr… in pixelSnappedLogicalBottomForFloat()
85 …turn isHorizontalWritingMode() ? floatingObject->frameRect().pixelSnappedX() : floatingObject->fra… in pixelSnappedLogicalLeftForFloat()
86 …rn isHorizontalWritingMode() ? floatingObject->frameRect().pixelSnappedMaxX() : floatingObject->fr… in pixelSnappedLogicalRightForFloat()
DRenderWidget.cpp144 bool frameRectChanged = m_widget->frameRect() != newFrame; in setWidgetGeometry()
161 bool boundsChanged = m_widget->frameRect().size() != newFrame.size(); in setWidgetGeometry()
234 IntPoint widgetLocation = m_widget->frameRect().location(); in paintContents()
256 paintInfo.overlapTestRequests->set(this, m_widget->frameRect()); in paintContents()
DFloatingObjects.h76 const LayoutRect& frameRect() const { ASSERT(isPlaced()); return m_frameRect; } in frameRect() function
77 …void setFrameRect(const LayoutRect& frameRect) { ASSERT(!isInPlacedTree()); m_frameRect = frameRec… in setFrameRect() argument
DInlineFlowBox.cpp1034 LayoutRect frameRect = roundedFrameRect(); in nodeAtPoint() local
1035 LayoutUnit minX = frameRect.x(); in nodeAtPoint()
1036 LayoutUnit minY = frameRect.y(); in nodeAtPoint()
1037 LayoutUnit width = frameRect.width(); in nodeAtPoint()
1038 LayoutUnit height = frameRect.height(); in nodeAtPoint()
1260 LayoutRect frameRect = roundedFrameRect(); in paintBoxDecorations() local
1262 constrainToLineTopAndBottomIfNeeded(frameRect); in paintBoxDecorations()
1265 LayoutRect localRect(frameRect); in paintBoxDecorations()
1275 LayoutRect paintRect = LayoutRect(adjustedPaintoffset, frameRect.size()); in paintBoxDecorations()
1314 LayoutUnit stripWidth = isHorizontal() ? totalLogicalWidth : frameRect.width(); in paintBoxDecorations()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/browser/
Davatar_label_button.mm37 - (id)initWithFrame:(NSRect)frameRect {
38 if ((self = [super initWithFrame:frameRect])) {
44 frameRect.size = NSMakeSize(frameRect.size.width + textSize.width,
45 frameRect.size.height + textSize.height);
46 [self setFrame:frameRect];
/external/chromium_org/chrome/browser/ui/cocoa/
Dconfirm_bubble_cocoa.mm163 NSRect frameRect = [self frame];
168 CGFloat right = NSWidth(frameRect) - kButtonHEdgeMargin;
204 right = NSWidth(frameRect);
238 right = NSWidth(frameRect);
264 frameRect.size.height = bottom + height + kButtonVEdgeMargin;
265 frameRect.origin.x = (NSWidth(parentRect) - NSWidth(frameRect)) / 2;
266 frameRect.origin.y = NSHeight(parentRect) - NSHeight(frameRect);
267 [self setFrame:frameRect];
/external/chromium_org/third_party/WebKit/Source/web/
DScrollbarGroup.cpp39 ScrollbarGroup::ScrollbarGroup(FrameView* frameView, const IntRect& frameRect) in ScrollbarGroup() argument
41 , m_frameRect(frameRect) in ScrollbarGroup()
134 void ScrollbarGroup::setFrameRect(const IntRect& frameRect) in setFrameRect() argument
136 m_frameRect = frameRect; in setFrameRect()
DWebPluginContainerImpl.cpp98 void WebPluginContainerImpl::setFrameRect(const IntRect& frameRect) in setFrameRect() argument
100 Widget::setFrameRect(frameRect); in setFrameRect()
121 if (!frameRect().intersects(damageRect)) in paint()
405 calculateGeometry(frameRect(), windowRect, clipRect, cutOutRects); in reportGeometry()
411 m_scrollbarGroup->setFrameRect(frameRect()); in reportGeometry()
618 …_scrollbarGroup = adoptPtr(new ScrollbarGroup(m_element->document().frame()->view(), frameRect())); in scrollbarGroup()
869 void WebPluginContainerImpl::calculateGeometry(const IntRect& frameRect, in calculateGeometry() argument
874 windowRect = toScrollView(parent())->contentsToWindow(frameRect); in calculateGeometry()
880 getPluginOcclusions(m_element, this->parent(), frameRect, cutOutRects); in calculateGeometry()
883 cutOutRects[i].move(-frameRect.x(), -frameRect.y()); in calculateGeometry()
DWebPluginScrollbarImpl.cpp127 return m_scrollbar->frameRect().location(); in location()
132 return m_scrollbar->frameRect().size(); in size()
204 IntRect oldRect = m_scrollbar->frameRect(); in setLocation()
287 if (!m_scrollbar->frameRect().contains(mousedown.x, mousedown.y)) in onMouseDown()
309 if (m_scrollbar->frameRect().contains(mousemove.x, mousemove.y) in onMouseMove()
/external/chromium_org/ui/base/cocoa/controls/
Dhover_image_menu_button.mm16 - (id)initWithFrame:(NSRect)frameRect
18 if ((self = [super initWithFrame:frameRect
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_toolbar_view.mm83 NSRect frameRect =
90 frameRect = NSInsetRect(frameRect, morph * 0.5, morph * 0.5);
92 [NSBezierPath bezierPathWithRoundedRect:frameRect
/external/chromium/chrome/browser/ui/cocoa/
Dinfo_bubble_view.mm14 - (id)initWithFrame:(NSRect)frameRect {
15 if ((self = [super initWithFrame:frameRect])) {
Dbackground_gradient_view.mm18 - (id)initWithFrame:(NSRect)frameRect {
19 self = [super initWithFrame:frameRect];

12345