| 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 10 matching lines...) Expand all Loading... |
| 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 #include "core/layout/LayoutGrid.h" | 27 #include "core/layout/LayoutGrid.h" |
| 28 | 28 |
| 29 #include "core/layout/LayoutView.h" | 29 #include "core/layout/LayoutView.h" |
| 30 #include "core/layout/TextAutosizer.h" | 30 #include "core/layout/TextAutosizer.h" |
| 31 #include "core/layout/style/GridCoordinate.h" | 31 #include "core/style/GridCoordinate.h" |
| 32 #include "core/layout/style/ComputedStyle.h" | 32 #include "core/style/ComputedStyle.h" |
| 33 #include "core/paint/DeprecatedPaintLayer.h" | 33 #include "core/paint/DeprecatedPaintLayer.h" |
| 34 #include "core/paint/GridPainter.h" | 34 #include "core/paint/GridPainter.h" |
| 35 #include "platform/LengthFunctions.h" | 35 #include "platform/LengthFunctions.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 static const int infinity = -1; | 39 static const int infinity = -1; |
| 40 | 40 |
| 41 class GridTrack { | 41 class GridTrack { |
| 42 public: | 42 public: |
| (...skipping 1724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1767 if (isFloating()) | 1767 if (isFloating()) |
| 1768 return "LayoutGrid (floating)"; | 1768 return "LayoutGrid (floating)"; |
| 1769 if (isAnonymous()) | 1769 if (isAnonymous()) |
| 1770 return "LayoutGrid (anonymous)"; | 1770 return "LayoutGrid (anonymous)"; |
| 1771 if (isRelPositioned()) | 1771 if (isRelPositioned()) |
| 1772 return "LayoutGrid (relative positioned)"; | 1772 return "LayoutGrid (relative positioned)"; |
| 1773 return "LayoutGrid"; | 1773 return "LayoutGrid"; |
| 1774 } | 1774 } |
| 1775 | 1775 |
| 1776 } // namespace blink | 1776 } // namespace blink |
| OLD | NEW |