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

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

Issue 1987233002: Move dirtyLinesFromChangedChild() 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 LayoutUnit logicalLeftFloatOffsetForLine(LayoutUnit logicalTop, LayoutUnit f ixedOffset, LayoutUnit logicalHeight) const; 393 LayoutUnit logicalLeftFloatOffsetForLine(LayoutUnit logicalTop, LayoutUnit f ixedOffset, LayoutUnit logicalHeight) const;
394 394
395 LayoutUnit logicalRightOffsetForPositioningFloat(LayoutUnit logicalTop, Layo utUnit fixedOffset, LayoutUnit* heightRemaining) const; 395 LayoutUnit logicalRightOffsetForPositioningFloat(LayoutUnit logicalTop, Layo utUnit fixedOffset, LayoutUnit* heightRemaining) const;
396 LayoutUnit logicalLeftOffsetForPositioningFloat(LayoutUnit logicalTop, Layou tUnit fixedOffset, LayoutUnit* heightRemaining) const; 396 LayoutUnit logicalLeftOffsetForPositioningFloat(LayoutUnit logicalTop, Layou tUnit fixedOffset, LayoutUnit* heightRemaining) const;
397 397
398 LayoutUnit adjustLogicalRightOffsetForLine(LayoutUnit offsetFromFloats, Inde ntTextOrNot applyTextIndent) const; 398 LayoutUnit adjustLogicalRightOffsetForLine(LayoutUnit offsetFromFloats, Inde ntTextOrNot applyTextIndent) const;
399 LayoutUnit adjustLogicalLeftOffsetForLine(LayoutUnit offsetFromFloats, Inden tTextOrNot applyTextIndent) const; 399 LayoutUnit adjustLogicalLeftOffsetForLine(LayoutUnit offsetFromFloats, Inden tTextOrNot applyTextIndent) const;
400 400
401 virtual RootInlineBox* createRootInlineBox(); // Subclassed by SVG 401 virtual RootInlineBox* createRootInlineBox(); // Subclassed by SVG
402 402
403 void dirtyLinesFromChangedChild(LayoutObject* child) final { m_lineBoxes.dir tyLinesFromChangedChild(LineLayoutItem(this), LineLayoutItem(child)); }
404
403 bool isPagedOverflow(const ComputedStyle&); 405 bool isPagedOverflow(const ComputedStyle&);
404 406
405 enum FlowThreadType { 407 enum FlowThreadType {
406 NoFlowThread, 408 NoFlowThread,
407 MultiColumnFlowThread, 409 MultiColumnFlowThread,
408 PagedFlowThread 410 PagedFlowThread
409 }; 411 };
410 412
411 FlowThreadType getFlowThreadType(const ComputedStyle&); 413 FlowThreadType getFlowThreadType(const ComputedStyle&);
412 414
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 666
665 // END METHODS DEFINED IN LayoutBlockFlowLine 667 // END METHODS DEFINED IN LayoutBlockFlowLine
666 668
667 }; 669 };
668 670
669 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); 671 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow());
670 672
671 } // namespace blink 673 } // namespace blink
672 674
673 #endif // LayoutBlockFlow_h 675 #endif // LayoutBlockFlow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698