Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: Source/core/rendering/RenderObject.h

Issue 454643002: Route selection bounds updates through WebLayerTreeView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 { 768 {
769 return localToContainerQuad(quad, 0, mode, wasFixed); 769 return localToContainerQuad(quad, 0, mode, wasFixed);
770 } 770 }
771 // Convert an absolute quad to local coordinates. 771 // Convert an absolute quad to local coordinates.
772 FloatQuad absoluteToLocalQuad(const FloatQuad&, MapCoordinatesFlags mode = 0 ) const; 772 FloatQuad absoluteToLocalQuad(const FloatQuad&, MapCoordinatesFlags mode = 0 ) const;
773 773
774 // Convert a local quad into the coordinate system of container, taking tran sforms into account. 774 // Convert a local quad into the coordinate system of container, taking tran sforms into account.
775 FloatQuad localToContainerQuad(const FloatQuad&, const RenderLayerModelObjec t* paintInvalidatinoContainer, MapCoordinatesFlags = 0, bool* wasFixed = 0) cons t; 775 FloatQuad localToContainerQuad(const FloatQuad&, const RenderLayerModelObjec t* paintInvalidatinoContainer, MapCoordinatesFlags = 0, bool* wasFixed = 0) cons t;
776 FloatPoint localToContainerPoint(const FloatPoint&, const RenderLayerModelOb ject* paintInvalidationContainer, MapCoordinatesFlags = 0, bool* wasFixed = 0, c onst PaintInvalidationState* = 0) const; 776 FloatPoint localToContainerPoint(const FloatPoint&, const RenderLayerModelOb ject* paintInvalidationContainer, MapCoordinatesFlags = 0, bool* wasFixed = 0, c onst PaintInvalidationState* = 0) const;
777 777
778 // Convert a local point into the coordinate system of backing coordinates. Also returns the backing layer if needed.
779 FloatPoint localToInvalidationBackingPoint(const LayoutPoint&, RenderLayer** backingLayer = nullptr);
780
778 // Return the offset from the container() renderer (excluding transforms). I n multi-column layout, 781 // Return the offset from the container() renderer (excluding transforms). I n multi-column layout,
779 // different offsets apply at different points, so return the offset that ap plies to the given point. 782 // different offsets apply at different points, so return the offset that ap plies to the given point.
780 virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoin t&, bool* offsetDependsOnPoint = 0) const; 783 virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoin t&, bool* offsetDependsOnPoint = 0) const;
781 // Return the offset from an object up the container() chain. Asserts that n one of the intermediate objects have transforms. 784 // Return the offset from an object up the container() chain. Asserts that n one of the intermediate objects have transforms.
782 LayoutSize offsetFromAncestorContainer(const RenderObject*) const; 785 LayoutSize offsetFromAncestorContainer(const RenderObject*) const;
783 786
784 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const { } 787 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const { }
785 788
786 // Computes the position of the given render object in the space of |paintIn validationContainer|.
787 LayoutPoint positionFromPaintInvalidationContainer(const RenderLayerModelObj ect* paintInvalidationContainer, const PaintInvalidationState* = 0) const;
788
789 IntRect absoluteBoundingBoxRect() const; 789 IntRect absoluteBoundingBoxRect() const;
790 // FIXME: This function should go away eventually 790 // FIXME: This function should go away eventually
791 IntRect absoluteBoundingBoxRectIgnoringTransforms() const; 791 IntRect absoluteBoundingBoxRectIgnoringTransforms() const;
792 792
793 // Build an array of quads in absolute coords for line boxes 793 // Build an array of quads in absolute coords for line boxes
794 virtual void absoluteQuads(Vector<FloatQuad>&, bool* /*wasFixed*/ = 0) const { } 794 virtual void absoluteQuads(Vector<FloatQuad>&, bool* /*wasFixed*/ = 0) const { }
795 795
796 virtual void absoluteFocusRingQuads(Vector<FloatQuad>&); 796 virtual void absoluteFocusRingQuads(Vector<FloatQuad>&);
797 797
798 static FloatRect absoluteBoundingBoxRectForRange(const Range*); 798 static FloatRect absoluteBoundingBoxRectForRange(const Range*);
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
1557 void showTree(const blink::RenderObject*); 1557 void showTree(const blink::RenderObject*);
1558 void showLineTree(const blink::RenderObject*); 1558 void showLineTree(const blink::RenderObject*);
1559 void showRenderTree(const blink::RenderObject* object1); 1559 void showRenderTree(const blink::RenderObject* object1);
1560 // We don't make object2 an optional parameter so that showRenderTree 1560 // We don't make object2 an optional parameter so that showRenderTree
1561 // can be called from gdb easily. 1561 // can be called from gdb easily.
1562 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1562 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1563 1563
1564 #endif 1564 #endif
1565 1565
1566 #endif // RenderObject_h 1566 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698