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

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

Issue 1516683002: Introducing LayoutObject::mapToVisibleRectInContainerSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix flipping logic Created 5 years 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 283
284 void updateLogicalWidth() override; 284 void updateLogicalWidth() override;
285 285
286 void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&) cons t override; 286 void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&) cons t override;
287 void paintMask(const PaintInfo&, const LayoutPoint&) const override; 287 void paintMask(const PaintInfo&, const LayoutPoint&) const override;
288 288
289 bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, const In lineFlowBox*) const override; 289 bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, const In lineFlowBox*) const override;
290 290
291 LayoutSize offsetFromContainer(const LayoutObject*, const LayoutPoint&, bool * offsetDependsOnPoint = nullptr) const override; 291 LayoutSize offsetFromContainer(const LayoutObject*, const LayoutPoint&, bool * offsetDependsOnPoint = nullptr) const override;
292 LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObjec t* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const ov erride; 292 LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObjec t* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const ov erride;
293 void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* paintInva lidationContainer, LayoutRect&, const PaintInvalidationState*) const override; 293 void mapToVisibleRectInContainerSpace(const LayoutBoxModelObject* paintInval idationContainer, LayoutRect&, const PaintInvalidationState*) const override;
294 294
295 int borderHalfLeft(bool outer) const; 295 int borderHalfLeft(bool outer) const;
296 int borderHalfRight(bool outer) const; 296 int borderHalfRight(bool outer) const;
297 int borderHalfTop(bool outer) const; 297 int borderHalfTop(bool outer) const;
298 int borderHalfBottom(bool outer) const; 298 int borderHalfBottom(bool outer) const;
299 299
300 int borderHalfStart(bool outer) const; 300 int borderHalfStart(bool outer) const;
301 int borderHalfEnd(bool outer) const; 301 int borderHalfEnd(bool outer) const;
302 int borderHalfBefore(bool outer) const; 302 int borderHalfBefore(bool outer) const;
303 int borderHalfAfter(bool outer) const; 303 int borderHalfAfter(bool outer) const;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 377
378 inline LayoutTableCell* LayoutTableRow::lastCell() const 378 inline LayoutTableCell* LayoutTableRow::lastCell() const
379 { 379 {
380 ASSERT(children() == virtualChildren()); 380 ASSERT(children() == virtualChildren());
381 return toLayoutTableCell(children()->lastChild()); 381 return toLayoutTableCell(children()->lastChild());
382 } 382 }
383 383
384 } // namespace blink 384 } // namespace blink
385 385
386 #endif // LayoutTableCell_h 386 #endif // LayoutTableCell_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutReplaced.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