Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
| 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 878 | 878 |
| 879 // End of functions defined in RenderBlockLineLayout.cpp. | 879 // End of functions defined in RenderBlockLineLayout.cpp. |
| 880 | 880 |
| 881 void paintFloats(PaintInfo&, const LayoutPoint&, bool preservePhase = false) ; | 881 void paintFloats(PaintInfo&, const LayoutPoint&, bool preservePhase = false) ; |
| 882 void paintContents(PaintInfo&, const LayoutPoint&); | 882 void paintContents(PaintInfo&, const LayoutPoint&); |
| 883 void paintColumnContents(PaintInfo&, const LayoutPoint&, bool paintFloats = false); | 883 void paintColumnContents(PaintInfo&, const LayoutPoint&, bool paintFloats = false); |
| 884 void paintColumnRules(PaintInfo&, const LayoutPoint&); | 884 void paintColumnRules(PaintInfo&, const LayoutPoint&); |
| 885 void paintSelection(PaintInfo&, const LayoutPoint&); | 885 void paintSelection(PaintInfo&, const LayoutPoint&); |
| 886 void paintCaret(PaintInfo&, const LayoutPoint&, CaretType); | 886 void paintCaret(PaintInfo&, const LayoutPoint&, CaretType); |
| 887 | 887 |
| 888 bool hasCaret() { return hasCaret(CursorCaret) || hasCaret(DragCaret); } | |
| 889 bool hasCaret(CaretType); | |
|
Julien - ping for review
2013/08/08 21:36:50
Those functions should be const.
jbroman
2013/08/09 15:34:35
Done.
| |
| 890 | |
| 888 FloatingObject* insertFloatingObject(RenderBox*); | 891 FloatingObject* insertFloatingObject(RenderBox*); |
| 889 void removeFloatingObject(RenderBox*); | 892 void removeFloatingObject(RenderBox*); |
| 890 void removeFloatingObjectsBelow(FloatingObject*, int logicalOffset); | 893 void removeFloatingObjectsBelow(FloatingObject*, int logicalOffset); |
| 891 | 894 |
| 892 // Called from lineWidth, to position the floats added in the last line. | 895 // Called from lineWidth, to position the floats added in the last line. |
| 893 // Returns true if and only if it has positioned any floats. | 896 // Returns true if and only if it has positioned any floats. |
| 894 bool positionNewFloats(); | 897 bool positionNewFloats(); |
| 895 | 898 |
| 896 void clearFloats(); | 899 void clearFloats(); |
| 897 | 900 |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1348 static String string(const int value); | 1351 static String string(const int value); |
| 1349 }; | 1352 }; |
| 1350 template<> struct ValueToString<RenderBlock::FloatingObject*> { | 1353 template<> struct ValueToString<RenderBlock::FloatingObject*> { |
| 1351 static String string(const RenderBlock::FloatingObject*); | 1354 static String string(const RenderBlock::FloatingObject*); |
| 1352 }; | 1355 }; |
| 1353 #endif | 1356 #endif |
| 1354 | 1357 |
| 1355 } // namespace WebCore | 1358 } // namespace WebCore |
| 1356 | 1359 |
| 1357 #endif // RenderBlock_h | 1360 #endif // RenderBlock_h |
| OLD | NEW |