/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | RegionTest.cpp | 68 r.unite(IntRect(35, 35, 1, 1)); 75 r.unite(IntRect(30, 30, 10, 10)); 82 r.unite(IntRect(31, 40, 10, 10)); 97 r.unite(IntRect(42, 40, 10, 10)); 118 r.unite(IntRect(5, 0, 10, 10)); 119 r.unite(IntRect(0, 5, 10, 10)); 120 r.subtract(IntRect(7, 7, 10, 0)); 122 Vector<IntRect> rects = r.rects(); 147 TEST_NO_INTERSECT(IntRect(), IntRect()); [all...] |
H A D | IntRect.cpp | 27 #include "platform/geometry/IntRect.h" 37 IntRect::IntRect(const FloatRect& r) function in class:WebCore::IntRect 43 IntRect::IntRect(const LayoutRect& r) function in class:WebCore::IntRect 49 bool IntRect::intersects(const IntRect& other) const 57 bool IntRect::contains(const IntRect& other) const 63 void IntRect [all...] |
H A D | RoundedRectTest.cpp | 34 #include "platform/geometry/IntRect.h" 42 void PrintTo(const IntRect& rect, std::ostream* os) 44 *os << "IntRect(" 59 EXPECT_EQ(IntRect(100, 200, 300, 400), rr.radiusCenterRect()); 64 RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(10, 10), IntSize(10, 10), IntSize(10, 10), IntSize(10, 10)); 66 EXPECT_EQ(IntRect(110, 210, 280, 380), rr.radiusCenterRect()); 71 RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(5, 5), IntSize(10, 10), IntSize(15, 15), IntSize(20, 20)); 73 EXPECT_EQ(IntRect(115, 210, 265, 370), rr.radiusCenterRect()); 78 RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(20, 10), IntSize(20, 10), IntSize(10, 20), IntSize(10, 20)); 80 EXPECT_EQ(IntRect(12 [all...] |
/external/chromium_org/third_party/WebKit/Source/web/painting/ |
H A D | PaintAggregator.h | 35 #include "platform/geometry/IntRect.h" 57 WebCore::IntRect calculateScrollDamage() const; 60 WebCore::IntRect calculatePaintBounds() const; 63 WebCore::IntRect scrollRect; 64 WTF::Vector<WebCore::IntRect> paintRects; 76 void invalidateRect(const WebCore::IntRect&); 79 void scrollRect(int dx, int dy, const WebCore::IntRect& clipRect); 82 WebCore::IntRect scrollPaintRect(const WebCore::IntRect& paintRect, int dx, int dy) const; 83 bool shouldInvalidateScrollRect(const WebCore::IntRect [all...] |
/external/chromium_org/third_party/WebKit/Source/core/plugins/ |
H A D | PluginOcclusionSupport.h | 28 class IntRect; 30 void getPluginOcclusions(Element*, Widget* parentWidget, const IntRect& frameRect, Vector<IntRect>& occlusions);
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | HostWindow.h | 40 class IntRect; 50 virtual void invalidateContentsAndRootView(const IntRect& updateRect) = 0; 53 virtual void scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) = 0; 56 virtual void invalidateContentsForSlowScroll(const IntRect& updateRect) = 0; 59 virtual IntRect rootViewToScreen(const IntRect&) const = 0;
|
H A D | Widget.h | 33 #include "platform/geometry/IntRect.h" 63 virtual void setFrameRect(const IntRect& frame) { m_frame = frame; } 64 const IntRect& frameRect() const { return m_frame; } 65 IntRect boundsRect() const { return IntRect(0, 0, width(), height()); } 67 void resize(int w, int h) { setFrameRect(IntRect(x(), y(), w, h)); } 68 void resize(const IntSize& s) { setFrameRect(IntRect(location(), s)); } 69 void move(int x, int y) { setFrameRect(IntRect(x, y, width(), height())); } 70 void move(const IntPoint& p) { setFrameRect(IntRect(p, size())); } 72 virtual void paint(GraphicsContext*, const IntRect argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | SmartClip.h | 46 SmartClipData(Node* node, IntRect rect, String string) 53 IntRect rect() const; 58 IntRect m_rect; 71 SmartClipData dataForRect(const IntRect&); 77 Node* findBestOverlappingNode(Node*, const IntRect& cropRect); 79 void collectOverlappingChildNodes(Node* parentNode, const IntRect& cropRect, WillBeHeapVector<RawPtrWillBeMember<Node> >& overlappingNodeInfoTable); 80 IntRect convertRectToWindow(const IntRect& nodeRect);
|
H A D | ImageBitmap.h | 11 #include "platform/geometry/IntRect.h" 26 static PassRefPtrWillBeRawPtr<ImageBitmap> create(HTMLImageElement*, const IntRect&); 27 static PassRefPtrWillBeRawPtr<ImageBitmap> create(HTMLVideoElement*, const IntRect&); 28 static PassRefPtrWillBeRawPtr<ImageBitmap> create(HTMLCanvasElement*, const IntRect&); 29 static PassRefPtrWillBeRawPtr<ImageBitmap> create(ImageData*, const IntRect&); 30 static PassRefPtrWillBeRawPtr<ImageBitmap> create(ImageBitmap*, const IntRect&); 31 static PassRefPtrWillBeRawPtr<ImageBitmap> create(Image*, const IntRect&); 36 IntRect bitmapRect() const { return m_bitmapRect; } 53 ImageBitmap(HTMLImageElement*, const IntRect&); 54 ImageBitmap(HTMLVideoElement*, const IntRect [all...] |
H A D | ImageBitmap.cpp | 19 static inline IntRect normalizeRect(const IntRect& rect) 21 return IntRect(std::min(rect.x(), rect.maxX()), 27 static inline PassRefPtr<Image> cropImage(Image* image, const IntRect& cropRect) 29 IntRect intersectRect = intersection(IntRect(IntPoint(), image->size()), cropRect); 38 ImageBitmap::ImageBitmap(HTMLImageElement* image, const IntRect& cropRect) 43 IntRect srcRect = intersection(cropRect, IntRect(0, 0, image->width(), image->height())); 44 m_bitmapRect = IntRect(IntPoin [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | TouchDisambiguation.h | 40 class IntRect; 43 void findGoodTouchTargets(const IntRect& touchBox, LocalFrame* mainFrame, Vector<IntRect>& goodTargets, WillBeHeapVector<RawPtrWillBeMember<Node> >& highlightNodes);
|
H A D | TouchAdjustment.h | 24 #include "platform/geometry/IntRect.h" 33 bool findBestClickableCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >&); 34 bool findBestContextMenuCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >&); 35 bool findBestZoomableArea(Node*& targetNode, IntRect& targetArea, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >&);
|
H A D | PagePopupDriver.h | 31 class IntRect; 37 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoundsInRootView) = 0;
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
H A D | ScrollbarThemeNonMacCommon.h | 45 virtual IntRect backButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool painting = false) OVERRIDE; 46 virtual IntRect forwardButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool painting = false) OVERRIDE; 47 virtual IntRect trackRect(ScrollbarThemeClient*, bool painting = false) OVERRIDE; 49 virtual void paintTrackBackground(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE; 50 virtual void paintTickmarks(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE;
|
H A D | FramelessScrollView.cpp | 45 void FramelessScrollView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect) 48 IntRect dirtyRect = rect; 64 IntRect FramelessScrollView::scrollableAreaBoundingBox() const 69 void FramelessScrollView::invalidateRect(const IntRect& rect) 80 IntRect FramelessScrollView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) const 82 IntRect clipRect = visibleContentRect(scrollbarInclusion); 88 void FramelessScrollView::paintContents(GraphicsContext*, const IntRect&) argument
|
H A D | ScrollbarThemeMock.h | 43 virtual IntRect backButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool /*painting*/ = false) OVERRIDE { return IntRect(); } 44 virtual IntRect forwardButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool /*painting*/ = false) OVERRIDE { return IntRect(); } 45 virtual IntRect trackRect(ScrollbarThemeClient*, bool painting = false) OVERRIDE; 47 virtual void paintTrackBackground(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE; 48 virtual void paintThumb(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE;
|
H A D | ScrollbarThemeMacCommon.h | 49 virtual void paintOverhangBackground(GraphicsContext*, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect) OVERRIDE; 50 virtual void paintOverhangShadows(GraphicsContext*, const IntSize& scrollOffset, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect) OVERRIDE; 51 virtual void paintTickmarks(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE; 65 void paintGivenTickmarks(GraphicsContext*, ScrollbarThemeClient*, const IntRect&, const Vector<IntRect>&);
|
H A D | ScrollbarTheme.h | 30 #include "platform/geometry/IntRect.h" 48 virtual bool paint(ScrollbarThemeClient*, GraphicsContext*, const IntRect& damageRect); 81 virtual void paintScrollCorner(GraphicsContext*, const IntRect& cornerRect); 83 virtual void paintTickmarks(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) { } argument 84 virtual void paintOverhangBackground(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&); 85 virtual void paintOverhangShadows(GraphicsContext*, const IntSize&, const IntRect&, const IntRect&, const IntRect argument 114 paintTrackBackground(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) argument 115 paintTrackPiece(GraphicsContext*, ScrollbarThemeClient*, const IntRect&, ScrollbarPart) argument 116 paintButton(GraphicsContext*, ScrollbarThemeClient*, const IntRect&, ScrollbarPart) argument 117 paintThumb(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) argument [all...] |
H A D | ScrollbarThemeNonMacCommon.cpp | 44 IntRect ScrollbarThemeNonMacCommon::backButtonRect(ScrollbarThemeClient* scrollbar, ScrollbarPart part, bool) 48 return IntRect(); 51 return IntRect(scrollbar->x(), scrollbar->y(), size.width(), size.height()); 54 IntRect ScrollbarThemeNonMacCommon::forwardButtonRect(ScrollbarThemeClient* scrollbar, ScrollbarPart part, bool) 58 return IntRect(); 69 return IntRect(x, y, size.width(), size.height()); 72 IntRect ScrollbarThemeNonMacCommon::trackRect(ScrollbarThemeClient* scrollbar, bool) 80 return IntRect(); 81 return IntRect(scrollbar->x() + bs.width(), scrollbar->y(), scrollbar->width() - 2 * bs.width(), thickness); 84 return IntRect(); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderThemeChromiumSkia.h | 77 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 80 virtual bool paintSearchField(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 83 virtual bool paintSearchFieldCancelButton(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 88 virtual bool paintSearchFieldResultsDecoration(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 90 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 91 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 93 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 94 virtual bool paintMediaToggleClosedCaptionsButton(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 95 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 96 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const IntRect [all...] |
H A D | RenderMediaControls.h | 37 class IntRect; 42 static bool paintMediaControlsPart(MediaControlElementType, RenderObject*, const PaintInfo&, const IntRect&);
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/cg/ |
H A D | IntRectCG.cpp | 27 #include "platform/geometry/IntRect.h" 33 IntRect::operator CGRect() const 38 IntRect enclosingIntRect(const CGRect& rect) 44 return IntRect(l, t, r - l, b - t);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/ |
H A D | SVGFilter.h | 37 static PassRefPtr<SVGFilter> create(const AffineTransform&, const IntRect&, const FloatRect&, const FloatRect&, bool); 43 virtual IntRect sourceImageRect() const OVERRIDE { return m_absoluteSourceDrawingRegion; } 47 SVGFilter(const AffineTransform& absoluteTransform, const IntRect& absoluteSourceDrawingRegion, const FloatRect& targetBoundingBox, const FloatRect& filterRegion, bool effectBBoxMode); 49 IntRect m_absoluteSourceDrawingRegion;
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | PopupContainerTest.cpp | 76 static IntRect calculatePositionWithTransformAndRTL(const IntRect& initialRect, const IntSize& transformOffset, int verticalOffset, PopupContent* content) 87 static IntRect calculatePosition(const IntRect& initialRect, PopupContent* content, FloatRect windowRect = FloatRect(0, 0, 512, 512), bool isRTL = true) 103 IntRect initialRect(100, 100, 256, 258); 105 IntRect resultRect = calculatePosition(initialRect, &content); 113 IntRect initialRect(-10, 100, 100, 258); 115 IntRect resultRect = calculatePosition(initialRect, &content); 116 EXPECT_EQ(IntRect(20, 100, 100, 258), resultRect); 122 IntRect initialRec [all...] |
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
H A D | ImageResourceClient.h | 31 class IntRect; 40 // because we are animating. If not null, the IntRect is the changed rect of the image. 41 virtual void imageChanged(ImageResource*, const IntRect* = 0) { }
|