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

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

Issue 2073563002: Rework mapToVisualRectInAncestorSpace to handle flipped blocks correctly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head. Created 4 years, 5 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 294
295 void updateLogicalWidth() override; 295 void updateLogicalWidth() override;
296 296
297 void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&) cons t override; 297 void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&) cons t override;
298 void paintMask(const PaintInfo&, const LayoutPoint&) const override; 298 void paintMask(const PaintInfo&, const LayoutPoint&) const override;
299 299
300 bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, const In lineFlowBox*) const override; 300 bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, const In lineFlowBox*) const override;
301 301
302 LayoutSize offsetFromContainer(const LayoutObject*) const override; 302 LayoutSize offsetFromContainer(const LayoutObject*) const override;
303 LayoutRect localOverflowRectForPaintInvalidation() const override; 303 LayoutRect localOverflowRectForPaintInvalidation() const override;
304 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, La youtRect&, VisualRectFlags = DefaultVisualRectFlags) const override;
305 304
306 int borderHalfLeft(bool outer) const; 305 int borderHalfLeft(bool outer) const;
307 int borderHalfRight(bool outer) const; 306 int borderHalfRight(bool outer) const;
308 int borderHalfTop(bool outer) const; 307 int borderHalfTop(bool outer) const;
309 int borderHalfBottom(bool outer) const; 308 int borderHalfBottom(bool outer) const;
310 309
311 int borderHalfStart(bool outer) const; 310 int borderHalfStart(bool outer) const;
312 int borderHalfEnd(bool outer) const; 311 int borderHalfEnd(bool outer) const;
313 int borderHalfBefore(bool outer) const; 312 int borderHalfBefore(bool outer) const;
314 int borderHalfAfter(bool outer) const; 313 int borderHalfAfter(bool outer) const;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 } 387 }
389 388
390 inline LayoutTableCell* LayoutTableRow::lastCell() const 389 inline LayoutTableCell* LayoutTableRow::lastCell() const
391 { 390 {
392 return toLayoutTableCell(lastChild()); 391 return toLayoutTableCell(lastChild());
393 } 392 }
394 393
395 } // namespace blink 394 } // namespace blink
396 395
397 #endif // LayoutTableCell_h 396 #endif // LayoutTableCell_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.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