OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |