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

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

Issue 2604073002: Apply offset from the correct graphics layer; simplify code for link highlights. (Closed)
Patch Set: none Created 3 years, 11 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 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 1214
1215 FloatRect absoluteBoundingBoxFloatRect() const; 1215 FloatRect absoluteBoundingBoxFloatRect() const;
1216 // This returns an IntRect enclosing this object. If this object has an 1216 // This returns an IntRect enclosing this object. If this object has an
1217 // integral size and the position has fractional values, the resultant 1217 // integral size and the position has fractional values, the resultant
1218 // IntRect can be larger than the integral size. 1218 // IntRect can be larger than the integral size.
1219 IntRect absoluteBoundingBoxRect() const; 1219 IntRect absoluteBoundingBoxRect() const;
1220 // FIXME: This function should go away eventually 1220 // FIXME: This function should go away eventually
1221 IntRect absoluteBoundingBoxRectIgnoringTransforms() const; 1221 IntRect absoluteBoundingBoxRectIgnoringTransforms() const;
1222 1222
1223 // Build an array of quads in absolute coords for line boxes 1223 // Build an array of quads in absolute coords for line boxes
1224 virtual void absoluteQuads(Vector<FloatQuad>&) const {} 1224 virtual void absoluteQuads(Vector<FloatQuad>&,
1225 MapCoordinatesFlags mode = 0) const {}
1225 1226
1226 static FloatRect absoluteBoundingBoxRectForRange(const Range*); 1227 static FloatRect absoluteBoundingBoxRectForRange(const Range*);
1227 1228
1228 // The bounding box (see: absoluteBoundingBoxRect) including all descendant 1229 // The bounding box (see: absoluteBoundingBoxRect) including all descendant
1229 // bounding boxes. 1230 // bounding boxes.
1230 IntRect absoluteBoundingBoxRectIncludingDescendants() const; 1231 IntRect absoluteBoundingBoxRectIncludingDescendants() const;
1231 1232
1232 // For accessibility, we want the bounding box rect of this element 1233 // For accessibility, we want the bounding box rect of this element
1233 // in local coordinates, which can then be converted to coordinates relative 1234 // in local coordinates, which can then be converted to coordinates relative
1234 // to any ancestor using, e.g., localToAncestorTransform. 1235 // to any ancestor using, e.g., localToAncestorTransform.
(...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after
2670 CORE_EXPORT void showLineTree(const blink::LayoutObject*); 2671 CORE_EXPORT void showLineTree(const blink::LayoutObject*);
2671 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); 2672 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1);
2672 // We don't make object2 an optional parameter so that showLayoutTree 2673 // We don't make object2 an optional parameter so that showLayoutTree
2673 // can be called from gdb easily. 2674 // can be called from gdb easily.
2674 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, 2675 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1,
2675 const blink::LayoutObject* object2); 2676 const blink::LayoutObject* object2);
2676 2677
2677 #endif 2678 #endif
2678 2679
2679 #endif // LayoutObject_h 2680 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutInline.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698