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

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

Issue 2657183002: Use full mapLocalToAncestor machinery in ScrollingCoordinator. (Closed)
Patch Set: Delete unused test file 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 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 // Return the offset from an object up the container() chain. Asserts that 1262 // Return the offset from an object up the container() chain. Asserts that
1263 // none of the intermediate objects have transforms. 1263 // none of the intermediate objects have transforms.
1264 LayoutSize offsetFromAncestorContainer(const LayoutObject*) const; 1264 LayoutSize offsetFromAncestorContainer(const LayoutObject*) const;
1265 1265
1266 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const {} 1266 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint&) const {}
1267 1267
1268 FloatRect absoluteBoundingBoxFloatRect() const; 1268 FloatRect absoluteBoundingBoxFloatRect() const;
1269 // This returns an IntRect enclosing this object. If this object has an 1269 // This returns an IntRect enclosing this object. If this object has an
1270 // integral size and the position has fractional values, the resultant 1270 // integral size and the position has fractional values, the resultant
1271 // IntRect can be larger than the integral size. 1271 // IntRect can be larger than the integral size.
1272 IntRect absoluteBoundingBoxRect() const; 1272 IntRect absoluteBoundingBoxRect(MapCoordinatesFlags = 0) const;
1273 // FIXME: This function should go away eventually 1273 // FIXME: This function should go away eventually
1274 IntRect absoluteBoundingBoxRectIgnoringTransforms() const; 1274 IntRect absoluteBoundingBoxRectIgnoringTransforms() const;
1275 1275
1276 // Build an array of quads in absolute coords for line boxes 1276 // Build an array of quads in absolute coords for line boxes
1277 virtual void absoluteQuads(Vector<FloatQuad>&, 1277 virtual void absoluteQuads(Vector<FloatQuad>&,
1278 MapCoordinatesFlags mode = 0) const {} 1278 MapCoordinatesFlags mode = 0) const {}
1279 1279
1280 static FloatRect absoluteBoundingBoxRectForRange(const Range*); 1280 static FloatRect absoluteBoundingBoxRectForRange(const Range*);
1281 1281
1282 // The bounding box (see: absoluteBoundingBoxRect) including all descendant 1282 // The bounding box (see: absoluteBoundingBoxRect) including all descendant
(...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after
2723 CORE_EXPORT void showLineTree(const blink::LayoutObject*); 2723 CORE_EXPORT void showLineTree(const blink::LayoutObject*);
2724 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); 2724 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1);
2725 // We don't make object2 an optional parameter so that showLayoutTree 2725 // We don't make object2 an optional parameter so that showLayoutTree
2726 // can be called from gdb easily. 2726 // can be called from gdb easily.
2727 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, 2727 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1,
2728 const blink::LayoutObject* object2); 2728 const blink::LayoutObject* object2);
2729 2729
2730 #endif 2730 #endif
2731 2731
2732 #endif // LayoutObject_h 2732 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698