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

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

Issue 351673007: Move paint invalidation after compositing update (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: New approach that should work, added a test based on Adam's review Created 6 years, 6 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 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 void drawSolidBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, 1044 void drawSolidBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2,
1045 BoxSide, Color, int adjacentWidth1, int adjacentWidth2, bool antialias); 1045 BoxSide, Color, int adjacentWidth1, int adjacentWidth2, bool antialias);
1046 1046
1047 void paintFocusRing(PaintInfo&, const LayoutPoint&, RenderStyle*); 1047 void paintFocusRing(PaintInfo&, const LayoutPoint&, RenderStyle*);
1048 void paintOutline(PaintInfo&, const LayoutRect&); 1048 void paintOutline(PaintInfo&, const LayoutRect&);
1049 void addPDFURLRect(GraphicsContext*, const LayoutRect&); 1049 void addPDFURLRect(GraphicsContext*, const LayoutRect&);
1050 void addChildFocusRingRects(Vector<IntRect>&, const LayoutPoint& additionalO ffset, const RenderLayerModelObject* paintContainer); 1050 void addChildFocusRingRects(Vector<IntRect>&, const LayoutPoint& additionalO ffset, const RenderLayerModelObject* paintContainer);
1051 1051
1052 virtual LayoutRect viewRect() const; 1052 virtual LayoutRect viewRect() const;
1053 1053
1054 void clearLayoutRootIfNeeded() const;
1055 virtual void willBeDestroyed(); 1054 virtual void willBeDestroyed();
1056 void postDestroy(); 1055 void postDestroy();
1057 1056
1058 virtual void insertedIntoTree(); 1057 virtual void insertedIntoTree();
1059 virtual void willBeRemovedFromTree(); 1058 virtual void willBeRemovedFromTree();
1060 1059
1061 void setDocumentForAnonymous(Document* document) { ASSERT(isAnonymous()); m_ node = document; } 1060 void setDocumentForAnonymous(Document* document) { ASSERT(isAnonymous()); m_ node = document; }
1062 1061
1063 // Add hit-test rects for the render tree rooted at this node to the provide d collection on a 1062 // Add hit-test rects for the render tree rooted at this node to the provide d collection on a
1064 // per-RenderLayer basis. 1063 // per-RenderLayer basis.
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 void showTree(const WebCore::RenderObject*); 1471 void showTree(const WebCore::RenderObject*);
1473 void showLineTree(const WebCore::RenderObject*); 1472 void showLineTree(const WebCore::RenderObject*);
1474 void showRenderTree(const WebCore::RenderObject* object1); 1473 void showRenderTree(const WebCore::RenderObject* object1);
1475 // We don't make object2 an optional parameter so that showRenderTree 1474 // We don't make object2 an optional parameter so that showRenderTree
1476 // can be called from gdb easily. 1475 // can be called from gdb easily.
1477 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1476 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1478 1477
1479 #endif 1478 #endif
1480 1479
1481 #endif // RenderObject_h 1480 #endif // RenderObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698