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

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

Issue 1991763002: Remove LayoutBlock::deleteLineBoxTree(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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-2013 Apple Inc. All rights reserved. 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * Copyright (C) 2013 Google Inc. All rights reserved. 7 * Copyright (C) 2013 Google Inc. All rights reserved.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are 10 * modification, are permitted provided that the following conditions are
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 static LayoutBlockFlow* createAnonymous(Document*); 93 static LayoutBlockFlow* createAnonymous(Document*);
94 bool beingDestroyed() const { return m_beingDestroyed; } 94 bool beingDestroyed() const { return m_beingDestroyed; }
95 95
96 bool isLayoutBlockFlow() const final { return true; } 96 bool isLayoutBlockFlow() const final { return true; }
97 97
98 void layoutBlock(bool relayoutChildren) override; 98 void layoutBlock(bool relayoutChildren) override;
99 99
100 void computeOverflow(LayoutUnit oldClientAfterEdge, bool recomputeFloats = f alse) override; 100 void computeOverflow(LayoutUnit oldClientAfterEdge, bool recomputeFloats = f alse) override;
101 101
102 void deleteLineBoxTree() final; 102 void deleteLineBoxTree();
103 103
104 LayoutUnit availableLogicalWidthForLine(LayoutUnit position, IndentTextOrNot indentText, LayoutUnit logicalHeight = LayoutUnit()) const 104 LayoutUnit availableLogicalWidthForLine(LayoutUnit position, IndentTextOrNot indentText, LayoutUnit logicalHeight = LayoutUnit()) const
105 { 105 {
106 return (logicalRightOffsetForLine(position, indentText, logicalHeight) - logicalLeftOffsetForLine(position, indentText, logicalHeight)).clampNegativeToZ ero(); 106 return (logicalRightOffsetForLine(position, indentText, logicalHeight) - logicalLeftOffsetForLine(position, indentText, logicalHeight)).clampNegativeToZ ero();
107 } 107 }
108 LayoutUnit logicalRightOffsetForLine(LayoutUnit position, IndentTextOrNot in dentText, LayoutUnit logicalHeight = LayoutUnit()) const 108 LayoutUnit logicalRightOffsetForLine(LayoutUnit position, IndentTextOrNot in dentText, LayoutUnit logicalHeight = LayoutUnit()) const
109 { 109 {
110 return logicalRightOffsetForLine(position, logicalRightOffsetForContent( ), indentText, logicalHeight); 110 return logicalRightOffsetForLine(position, logicalRightOffsetForContent( ), indentText, logicalHeight);
111 } 111 }
112 LayoutUnit logicalLeftOffsetForLine(LayoutUnit position, IndentTextOrNot ind entText, LayoutUnit logicalHeight = LayoutUnit()) const 112 LayoutUnit logicalLeftOffsetForLine(LayoutUnit position, IndentTextOrNot ind entText, LayoutUnit logicalHeight = LayoutUnit()) const
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 664
665 // END METHODS DEFINED IN LayoutBlockFlowLine 665 // END METHODS DEFINED IN LayoutBlockFlowLine
666 666
667 }; 667 };
668 668
669 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); 669 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow());
670 670
671 } // namespace blink 671 } // namespace blink
672 672
673 #endif // LayoutBlockFlow_h 673 #endif // LayoutBlockFlow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698