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

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

Issue 1933643002: Move markLinesDirtyInBlockRange() from LayoutBlock to LayoutBlockFlow. (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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 const InlineIterator& cleanLineStart, const BidiStatus& cleanLineBidiSta tus); 592 const InlineIterator& cleanLineStart, const BidiStatus& cleanLineBidiSta tus);
593 void linkToEndLineIfNeeded(LineLayoutState&); 593 void linkToEndLineIfNeeded(LineLayoutState&);
594 void markDirtyFloatsForPaintInvalidation(Vector<FloatWithRect>& floats); 594 void markDirtyFloatsForPaintInvalidation(Vector<FloatWithRect>& floats);
595 RootInlineBox* determineStartPosition(LineLayoutState&, InlineBidiResolver&) ; 595 RootInlineBox* determineStartPosition(LineLayoutState&, InlineBidiResolver&) ;
596 void determineEndPosition(LineLayoutState&, RootInlineBox* startBox, InlineI terator& cleanLineStart, BidiStatus& cleanLineBidiStatus); 596 void determineEndPosition(LineLayoutState&, RootInlineBox* startBox, InlineI terator& cleanLineStart, BidiStatus& cleanLineBidiStatus);
597 bool lineBoxHasBRWithClearance(RootInlineBox*); 597 bool lineBoxHasBRWithClearance(RootInlineBox*);
598 bool checkPaginationAndFloatsAtEndLine(LineLayoutState&); 598 bool checkPaginationAndFloatsAtEndLine(LineLayoutState&);
599 bool matchedEndLine(LineLayoutState&, const InlineBidiResolver&, const Inlin eIterator& endLineStart, const BidiStatus& endLineStatus); 599 bool matchedEndLine(LineLayoutState&, const InlineBidiResolver&, const Inlin eIterator& endLineStart, const BidiStatus& endLineStatus);
600 void deleteEllipsisLineBoxes(); 600 void deleteEllipsisLineBoxes();
601 void checkLinesForTextOverflow(); 601 void checkLinesForTextOverflow();
602 void markLinesDirtyInBlockRange(LayoutUnit logicalTop, LayoutUnit logicalBot tom, RootInlineBox* highest = nullptr);
602 // Positions new floats and also adjust all floats encountered on the line i f any of them 603 // Positions new floats and also adjust all floats encountered on the line i f any of them
603 // have to move to the next page/column. 604 // have to move to the next page/column.
604 void positionDialog(); 605 void positionDialog();
605 606
606 // END METHODS DEFINED IN LayoutBlockFlowLine 607 // END METHODS DEFINED IN LayoutBlockFlowLine
607 608
608 }; 609 };
609 610
610 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); 611 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow());
611 612
612 } // namespace blink 613 } // namespace blink
613 614
614 #endif // LayoutBlockFlow_h 615 #endif // LayoutBlockFlow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698