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

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

Issue 569683004: Factor painting code from RenderBlock into BlockPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Created 6 years, 3 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
« no previous file with comments | « Source/core/rendering/RenderGrid.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 void drawDashedOrDottedBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, 1099 void drawDashedOrDottedBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2,
1100 BoxSide, Color, int thickness, EBorderStyle, bool antialias); 1100 BoxSide, Color, int thickness, EBorderStyle, bool antialias);
1101 void drawDoubleBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, 1101 void drawDoubleBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2,
1102 int length, BoxSide, Color, int thickness, int adjacentWidth1, int adjac entWidth2, bool antialias); 1102 int length, BoxSide, Color, int thickness, int adjacentWidth1, int adjac entWidth2, bool antialias);
1103 void drawRidgeOrGrooveBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, 1103 void drawRidgeOrGrooveBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2,
1104 BoxSide, Color, EBorderStyle, int adjacentWidth1, int adjacentWidth2, bo ol antialias); 1104 BoxSide, Color, EBorderStyle, int adjacentWidth1, int adjacentWidth2, bo ol antialias);
1105 void drawSolidBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, 1105 void drawSolidBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2,
1106 BoxSide, Color, int adjacentWidth1, int adjacentWidth2, bool antialias); 1106 BoxSide, Color, int adjacentWidth1, int adjacentWidth2, bool antialias);
1107 1107
1108 void paintFocusRing(PaintInfo&, const LayoutPoint&, RenderStyle*); 1108 void paintFocusRing(PaintInfo&, const LayoutPoint&, RenderStyle*);
1109 public:
1109 void paintOutline(PaintInfo&, const LayoutRect&); 1110 void paintOutline(PaintInfo&, const LayoutRect&);
1111 protected:
1110 void addChildFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& addition alOffset, const RenderLayerModelObject* paintContainer) const; 1112 void addChildFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& addition alOffset, const RenderLayerModelObject* paintContainer) const;
1111 1113
1112 void clearLayoutRootIfNeeded() const; 1114 void clearLayoutRootIfNeeded() const;
1113 virtual void willBeDestroyed(); 1115 virtual void willBeDestroyed();
1114 void postDestroy(); 1116 void postDestroy();
1115 1117
1116 virtual void insertedIntoTree(); 1118 virtual void insertedIntoTree();
1117 virtual void willBeRemovedFromTree(); 1119 virtual void willBeRemovedFromTree();
1118 1120
1119 void setDocumentForAnonymous(Document* document) { ASSERT(isAnonymous()); m_ node = document; } 1121 void setDocumentForAnonymous(Document* document) { ASSERT(isAnonymous()); m_ node = document; }
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1568 void showTree(const blink::RenderObject*); 1570 void showTree(const blink::RenderObject*);
1569 void showLineTree(const blink::RenderObject*); 1571 void showLineTree(const blink::RenderObject*);
1570 void showRenderTree(const blink::RenderObject* object1); 1572 void showRenderTree(const blink::RenderObject* object1);
1571 // We don't make object2 an optional parameter so that showRenderTree 1573 // We don't make object2 an optional parameter so that showRenderTree
1572 // can be called from gdb easily. 1574 // can be called from gdb easily.
1573 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1575 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1574 1576
1575 #endif 1577 #endif
1576 1578
1577 #endif // RenderObject_h 1579 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderGrid.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698