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

Side by Side Diff: third_party/WebKit/Source/core/layout/TableLayoutAlgorithm.h

Issue 2403553002: reflow comments in core/layout/[M-Z]*.{cpp,h} (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
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,
(...skipping 29 matching lines...) Expand all
40 40
41 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, 41 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth,
42 LayoutUnit& maxWidth) = 0; 42 LayoutUnit& maxWidth) = 0;
43 virtual LayoutUnit scaledWidthFromPercentColumns() { return LayoutUnit(); } 43 virtual LayoutUnit scaledWidthFromPercentColumns() { return LayoutUnit(); }
44 virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, 44 virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth,
45 LayoutUnit& maxWidth) const = 0; 45 LayoutUnit& maxWidth) const = 0;
46 virtual void layout() = 0; 46 virtual void layout() = 0;
47 virtual void willChangeTableLayout() = 0; 47 virtual void willChangeTableLayout() = 0;
48 48
49 protected: 49 protected:
50 // FIXME: Once we enable SATURATED_LAYOUT_ARITHMETHIC, this should just be Lay outUnit::nearlyMax(). 50 // FIXME: Once we enable SATURATED_LAYOUT_ARITHMETHIC, this should just be
51 // Until then though, using nearlyMax causes overflow in some tests, so we jus t pick a large number. 51 // LayoutUnit::nearlyMax(). Until then though, using nearlyMax causes
52 // overflow in some tests, so we just pick a large number.
52 const static int tableMaxWidth = 1000000; 53 const static int tableMaxWidth = 1000000;
53 54
54 LayoutTable* m_table; 55 LayoutTable* m_table;
55 }; 56 };
56 57
57 } // namespace blink 58 } // namespace blink
58 59
59 #endif // TableLayoutAlgorithm_h 60 #endif // TableLayoutAlgorithm_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698