| 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 { | 266 { |
| 267 if (m_hasSelfPaintingLayerDescendantDirty) | 267 if (m_hasSelfPaintingLayerDescendantDirty) |
| 268 updateHasSelfPaintingLayerDescendant(); | 268 updateHasSelfPaintingLayerDescendant(); |
| 269 ASSERT(!m_hasSelfPaintingLayerDescendantDirty); | 269 ASSERT(!m_hasSelfPaintingLayerDescendantDirty); |
| 270 return m_hasSelfPaintingLayerDescendant; | 270 return m_hasSelfPaintingLayerDescendant; |
| 271 } | 271 } |
| 272 | 272 |
| 273 LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRende
rBox(renderer())->location() : LayoutPoint(); } | 273 LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRende
rBox(renderer())->location() : LayoutPoint(); } |
| 274 | 274 |
| 275 RenderLayer* hitTestLayer(RenderLayer* rootLayer, RenderLayer* containerLaye
r, const HitTestRequest& request, HitTestResult& result, | 275 RenderLayer* hitTestLayer(RenderLayer* rootLayer, RenderLayer* containerLaye
r, const HitTestRequest& request, HitTestResult& result, |
| 276 const LayoutRect& hitTestRect, const HitTestLocati
on&, bool appliedTransform, | 276 const LayoutRect& hitTestRect, const HitTestLocati
on&, |
| 277 const HitTestingTransformState* transformState = 0
, double* zOffset = 0); | 277 const HitTestingTransformState* transformState = 0
, double* zOffset = 0); |
| 278 RenderLayer* hitTestLayerByApplyingTransform(RenderLayer* rootLayer, RenderL
ayer* containerLayer, const HitTestRequest&, HitTestResult&, | |
| 279 const LayoutRect& hitTestRect, const HitTestLocation&, const HitTestingT
ransformState* = 0, double* zOffset = 0, | |
| 280 const LayoutPoint& translationOffset = LayoutPoint()); | |
| 281 RenderLayer* hitTestChildren(ChildrenIteration, RenderLayer* rootLayer, cons
t HitTestRequest&, HitTestResult&, | 278 RenderLayer* hitTestChildren(ChildrenIteration, RenderLayer* rootLayer, cons
t HitTestRequest&, HitTestResult&, |
| 282 const LayoutRect& hitTestRect, const HitTestLocatio
n&, | 279 const LayoutRect& hitTestRect, const HitTestLocatio
n&, |
| 283 const HitTestingTransformState* transformState, dou
ble* zOffsetForDescendants, double* zOffset, | 280 const HitTestingTransformState* transformState, dou
ble* zOffsetForDescendants, double* zOffset, |
| 284 const HitTestingTransformState* unflattenedTransfor
mState, bool depthSortDescendants); | 281 const HitTestingTransformState* unflattenedTransfor
mState, bool depthSortDescendants); |
| 285 | 282 |
| 286 PassRefPtr<HitTestingTransformState> createLocalTransformState(RenderLayer*
rootLayer, RenderLayer* containerLayer, | 283 PassRefPtr<HitTestingTransformState> createLocalTransformState(RenderLayer*
rootLayer, RenderLayer* containerLayer, |
| 287 const LayoutRect& hitTestRect, const HitTestLocation
&, | 284 const LayoutRect& hitTestRect, const HitTestLocation
&, |
| 288 const HitTestingTransformState* containerTransformSt
ate, | 285 const HitTestingTransformState* containerTransformSt
ate, |
| 289 const LayoutPoint& translationOffset = LayoutPoint()
) const; | 286 const LayoutPoint& translationOffset = LayoutPoint()
) const; |
| 290 | 287 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 | 350 |
| 354 } // namespace blink | 351 } // namespace blink |
| 355 | 352 |
| 356 #ifndef NDEBUG | 353 #ifndef NDEBUG |
| 357 // Outside the WebCore namespace for ease of invocation from gdb. | 354 // Outside the WebCore namespace for ease of invocation from gdb. |
| 358 void showLayerTree(const blink::RenderLayer*); | 355 void showLayerTree(const blink::RenderLayer*); |
| 359 void showLayerTree(const blink::RenderObject*); | 356 void showLayerTree(const blink::RenderObject*); |
| 360 #endif | 357 #endif |
| 361 | 358 |
| 362 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ | 359 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ |
| OLD | NEW |