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

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

Issue 2247543003: Tweak priorities of paint invalidation reasons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - Created 4 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 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 682
683 static bool isForcedFragmentainerBreakValue(EBreak); 683 static bool isForcedFragmentainerBreakValue(EBreak);
684 684
685 EBreak classABreakPointValue(EBreak previousBreakAfterValue) const; 685 EBreak classABreakPointValue(EBreak previousBreakAfterValue) const;
686 686
687 // Return true if we should insert a break in front of this box. The box nee ds to start at a 687 // Return true if we should insert a break in front of this box. The box nee ds to start at a
688 // valid class A break point in order to allow a forced break. To determine whether or not to 688 // valid class A break point in order to allow a forced break. To determine whether or not to
689 // break, we also need to know the break-after value of the previous in-flow sibling. 689 // break, we also need to know the break-after value of the previous in-flow sibling.
690 bool needsForcedBreakBefore(EBreak previousBreakAfterValue) const; 690 bool needsForcedBreakBefore(EBreak previousBreakAfterValue) const;
691 691
692 bool paintedOutputOfObjectHasNoEffect() const override; 692 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override;
693 LayoutRect localOverflowRectForPaintInvalidation() const override; 693 LayoutRect localOverflowRectForPaintInvalidation() const override;
694 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, La youtRect&, VisualRectFlags = DefaultVisualRectFlags) const override; 694 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, La youtRect&, VisualRectFlags = DefaultVisualRectFlags) const override;
695 virtual void invalidatePaintForOverhangingFloats(bool paintAllDescendants); 695 virtual void invalidatePaintForOverhangingFloats(bool paintAllDescendants);
696 696
697 LayoutUnit containingBlockLogicalHeightForGetComputedStyle() const; 697 LayoutUnit containingBlockLogicalHeightForGetComputedStyle() const;
698 698
699 LayoutUnit containingBlockLogicalWidthForContent() const override; 699 LayoutUnit containingBlockLogicalWidthForContent() const override;
700 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType ) const; 700 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType ) const;
701 701
702 LayoutUnit containingBlockAvailableLineWidth() const; 702 LayoutUnit containingBlockAvailableLineWidth() const;
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 || breakValue == BreakLeft 1214 || breakValue == BreakLeft
1215 || breakValue == BreakPage 1215 || breakValue == BreakPage
1216 || breakValue == BreakRecto 1216 || breakValue == BreakRecto
1217 || breakValue == BreakRight 1217 || breakValue == BreakRight
1218 || breakValue == BreakVerso; 1218 || breakValue == BreakVerso;
1219 } 1219 }
1220 1220
1221 } // namespace blink 1221 } // namespace blink
1222 1222
1223 #endif // LayoutBox_h 1223 #endif // LayoutBox_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698