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

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

Issue 1837533002: LayoutObject::localOverflowRectForPaintInvalidation() and localSelectionRect() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pi0
Patch Set: Rebase Created 4 years, 9 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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 631
632 EBreak breakAfter() const; 632 EBreak breakAfter() const;
633 EBreak breakBefore() const; 633 EBreak breakBefore() const;
634 EBreak breakInside() const; 634 EBreak breakInside() const;
635 635
636 static bool isForcedFragmentainerBreakValue(EBreak); 636 static bool isForcedFragmentainerBreakValue(EBreak);
637 637
638 bool hasForcedBreakBefore() const; 638 bool hasForcedBreakBefore() const;
639 bool hasForcedBreakAfter() const; 639 bool hasForcedBreakAfter() const;
640 640
641 LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObjec t* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const ov erride; 641 LayoutRect localOverflowRectForPaintInvalidation() const override;
642 bool mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, L ayoutRect&, const PaintInvalidationState*, VisibleRectFlags = DefaultVisibleRect Flags) const override; 642 bool mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, L ayoutRect&, const PaintInvalidationState*, VisibleRectFlags = DefaultVisibleRect Flags) const override;
643 virtual void invalidatePaintForOverhangingFloats(bool paintAllDescendants); 643 virtual void invalidatePaintForOverhangingFloats(bool paintAllDescendants);
644 644
645 LayoutUnit containingBlockLogicalHeightForGetComputedStyle() const; 645 LayoutUnit containingBlockLogicalHeightForGetComputedStyle() const;
646 646
647 LayoutUnit containingBlockLogicalWidthForContent() const override; 647 LayoutUnit containingBlockLogicalWidthForContent() const override;
648 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType ) const; 648 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType ) const;
649 649
650 LayoutUnit containingBlockAvailableLineWidth() const; 650 LayoutUnit containingBlockAvailableLineWidth() const;
651 LayoutUnit perpendicularContainingBlockLogicalHeight() const; 651 LayoutUnit perpendicularContainingBlockLogicalHeight() const;
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 || breakValue == BreakLeft 1146 || breakValue == BreakLeft
1147 || breakValue == BreakPage 1147 || breakValue == BreakPage
1148 || breakValue == BreakRecto 1148 || breakValue == BreakRecto
1149 || breakValue == BreakRight 1149 || breakValue == BreakRight
1150 || breakValue == BreakVerso; 1150 || breakValue == BreakVerso;
1151 } 1151 }
1152 1152
1153 } // namespace blink 1153 } // namespace blink
1154 1154
1155 #endif // LayoutBox_h 1155 #endif // LayoutBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698