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

Side by Side Diff: Source/core/rendering/RenderBlock.h

Issue 16402019: Remove clips where we can show that they are unnecessary. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: per jchaffraix Created 7 years, 4 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) 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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 874
875 // End of functions defined in RenderBlockLineLayout.cpp. 875 // End of functions defined in RenderBlockLineLayout.cpp.
876 876
877 void paintFloats(PaintInfo&, const LayoutPoint&, bool preservePhase = false) ; 877 void paintFloats(PaintInfo&, const LayoutPoint&, bool preservePhase = false) ;
878 void paintContents(PaintInfo&, const LayoutPoint&); 878 void paintContents(PaintInfo&, const LayoutPoint&);
879 void paintColumnContents(PaintInfo&, const LayoutPoint&, bool paintFloats = false); 879 void paintColumnContents(PaintInfo&, const LayoutPoint&, bool paintFloats = false);
880 void paintColumnRules(PaintInfo&, const LayoutPoint&); 880 void paintColumnRules(PaintInfo&, const LayoutPoint&);
881 void paintSelection(PaintInfo&, const LayoutPoint&); 881 void paintSelection(PaintInfo&, const LayoutPoint&);
882 void paintCaret(PaintInfo&, const LayoutPoint&, CaretType); 882 void paintCaret(PaintInfo&, const LayoutPoint&, CaretType);
883 883
884 bool hasCaret() const { return hasCaret(CursorCaret) || hasCaret(DragCaret); }
885 bool hasCaret(CaretType) const;
886
884 FloatingObject* insertFloatingObject(RenderBox*); 887 FloatingObject* insertFloatingObject(RenderBox*);
885 void removeFloatingObject(RenderBox*); 888 void removeFloatingObject(RenderBox*);
886 void removeFloatingObjectsBelow(FloatingObject*, int logicalOffset); 889 void removeFloatingObjectsBelow(FloatingObject*, int logicalOffset);
887 890
888 // Called from lineWidth, to position the floats added in the last line. 891 // Called from lineWidth, to position the floats added in the last line.
889 // Returns true if and only if it has positioned any floats. 892 // Returns true if and only if it has positioned any floats.
890 bool positionNewFloats(); 893 bool positionNewFloats();
891 894
892 void clearFloats(); 895 void clearFloats();
893 896
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
1337 static String string(const int value); 1340 static String string(const int value);
1338 }; 1341 };
1339 template<> struct ValueToString<RenderBlock::FloatingObject*> { 1342 template<> struct ValueToString<RenderBlock::FloatingObject*> {
1340 static String string(const RenderBlock::FloatingObject*); 1343 static String string(const RenderBlock::FloatingObject*);
1341 }; 1344 };
1342 #endif 1345 #endif
1343 1346
1344 } // namespace WebCore 1347 } // namespace WebCore
1345 1348
1346 #endif // RenderBlock_h 1349 #endif // RenderBlock_h
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/RoundedRectTest.cpp ('k') | Source/core/rendering/RenderBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698