| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 // paintLayerContents() assumes that the caller will clip to the bounds of t
he painting dirty rect if necessary. | 282 // paintLayerContents() assumes that the caller will clip to the bounds of t
he painting dirty rect if necessary. |
| 283 void paintLayerContents(GraphicsContext*, const LayerPaintingInfo&, PaintLay
erFlags); | 283 void paintLayerContents(GraphicsContext*, const LayerPaintingInfo&, PaintLay
erFlags); |
| 284 | 284 |
| 285 void paintLayerByApplyingTransform(GraphicsContext*, const LayerPaintingInfo
&, PaintLayerFlags, const LayoutPoint& translationOffset = LayoutPoint()); | 285 void paintLayerByApplyingTransform(GraphicsContext*, const LayerPaintingInfo
&, PaintLayerFlags, const LayoutPoint& translationOffset = LayoutPoint()); |
| 286 | 286 |
| 287 void paintChildren(unsigned childrenToVisit, GraphicsContext*, const LayerPa
intingInfo&, PaintLayerFlags); | 287 void paintChildren(unsigned childrenToVisit, GraphicsContext*, const LayerPa
intingInfo&, PaintLayerFlags); |
| 288 | 288 |
| 289 void paintForeground(GraphicsContext*, GraphicsContext* transparencyLayerCon
text, | 289 void paintForeground(GraphicsContext*, GraphicsContext* transparencyLayerCon
text, |
| 290 const LayoutRect& transparencyPaintDirtyRect, bool haveTransparency, con
st LayerPaintingInfo&, | 290 const LayoutRect& transparencyPaintDirtyRect, bool haveTransparency, con
st LayerPaintingInfo&, |
| 291 LayoutPoint& layerLocation, ClipRect& layerForegroundRect); | 291 LayoutPoint& layerLocation, ClipRect& layerForegroundRect); |
| 292 void paintMask(GraphicsContext*, const LayerPaintingInfo&, | |
| 293 LayoutPoint& layerLocation, ClipRect& layerBackgroundRect); | |
| 294 | 292 |
| 295 RenderLayer* hitTestLayer(RenderLayer* rootLayer, RenderLayer* containerLaye
r, const HitTestRequest& request, HitTestResult& result, | 293 RenderLayer* hitTestLayer(RenderLayer* rootLayer, RenderLayer* containerLaye
r, const HitTestRequest& request, HitTestResult& result, |
| 296 const LayoutRect& hitTestRect, const HitTestLocati
on&, bool appliedTransform, | 294 const LayoutRect& hitTestRect, const HitTestLocati
on&, bool appliedTransform, |
| 297 const HitTestingTransformState* transformState = 0
, double* zOffset = 0); | 295 const HitTestingTransformState* transformState = 0
, double* zOffset = 0); |
| 298 RenderLayer* hitTestLayerByApplyingTransform(RenderLayer* rootLayer, RenderL
ayer* containerLayer, const HitTestRequest&, HitTestResult&, | 296 RenderLayer* hitTestLayerByApplyingTransform(RenderLayer* rootLayer, RenderL
ayer* containerLayer, const HitTestRequest&, HitTestResult&, |
| 299 const LayoutRect& hitTestRect, const HitTestLocation&, const HitTestingT
ransformState* = 0, double* zOffset = 0, | 297 const LayoutRect& hitTestRect, const HitTestLocation&, const HitTestingT
ransformState* = 0, double* zOffset = 0, |
| 300 const LayoutPoint& translationOffset = LayoutPoint()); | 298 const LayoutPoint& translationOffset = LayoutPoint()); |
| 301 RenderLayer* hitTestChildren(ChildrenIteration, RenderLayer* rootLayer, cons
t HitTestRequest&, HitTestResult&, | 299 RenderLayer* hitTestChildren(ChildrenIteration, RenderLayer* rootLayer, cons
t HitTestRequest&, HitTestResult&, |
| 302 const LayoutRect& hitTestRect, const HitTestLocatio
n&, | 300 const LayoutRect& hitTestRect, const HitTestLocatio
n&, |
| 303 const HitTestingTransformState* transformState, dou
ble* zOffsetForDescendants, double* zOffset, | 301 const HitTestingTransformState* transformState, dou
ble* zOffsetForDescendants, double* zOffset, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 | 371 |
| 374 } // namespace blink | 372 } // namespace blink |
| 375 | 373 |
| 376 #ifndef NDEBUG | 374 #ifndef NDEBUG |
| 377 // Outside the WebCore namespace for ease of invocation from gdb. | 375 // Outside the WebCore namespace for ease of invocation from gdb. |
| 378 void showLayerTree(const blink::RenderLayer*); | 376 void showLayerTree(const blink::RenderLayer*); |
| 379 void showLayerTree(const blink::RenderObject*); | 377 void showLayerTree(const blink::RenderObject*); |
| 380 #endif | 378 #endif |
| 381 | 379 |
| 382 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ | 380 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ |
| OLD | NEW |