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

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

Issue 2426553004: Clean up break-inside restriction propagation from table headers. (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | third_party/WebKit/Source/core/layout/LayoutTableRow.h » ('j') | 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 * 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 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after
1043 1043
1044 // Page / column breakability inside block-level objects. 1044 // Page / column breakability inside block-level objects.
1045 enum PaginationBreakability { 1045 enum PaginationBreakability {
1046 AllowAnyBreaks, // No restrictions on breaking. May examine children to 1046 AllowAnyBreaks, // No restrictions on breaking. May examine children to
1047 // find possible break points. 1047 // find possible break points.
1048 ForbidBreaks, // Forbid breaks inside this object. Content cannot be split 1048 ForbidBreaks, // Forbid breaks inside this object. Content cannot be split
1049 // nicely into smaller pieces. 1049 // nicely into smaller pieces.
1050 AvoidBreaks // Preferably avoid breaks. If not possible, examine children 1050 AvoidBreaks // Preferably avoid breaks. If not possible, examine children
1051 // to find possible break points. 1051 // to find possible break points.
1052 }; 1052 };
1053 PaginationBreakability getPaginationBreakability() const; 1053 virtual PaginationBreakability getPaginationBreakability() const;
1054 1054
1055 LayoutRect localCaretRect( 1055 LayoutRect localCaretRect(
1056 InlineBox*, 1056 InlineBox*,
1057 int caretOffset, 1057 int caretOffset,
1058 LayoutUnit* extraWidthToEndOfLine = nullptr) override; 1058 LayoutUnit* extraWidthToEndOfLine = nullptr) override;
1059 1059
1060 virtual LayoutRect overflowClipRect( 1060 virtual LayoutRect overflowClipRect(
1061 const LayoutPoint& location, 1061 const LayoutPoint& location,
1062 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const; 1062 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const;
1063 LayoutRect clipRect(const LayoutPoint& location) const; 1063 LayoutRect clipRect(const LayoutPoint& location) const;
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
1613 1613
1614 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { 1614 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) {
1615 return breakValue == BreakColumn || breakValue == BreakLeft || 1615 return breakValue == BreakColumn || breakValue == BreakLeft ||
1616 breakValue == BreakPage || breakValue == BreakRecto || 1616 breakValue == BreakPage || breakValue == BreakRecto ||
1617 breakValue == BreakRight || breakValue == BreakVerso; 1617 breakValue == BreakRight || breakValue == BreakVerso;
1618 } 1618 }
1619 1619
1620 } // namespace blink 1620 } // namespace blink
1621 1621
1622 #endif // LayoutBox_h 1622 #endif // LayoutBox_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutTableRow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698