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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2657183002: Use full mapLocalToAncestor machinery in ScrollingCoordinator. (Closed)
Patch Set: test expectations Created 3 years, 10 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
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. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc.
7 * All rights reserved. 7 * All rights reserved.
8 * Copyright (C) 2009 Google Inc. All rights reserved. 8 * Copyright (C) 2009 Google Inc. All rights reserved.
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 // Return the offset from an object up the container() chain. Asserts that 1253 // Return the offset from an object up the container() chain. Asserts that
1254 // none of the intermediate objects have transforms. 1254 // none of the intermediate objects have transforms.
1255 LayoutSize offsetFromAncestorContainer(const LayoutObject*) const; 1255 LayoutSize offsetFromAncestorContainer(const LayoutObject*) const;
1256 1256
1257 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const {} 1257 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const {}
1258 1258
1259 FloatRect absoluteBoundingBoxFloatRect() const; 1259 FloatRect absoluteBoundingBoxFloatRect() const;
1260 // This returns an IntRect enclosing this object. If this object has an 1260 // This returns an IntRect enclosing this object. If this object has an
1261 // integral size and the position has fractional values, the resultant 1261 // integral size and the position has fractional values, the resultant
1262 // IntRect can be larger than the integral size. 1262 // IntRect can be larger than the integral size.
1263 IntRect absoluteBoundingBoxRect() const; 1263 IntRect absoluteBoundingBoxRect(MapCoordinatesFlags = 0) const;
1264 // FIXME: This function should go away eventually 1264 // FIXME: This function should go away eventually
1265 IntRect absoluteBoundingBoxRectIgnoringTransforms() const; 1265 IntRect absoluteBoundingBoxRectIgnoringTransforms() const;
1266 1266
1267 // Build an array of quads in absolute coords for line boxes 1267 // Build an array of quads in absolute coords for line boxes
1268 virtual void absoluteQuads(Vector<FloatQuad>&, 1268 virtual void absoluteQuads(Vector<FloatQuad>&,
1269 MapCoordinatesFlags mode = 0) const {} 1269 MapCoordinatesFlags mode = 0) const {}
1270 1270
1271 static FloatRect absoluteBoundingBoxRectForRange(const Range*); 1271 static FloatRect absoluteBoundingBoxRectForRange(const Range*);
1272 1272
1273 // The bounding box (see: absoluteBoundingBoxRect) including all descendant 1273 // The bounding box (see: absoluteBoundingBoxRect) including all descendant
(...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after
2714 CORE_EXPORT void showLineTree(const blink::LayoutObject*); 2714 CORE_EXPORT void showLineTree(const blink::LayoutObject*);
2715 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); 2715 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1);
2716 // We don't make object2 an optional parameter so that showLayoutTree 2716 // We don't make object2 an optional parameter so that showLayoutTree
2717 // can be called from gdb easily. 2717 // can be called from gdb easily.
2718 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, 2718 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1,
2719 const blink::LayoutObject* object2); 2719 const blink::LayoutObject* object2);
2720 2720
2721 #endif 2721 #endif
2722 2722
2723 #endif // LayoutObject_h 2723 #endif // LayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698