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

Side by Side Diff: Source/core/rendering/RenderObject.h

Issue 399173005: Incrementally invalidate boxes with borders if possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 4 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 | Annotate | Revision Log
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 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 // skipped. 1114 // skipped.
1115 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur rentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) cons t; 1115 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur rentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) cons t;
1116 1116
1117 // Add hit-test rects for this renderer only to the provided list. layerOffs et is the offset 1117 // Add hit-test rects for this renderer only to the provided list. layerOffs et is the offset
1118 // of this renderer within the current layer that should be used for each re sult. 1118 // of this renderer within the current layer that should be used for each re sult.
1119 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const { }; 1119 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const { };
1120 1120
1121 virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModel Object& paintInvalidationContainer, 1121 virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModel Object& paintInvalidationContainer,
1122 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva lidationContainer, 1122 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva lidationContainer,
1123 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva lidationContainer); 1123 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva lidationContainer);
1124 void incrementallyInvalidatePaint(const RenderLayerModelObject& paintInvalid ationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds); 1124 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject& pain tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds , const LayoutPoint& positionFromPaintInvalidationContainer);
1125 void fullyInvalidatePaint(const RenderLayerModelObject& paintInvalidationCon tainer, InvalidationReason, const LayoutRect& oldBounds, const LayoutRect& newBo unds); 1125 void fullyInvalidatePaint(const RenderLayerModelObject& paintInvalidationCon tainer, InvalidationReason, const LayoutRect& oldBounds, const LayoutRect& newBo unds);
1126 1126
1127 private: 1127 private:
1128 const RenderLayerModelObject* enclosingCompositedContainer() const; 1128 const RenderLayerModelObject* enclosingCompositedContainer() const;
1129 1129
1130 RenderBlock* containerForFixedPosition(const RenderLayerModelObject* paintIn validationContainer = 0, bool* paintInvalidationContainerSkipped = 0) const; 1130 RenderBlock* containerForFixedPosition(const RenderLayerModelObject* paintIn validationContainer = 0, bool* paintInvalidationContainerSkipped = 0) const;
1131 1131
1132 RenderFlowThread* locateFlowThreadContainingBlock() const; 1132 RenderFlowThread* locateFlowThreadContainingBlock() const;
1133 void removeFromRenderFlowThread(); 1133 void removeFromRenderFlowThread();
1134 void removeFromRenderFlowThreadRecursive(RenderFlowThread*); 1134 void removeFromRenderFlowThreadRecursive(RenderFlowThread*);
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
1532 void showTree(const blink::RenderObject*); 1532 void showTree(const blink::RenderObject*);
1533 void showLineTree(const blink::RenderObject*); 1533 void showLineTree(const blink::RenderObject*);
1534 void showRenderTree(const blink::RenderObject* object1); 1534 void showRenderTree(const blink::RenderObject* object1);
1535 // We don't make object2 an optional parameter so that showRenderTree 1535 // We don't make object2 an optional parameter so that showRenderTree
1536 // can be called from gdb easily. 1536 // can be called from gdb easily.
1537 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1537 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1538 1538
1539 #endif 1539 #endif
1540 1540
1541 #endif // RenderObject_h 1541 #endif // RenderObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698