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

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

Issue 2573963002: [SPInvalidation] Update paint properties when border radii change (Closed)
Patch Set: Rebase Created 4 years 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 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 1307 void ensureIsReadyForPaintInvalidation() override;
1308 1308
1309 virtual bool shouldClipOverflow() const;
1310
1309 protected: 1311 protected:
1310 void willBeDestroyed() override; 1312 void willBeDestroyed() override;
1311 1313
1312 void insertedIntoTree() override; 1314 void insertedIntoTree() override;
1313 void willBeRemovedFromTree() override; 1315 void willBeRemovedFromTree() override;
1314 1316
1315 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override; 1317 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override;
1316 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; 1318 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
1317 void updateFromStyle() override; 1319 void updateFromStyle() override;
1318 1320
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
1623 1625
1624 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { 1626 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) {
1625 return breakValue == BreakColumn || breakValue == BreakLeft || 1627 return breakValue == BreakColumn || breakValue == BreakLeft ||
1626 breakValue == BreakPage || breakValue == BreakRecto || 1628 breakValue == BreakPage || breakValue == BreakRecto ||
1627 breakValue == BreakRight || breakValue == BreakVerso; 1629 breakValue == BreakRight || breakValue == BreakVerso;
1628 } 1630 }
1629 1631
1630 } // namespace blink 1632 } // namespace blink
1631 1633
1632 #endif // LayoutBox_h 1634 #endif // LayoutBox_h
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698