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

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

Issue 1817693002: Support edge-inclusive intersections in mapToVisibleRectInAncestorSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src@intersection-observer-idle-callback
Patch Set: more tests Created 4 years, 9 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) 1997 Martin Jones (mjones@kde.org) 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 * (C) 1997 Torben Weis (weis@kde.org) 3 * (C) 1997 Torben Weis (weis@kde.org)
4 * (C) 1998 Waldo Bastian (bastian@kde.org) 4 * (C) 1998 Waldo Bastian (bastian@kde.org)
5 * (C) 1999 Lars Knoll (knoll@kde.org) 5 * (C) 1999 Lars Knoll (knoll@kde.org)
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) 6 * (C) 1999 Antti Koivisto (koivisto@kde.org)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2013 Apple 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 285
286 void updateLogicalWidth() override; 286 void updateLogicalWidth() override;
287 287
288 void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&) cons t override; 288 void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&) cons t override;
289 void paintMask(const PaintInfo&, const LayoutPoint&) const override; 289 void paintMask(const PaintInfo&, const LayoutPoint&) const override;
290 290
291 bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, const In lineFlowBox*) const override; 291 bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, const In lineFlowBox*) const override;
292 292
293 LayoutSize offsetFromContainer(const LayoutObject*) const override; 293 LayoutSize offsetFromContainer(const LayoutObject*) const override;
294 LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObjec t* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const ov erride; 294 LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObjec t* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const ov erride;
295 void mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, L ayoutRect&, const PaintInvalidationState*) const override; 295 bool mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, L ayoutRect&, const PaintInvalidationState*, VisibleRectFlags = DefaultVisibleRect Flags) const override;
296 296
297 int borderHalfLeft(bool outer) const; 297 int borderHalfLeft(bool outer) const;
298 int borderHalfRight(bool outer) const; 298 int borderHalfRight(bool outer) const;
299 int borderHalfTop(bool outer) const; 299 int borderHalfTop(bool outer) const;
300 int borderHalfBottom(bool outer) const; 300 int borderHalfBottom(bool outer) const;
301 301
302 int borderHalfStart(bool outer) const; 302 int borderHalfStart(bool outer) const;
303 int borderHalfEnd(bool outer) const; 303 int borderHalfEnd(bool outer) const;
304 int borderHalfBefore(bool outer) const; 304 int borderHalfBefore(bool outer) const;
305 int borderHalfAfter(bool outer) const; 305 int borderHalfAfter(bool outer) const;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 379
380 inline LayoutTableCell* LayoutTableRow::lastCell() const 380 inline LayoutTableCell* LayoutTableRow::lastCell() const
381 { 381 {
382 ASSERT(children() == virtualChildren()); 382 ASSERT(children() == virtualChildren());
383 return toLayoutTableCell(children()->lastChild()); 383 return toLayoutTableCell(children()->lastChild());
384 } 384 }
385 385
386 } // namespace blink 386 } // namespace blink
387 387
388 #endif // LayoutTableCell_h 388 #endif // LayoutTableCell_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableCell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698