Home
last modified time | relevance | path

Searched refs:contentRect (Results 1 – 25 of 57) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/web/tests/
DOpaqueRectTrackingContentLayerDelegateTest.cpp52 virtual void paint(GraphicsContext& context, const IntRect& contentRect) OVERRIDE in paint() argument
54 m_callback(context, contentRect); in paint()
64 virtual void operator()(GraphicsContext& context, const IntRect& contentRect) OVERRIDE in operator ()()
67 … IntRect top(contentRect.x(), contentRect.y(), contentRect.width(), contentRect.height() / 2); in operator ()()
68 …IntRect bottom(contentRect.x(), contentRect.y() + contentRect.height() / 2, contentRect.width(), c… in operator ()()
75 virtual void operator()(GraphicsContext& context, const IntRect& contentRect) in operator ()()
78 context.fillRect(contentRect, alpha); in operator ()()
88 virtual void operator()(GraphicsContext& context, const IntRect& contentRect) in operator ()()
91 context.fillRect(contentRect, alpha); in operator ()()
94 fillOpaque.intersect(contentRect); in operator ()()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderEmbeddedObject.cpp139 FloatRect contentRect; in paintReplaced() local
145 …if (!getReplacementTextGeometry(paintOffset, contentRect, path, replacementTextRect, font, run, te… in paintReplaced()
149 context->clip(contentRect); in paintReplaced()
164 …placementTextGeometry(const LayoutPoint& accumulatedOffset, FloatRect& contentRect, Path& path, Fl… in getReplacementTextGeometry() argument
166 contentRect = contentBoxRect(); in getReplacementTextGeometry()
167 contentRect.moveBy(roundedIntPoint(accumulatedOffset)); in getReplacementTextGeometry()
184 …float x = (contentRect.size().width() / 2 - replacementTextRect.size().width() / 2) + contentRect.… in getReplacementTextGeometry()
185 …float y = (contentRect.size().height() / 2 - replacementTextRect.size().height() / 2) + contentRec… in getReplacementTextGeometry()
DRenderHTMLCanvas.cpp60 LayoutRect contentRect = contentBoxRect(); in paintReplaced() local
61 contentRect.moveBy(paintOffset); in paintReplaced()
65 bool clip = !contentRect.contains(paintRect); in paintReplaced()
69 paintInfo.context->clip(pixelSnappedIntRect(contentRect)); in paintReplaced()
DRenderVideo.cpp163 LayoutRect contentRect = contentBoxRect(); in paintReplaced() local
164 contentRect.moveBy(paintOffset); in paintReplaced()
166 bool clip = !contentRect.contains(rect); in paintReplaced()
169 context->clip(contentRect); in paintReplaced()
DRenderReplaced.cpp330 LayoutRect contentRect = contentBoxRect(); in replacedContentRect() local
335 return contentRect; in replacedContentRect()
341 return contentRect; in replacedContentRect()
343 LayoutRect finalRect = contentRect; in replacedContentRect()
361 …LayoutUnit xOffset = minimumValueForLength(style()->objectPosition().x(), contentRect.width() - fi… in replacedContentRect()
362 …LayoutUnit yOffset = minimumValueForLength(style()->objectPosition().y(), contentRect.height() - f… in replacedContentRect()
/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/
Dconstrained_window_custom_window.mm15 - (id)initWithContentRect:(NSRect)contentRect {
16 if ((self = [self initWithContentRect:contentRect
28 - (id)initWithContentRect:(NSRect)contentRect
32 if ((self = [super initWithContentRect:contentRect
Dconstrained_window_custom_window.h25 - (id)initWithContentRect:(NSRect)contentRect;
/external/chromium_org/chrome/browser/ui/cocoa/
Dfullscreen_window.mm17 NSRect contentRect;
18 contentRect.origin = NSZeroPoint;
19 contentRect.size = [screen frame].size;
21 if ((self = [super initWithContentRect:contentRect
Dvertical_gradient_view.mm33 NSRect borderRect, contentRect;
34 NSDivideRect([self bounds], &borderRect, &contentRect, 1, NSMinYEdge);
Dscreen_capture_notification_ui_cocoa.mm96 NSRect contentRect = [[window contentView] frame];
98 NSMakeRect((NSWidth(desktopRect) - NSWidth(contentRect)) / 2,
100 NSWidth(contentRect),
101 NSHeight(contentRect));
/external/chromium/chrome/browser/ui/cocoa/
Dfullscreen_window.mm17 NSRect contentRect;
18 contentRect.origin = NSZeroPoint;
19 contentRect.size = [screen frame].size;
21 if ((self = [super initWithContentRect:contentRect
Dvertical_gradient_view.mm33 NSRect borderRect, contentRect;
34 NSDivideRect([self bounds], &borderRect, &contentRect, 1, NSMinYEdge);
Dbackground_gradient_view.mm65 NSRect borderRect, contentRect;
66 NSDivideRect([self bounds], &borderRect, &contentRect,
Dframed_browser_window.mm44 - (id)initWithContentRect:(NSRect)contentRect
48 if ((self = [super initWithContentRect:contentRect
197 NSRect contentRect = [contentView frame];
199 updateRect.size.height -= NSHeight(contentRect) - tabStripHeight;
200 updateRect.origin.y = NSMaxY(contentRect) - tabStripHeight;
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGImage.cpp227 IntRect contentRect = enclosingIntRect(repaintRectInLocalCoordinates()); in addFocusRingRects() local
228 if (!contentRect.isEmpty()) in addFocusRingRects()
229 rects.append(contentRect); in addFocusRingRects()
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dside_tab_strip_view.mm14 NSRect borderRect, contentRect;
15 NSDivideRect(bounds, &borderRect, &contentRect, 1, NSMaxXEdge);
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_shelf_view.mm56 NSRect borderRect, contentRect;
57 NSDivideRect([self bounds], &borderRect, &contentRect, 1, NSMaxYEdge);
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_folder_window.mm18 - (id)initWithContentRect:(NSRect)contentRect
22 if ((self = [super initWithContentRect:contentRect
/external/chromium/chrome/browser/ui/cocoa/notifications/
Dballoon_view.mm21 - (id)initWithContentRect:(NSRect)contentRect
25 self = [super initWithContentRect:contentRect
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_dialog_window_controller.mm306 NSRect contentRect = NSZeroRect;
307 contentRect.size = [self preferredSize];
309 CGFloat headerHeight = [header_ heightForWidth:NSWidth(contentRect)];
311 NSDivideRect(contentRect, &headerRect, &mainRect, headerHeight, NSMinYEdge);
323 [[loadingShieldController_ view] setFrame:contentRect];
326 [[overlayController_ view] setFrame:contentRect];
329 NSRect frameRect = [[self window] frameRectForContentRect:contentRect];
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_folder_window.mm19 - (id)initWithContentRect:(NSRect)contentRect
23 if ((self = [super initWithContentRect:contentRect
/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_shelf_view.mm57 NSRect borderRect, contentRect;
58 NSDivideRect([self bounds], &borderRect, &contentRect, [self cr_lineWidth],
/external/chromium_org/chrome/browser/ui/cocoa/notifications/
Dballoon_view.mm20 - (id)initWithContentRect:(NSRect)contentRect
24 self = [super initWithContentRect:contentRect
/external/chromium/chrome/browser/ui/cocoa/infobars/
Dinfobar_gradient_view.mm76 NSRect borderRect, contentRect;
77 NSDivideRect(bounds, &borderRect, &contentRect, 1, NSMinYEdge);
/external/clang/test/Analysis/
DNSWindow.m38 - (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreT…
39 - (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreT…

123