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

Side by Side Diff: Source/core/rendering/RenderTable.cpp

Issue 318803002: Rename Repaint to Paint Invalidation part 3 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderSelectionInfo.h ('k') | Source/core/rendering/RenderTableCell.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 2008, 2009, 2010, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserved.
8 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com)
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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 updateIntrinsicContentLogicalHeight(contentLogicalHeight()); 576 updateIntrinsicContentLogicalHeight(contentLogicalHeight());
577 577
578 if (view()->layoutState()->pageLogicalHeight()) 578 if (view()->layoutState()->pageLogicalHeight())
579 setPageLogicalOffset(view()->layoutState()->pageLogicalOffset(*this, log icalTop())); 579 setPageLogicalOffset(view()->layoutState()->pageLogicalOffset(*this, log icalTop()));
580 580
581 bool didFullRepaint = repainter.repaintAfterLayout(); 581 bool didFullRepaint = repainter.repaintAfterLayout();
582 // Repaint with our new bounds if they are different from our old bounds. 582 // Repaint with our new bounds if they are different from our old bounds.
583 if (!RuntimeEnabledFeatures::repaintAfterLayoutEnabled() 583 if (!RuntimeEnabledFeatures::repaintAfterLayoutEnabled()
584 && !didFullRepaint && sectionMoved) { 584 && !didFullRepaint && sectionMoved) {
585 if (style()->isHorizontalWritingMode()) 585 if (style()->isHorizontalWritingMode())
586 repaintRectangle(LayoutRect(visualOverflowRect().x(), movedSectionLo gicalTop, visualOverflowRect().width(), visualOverflowRect().maxY() - movedSecti onLogicalTop)); 586 invalidatePaintRectangle(LayoutRect(visualOverflowRect().x(), movedS ectionLogicalTop, visualOverflowRect().width(), visualOverflowRect().maxY() - mo vedSectionLogicalTop));
587 else 587 else
588 repaintRectangle(LayoutRect(movedSectionLogicalTop, visualOverflowRe ct().y(), visualOverflowRect().maxX() - movedSectionLogicalTop, visualOverflowRe ct().height())); 588 invalidatePaintRectangle(LayoutRect(movedSectionLogicalTop, visualOv erflowRect().y(), visualOverflowRect().maxX() - movedSectionLogicalTop, visualOv erflowRect().height()));
589 } 589 }
590 590
591 m_columnLogicalWidthChanged = false; 591 m_columnLogicalWidthChanged = false;
592 clearNeedsLayout(); 592 clearNeedsLayout();
593 } 593 }
594 594
595 // Collect all the unique border values that we want to paint in a sorted list. 595 // Collect all the unique border values that we want to paint in a sorted list.
596 void RenderTable::recalcCollapsedBorders() 596 void RenderTable::recalcCollapsedBorders()
597 { 597 {
598 if (m_collapsedBordersValid) 598 if (m_collapsedBordersValid)
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 const BorderValue& RenderTable::tableEndBorderAdjoiningCell(const RenderTableCel l* cell) const 1453 const BorderValue& RenderTable::tableEndBorderAdjoiningCell(const RenderTableCel l* cell) const
1454 { 1454 {
1455 ASSERT(cell->isFirstOrLastCellInRow()); 1455 ASSERT(cell->isFirstOrLastCellInRow());
1456 if (hasSameDirectionAs(cell->row())) 1456 if (hasSameDirectionAs(cell->row()))
1457 return style()->borderEnd(); 1457 return style()->borderEnd();
1458 1458
1459 return style()->borderStart(); 1459 return style()->borderStart();
1460 } 1460 }
1461 1461
1462 } 1462 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderSelectionInfo.h ('k') | Source/core/rendering/RenderTableCell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698