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

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

Issue 2501833002: Fix bug of animated table col/section/row background (Closed)
Patch Set: - Created 4 years, 1 month 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 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after
1297 static bool mustInvalidateFillLayersPaintOnHeightChange(const FillLayer&); 1297 static bool mustInvalidateFillLayersPaintOnHeightChange(const FillLayer&);
1298 1298
1299 bool mustInvalidateBackgroundOrBorderPaintOnHeightChange() const; 1299 bool mustInvalidateBackgroundOrBorderPaintOnHeightChange() const;
1300 bool mustInvalidateBackgroundOrBorderPaintOnWidthChange() const; 1300 bool mustInvalidateBackgroundOrBorderPaintOnWidthChange() const;
1301 1301
1302 // Returns true if the box intersects the viewport visible to the user. 1302 // Returns true if the box intersects the viewport visible to the user.
1303 bool intersectsVisibleViewport() const; 1303 bool intersectsVisibleViewport() const;
1304 1304
1305 bool hasNonCompositedScrollbars() const final; 1305 bool hasNonCompositedScrollbars() const final;
1306 1306
1307 void ensureIsReadyForPaintInvalidation() override;
1308
1307 protected: 1309 protected:
1308 void willBeDestroyed() override; 1310 void willBeDestroyed() override;
1309 1311
1310 void insertedIntoTree() override; 1312 void insertedIntoTree() override;
1311 void willBeRemovedFromTree() override; 1313 void willBeRemovedFromTree() override;
1312 1314
1313 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override; 1315 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override;
1314 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; 1316 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
1315 void updateFromStyle() override; 1317 void updateFromStyle() override;
1316 1318
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
1621 1623
1622 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { 1624 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) {
1623 return breakValue == BreakColumn || breakValue == BreakLeft || 1625 return breakValue == BreakColumn || breakValue == BreakLeft ||
1624 breakValue == BreakPage || breakValue == BreakRecto || 1626 breakValue == BreakPage || breakValue == BreakRecto ||
1625 breakValue == BreakRight || breakValue == BreakVerso; 1627 breakValue == BreakRight || breakValue == BreakVerso;
1626 } 1628 }
1627 1629
1628 } // namespace blink 1630 } // namespace blink
1629 1631
1630 #endif // LayoutBox_h 1632 #endif // LayoutBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698