| OLD | NEW |
| 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, 2009, 2013 Apple Inc. All rights | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2013 Apple Inc. All rights |
| 8 * reserved. | 8 * reserved. |
| 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 11 matching lines...) Expand all Loading... |
| 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 23 * Boston, MA 02110-1301, USA. | 23 * Boston, MA 02110-1301, USA. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef LayoutTableSection_h | 26 #ifndef LayoutTableSection_h |
| 27 #define LayoutTableSection_h | 27 #define LayoutTableSection_h |
| 28 | 28 |
| 29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
| 30 #include "core/layout/LayoutTable.h" | 30 #include "core/layout/LayoutTable.h" |
| 31 #include "core/layout/LayoutTableBoxComponent.h" | 31 #include "core/layout/LayoutTableBoxComponent.h" |
| 32 #include "wtf/Vector.h" | 32 #include "platform/wtf/Vector.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 // This variable is used to balance the memory consumption vs the paint | 36 // This variable is used to balance the memory consumption vs the paint |
| 37 // invalidation time on big tables. | 37 // invalidation time on big tables. |
| 38 const float kGMaxAllowedOverflowingCellRatioForFastPaintPath = 0.1f; | 38 const float kGMaxAllowedOverflowingCellRatioForFastPaintPath = 0.1f; |
| 39 | 39 |
| 40 // Helper class for paintObject. | 40 // Helper class for paintObject. |
| 41 class CellSpan { | 41 class CellSpan { |
| 42 STACK_ALLOCATED(); | 42 STACK_ALLOCATED(); |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 | 502 |
| 503 // Whether any cell spans multiple rows or cols. | 503 // Whether any cell spans multiple rows or cols. |
| 504 bool has_spanning_cells_; | 504 bool has_spanning_cells_; |
| 505 }; | 505 }; |
| 506 | 506 |
| 507 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, IsTableSection()); | 507 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, IsTableSection()); |
| 508 | 508 |
| 509 } // namespace blink | 509 } // namespace blink |
| 510 | 510 |
| 511 #endif // LayoutTableSection_h | 511 #endif // LayoutTableSection_h |
| OLD | NEW |