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

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

Issue 1585823002: Improve performance when calling PaintLayer::setNeedsRepaint() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@RemoveVisualRect
Patch Set: Created 4 years, 11 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 1525 matching lines...) Expand 10 before | Expand all | Expand 10 after
1536 // recomputeOverflow-capable. crbug.com/437012 and crbug.com/434700. 1536 // recomputeOverflow-capable. crbug.com/437012 and crbug.com/434700.
1537 inline void markContainingBlocksForOverflowRecalc(); 1537 inline void markContainingBlocksForOverflowRecalc();
1538 1538
1539 inline void markContainerChainForPaintInvalidation(); 1539 inline void markContainerChainForPaintInvalidation();
1540 1540
1541 inline void invalidateSelectionIfNeeded(const LayoutBoxModelObject&, PaintIn validationReason); 1541 inline void invalidateSelectionIfNeeded(const LayoutBoxModelObject&, PaintIn validationReason);
1542 1542
1543 inline void invalidateContainerPreferredLogicalWidths(); 1543 inline void invalidateContainerPreferredLogicalWidths();
1544 1544
1545 void invalidatePaintOfPreviousPaintInvalidationRect(const LayoutBoxModelObje ct& paintInvalidationContainer, PaintInvalidationReason); 1545 void invalidatePaintOfPreviousPaintInvalidationRect(const LayoutBoxModelObje ct& paintInvalidationContainer, PaintInvalidationReason);
1546 void invalidatePaintOfPreviousPaintInvalidationRectNotSettingLayerNeedsRepai nt(const LayoutBoxModelObject& paintInvalidationContainer, PaintInvalidationReas on);
1546 1547
1547 LayoutRect previousSelectionRectForPaintInvalidation() const; 1548 LayoutRect previousSelectionRectForPaintInvalidation() const;
1548 void setPreviousSelectionRectForPaintInvalidation(const LayoutRect&); 1549 void setPreviousSelectionRectForPaintInvalidation(const LayoutRect&);
1549 1550
1550 LayoutObject* containerForAbsolutePosition(const LayoutBoxModelObject* paint InvalidationContainer = nullptr, bool* paintInvalidationContainerSkipped = nullp tr) const; 1551 LayoutObject* containerForAbsolutePosition(const LayoutBoxModelObject* paint InvalidationContainer = nullptr, bool* paintInvalidationContainerSkipped = nullp tr) const;
1551 1552
1552 const LayoutBoxModelObject* enclosingCompositedContainer() const; 1553 const LayoutBoxModelObject* enclosingCompositedContainer() const;
1553 1554
1554 LayoutFlowThread* locateFlowThreadContainingBlock() const; 1555 LayoutFlowThread* locateFlowThreadContainingBlock() const;
1555 void removeFromLayoutFlowThreadRecursive(LayoutFlowThread*); 1556 void removeFromLayoutFlowThreadRecursive(LayoutFlowThread*);
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
2092 void showTree(const blink::LayoutObject*); 2093 void showTree(const blink::LayoutObject*);
2093 void showLineTree(const blink::LayoutObject*); 2094 void showLineTree(const blink::LayoutObject*);
2094 void showLayoutTree(const blink::LayoutObject* object1); 2095 void showLayoutTree(const blink::LayoutObject* object1);
2095 // We don't make object2 an optional parameter so that showLayoutTree 2096 // We don't make object2 an optional parameter so that showLayoutTree
2096 // can be called from gdb easily. 2097 // can be called from gdb easily.
2097 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2098 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2098 2099
2099 #endif 2100 #endif
2100 2101
2101 #endif // LayoutObject_h 2102 #endif // LayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698