| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 // Convert a local quad into the coordinate system of container, taking tran
sforms into account. | 497 // Convert a local quad into the coordinate system of container, taking tran
sforms into account. |
| 498 FloatQuad localToContainerQuad(const FloatQuad&, const RenderLayerModelObjec
t* paintInvalidatinoContainer, MapCoordinatesFlags = 0) const; | 498 FloatQuad localToContainerQuad(const FloatQuad&, const RenderLayerModelObjec
t* paintInvalidatinoContainer, MapCoordinatesFlags = 0) const; |
| 499 FloatPoint localToContainerPoint(const FloatPoint&, const RenderLayerModelOb
ject* paintInvalidationContainer, MapCoordinatesFlags = 0) const; | 499 FloatPoint localToContainerPoint(const FloatPoint&, const RenderLayerModelOb
ject* paintInvalidationContainer, MapCoordinatesFlags = 0) const; |
| 500 | 500 |
| 501 // Return the offset from the container() renderer (excluding transforms). I
n multi-column layout, | 501 // Return the offset from the container() renderer (excluding transforms). I
n multi-column layout, |
| 502 // different offsets apply at different points, so return the offset that ap
plies to the given point. | 502 // different offsets apply at different points, so return the offset that ap
plies to the given point. |
| 503 virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoin
t&, bool* offsetDependsOnPoint = 0) const; | 503 virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoin
t&, bool* offsetDependsOnPoint = 0) const; |
| 504 // Return the offset from an object up the container() chain. Asserts that n
one of the intermediate objects have transforms. | 504 // Return the offset from an object up the container() chain. Asserts that n
one of the intermediate objects have transforms. |
| 505 LayoutSize offsetFromAncestorContainer(const RenderObject*) const; | 505 LayoutSize offsetFromAncestorContainer(const RenderObject*) const; |
| 506 | 506 |
| 507 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const { } | |
| 508 | |
| 509 IntRect absoluteBoundingBoxRect() const; | 507 IntRect absoluteBoundingBoxRect() const; |
| 510 // FIXME: This function should go away eventually | |
| 511 IntRect absoluteBoundingBoxRectIgnoringTransforms() const; | |
| 512 | 508 |
| 513 // Build an array of quads in absolute coords for line boxes | 509 // Build an array of quads in absolute coords for line boxes |
| 514 virtual void absoluteQuads(Vector<FloatQuad>&) const { } | 510 virtual void absoluteQuads(Vector<FloatQuad>&) const { } |
| 515 | 511 |
| 516 virtual void absoluteFocusRingQuads(Vector<FloatQuad>&); | 512 virtual void absoluteFocusRingQuads(Vector<FloatQuad>&); |
| 517 | 513 |
| 518 static FloatRect absoluteBoundingBoxRectForRange(const Range*); | 514 static FloatRect absoluteBoundingBoxRectForRange(const Range*); |
| 519 | 515 |
| 520 // the rect that will be painted if this object is passed as the paintingRoo
t | 516 // the rect that will be painted if this object is passed as the paintingRoo
t |
| 521 LayoutRect paintingRootRect(LayoutRect& topLevelRect); | 517 LayoutRect paintingRootRect(LayoutRect& topLevelRect); |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 void showTree(const blink::RenderObject*); | 928 void showTree(const blink::RenderObject*); |
| 933 void showLineTree(const blink::RenderObject*); | 929 void showLineTree(const blink::RenderObject*); |
| 934 void showRenderTree(const blink::RenderObject* object1); | 930 void showRenderTree(const blink::RenderObject* object1); |
| 935 // We don't make object2 an optional parameter so that showRenderTree | 931 // We don't make object2 an optional parameter so that showRenderTree |
| 936 // can be called from gdb easily. | 932 // can be called from gdb easily. |
| 937 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 933 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
| 938 | 934 |
| 939 #endif | 935 #endif |
| 940 | 936 |
| 941 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ | 937 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ |
| OLD | NEW |