OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
7 * Copyright (C) 2011 Google Inc. All rights reserved. | 7 * Copyright (C) 2011 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 29 matching lines...) Expand all Loading... |
40 class Node; | 40 class Node; |
41 class RenderNamedFlowThread; | 41 class RenderNamedFlowThread; |
42 class RenderObject; | 42 class RenderObject; |
43 class RenderStyle; | 43 class RenderStyle; |
44 class ElementShadow; | 44 class ElementShadow; |
45 | 45 |
46 class NodeRenderingContext { | 46 class NodeRenderingContext { |
47 public: | 47 public: |
48 explicit NodeRenderingContext(Node*); | 48 explicit NodeRenderingContext(Node*); |
49 NodeRenderingContext(Node*, RenderStyle*); | 49 NodeRenderingContext(Node*, RenderStyle*); |
| 50 NodeRenderingContext(Node*, const Node::AttachContext&); |
50 ~NodeRenderingContext(); | 51 ~NodeRenderingContext(); |
51 | 52 |
52 void createRendererForTextIfNeeded(); | 53 void createRendererForTextIfNeeded(); |
53 void createRendererForElementIfNeeded(); | 54 void createRendererForElementIfNeeded(); |
54 | 55 |
55 Node* node() const; | 56 Node* node() const; |
56 ContainerNode* parentNodeForRenderingAndStyle() const; | 57 ContainerNode* parentNodeForRenderingAndStyle() const; |
57 bool resetStyleInheritance() const; | 58 bool resetStyleInheritance() const; |
58 RenderObject* parentRenderer() const; | 59 RenderObject* parentRenderer() const; |
59 RenderObject* nextRenderer() const; | 60 RenderObject* nextRenderer() const; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 } | 99 } |
99 | 100 |
100 inline InsertionPoint* NodeRenderingContext::insertionPoint() const | 101 inline InsertionPoint* NodeRenderingContext::insertionPoint() const |
101 { | 102 { |
102 return m_parentDetails.insertionPoint(); | 103 return m_parentDetails.insertionPoint(); |
103 } | 104 } |
104 | 105 |
105 } // namespace WebCore | 106 } // namespace WebCore |
106 | 107 |
107 #endif | 108 #endif |
OLD | NEW |