| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 | 397 |
| 398 if (size() != previousSize) | 398 if (size() != previousSize) |
| 399 relayoutChildren = true; | 399 relayoutChildren = true; |
| 400 | 400 |
| 401 layoutPositionedObjects(relayoutChildren || isDocumentElement()); | 401 layoutPositionedObjects(relayoutChildren || isDocumentElement()); |
| 402 | 402 |
| 403 computeOverflow(oldClientAfterEdge); | 403 computeOverflow(oldClientAfterEdge); |
| 404 } | 404 } |
| 405 | 405 |
| 406 updateLayerTransformAfterLayout(); | 406 updateLayerTransformAfterLayout(); |
| 407 updateScrollInfoAfterLayout(); | 407 updateAfterLayout(); |
| 408 | 408 |
| 409 clearNeedsLayout(); | 409 clearNeedsLayout(); |
| 410 } | 410 } |
| 411 | 411 |
| 412 LayoutUnit LayoutGrid::guttersSize(GridTrackSizingDirection direction, size_t sp
an) const | 412 LayoutUnit LayoutGrid::guttersSize(GridTrackSizingDirection direction, size_t sp
an) const |
| 413 { | 413 { |
| 414 ASSERT(span >= 1); | 414 ASSERT(span >= 1); |
| 415 | 415 |
| 416 if (span == 1) | 416 if (span == 1) |
| 417 return LayoutUnit(); | 417 return LayoutUnit(); |
| (...skipping 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2119 | 2119 |
| 2120 return LayoutPoint(rowAxisOffset, columnAxisOffsetForChild(child, sizingData
)); | 2120 return LayoutPoint(rowAxisOffset, columnAxisOffsetForChild(child, sizingData
)); |
| 2121 } | 2121 } |
| 2122 | 2122 |
| 2123 void LayoutGrid::paintChildren(const PaintInfo& paintInfo, const LayoutPoint& pa
intOffset) const | 2123 void LayoutGrid::paintChildren(const PaintInfo& paintInfo, const LayoutPoint& pa
intOffset) const |
| 2124 { | 2124 { |
| 2125 GridPainter(*this).paintChildren(paintInfo, paintOffset); | 2125 GridPainter(*this).paintChildren(paintInfo, paintOffset); |
| 2126 } | 2126 } |
| 2127 | 2127 |
| 2128 } // namespace blink | 2128 } // namespace blink |
| OLD | NEW |