| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2002 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2002 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2002 Dirk Mueller (mueller@kde.org) | 3 * (C) 2002 Dirk Mueller (mueller@kde.org) |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License. | 8 * version 2 of the License. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 #ifndef TableLayoutAlgorithm_h | 21 #ifndef TableLayoutAlgorithm_h |
| 22 #define TableLayoutAlgorithm_h | 22 #define TableLayoutAlgorithm_h |
| 23 | 23 |
| 24 #include "platform/LayoutUnit.h" | 24 #include "platform/LayoutUnit.h" |
| 25 #include "wtf/Allocator.h" | 25 #include "platform/wtf/Allocator.h" |
| 26 #include "wtf/Noncopyable.h" | 26 #include "platform/wtf/Noncopyable.h" |
| 27 | 27 |
| 28 namespace blink { | 28 namespace blink { |
| 29 | 29 |
| 30 class LayoutTable; | 30 class LayoutTable; |
| 31 | 31 |
| 32 class TableLayoutAlgorithm { | 32 class TableLayoutAlgorithm { |
| 33 WTF_MAKE_NONCOPYABLE(TableLayoutAlgorithm); | 33 WTF_MAKE_NONCOPYABLE(TableLayoutAlgorithm); |
| 34 USING_FAST_MALLOC(TableLayoutAlgorithm); | 34 USING_FAST_MALLOC(TableLayoutAlgorithm); |
| 35 | 35 |
| 36 public: | 36 public: |
| (...skipping 15 matching lines...) Expand all Loading... |
| 52 // LayoutUnit::nearlyMax(). Until then though, using nearlyMax causes | 52 // LayoutUnit::nearlyMax(). Until then though, using nearlyMax causes |
| 53 // overflow in some tests, so we just pick a large number. | 53 // overflow in some tests, so we just pick a large number. |
| 54 const static int kTableMaxWidth = 1000000; | 54 const static int kTableMaxWidth = 1000000; |
| 55 | 55 |
| 56 LayoutTable* table_; | 56 LayoutTable* table_; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace blink | 59 } // namespace blink |
| 60 | 60 |
| 61 #endif // TableLayoutAlgorithm_h | 61 #endif // TableLayoutAlgorithm_h |
| OLD | NEW |