OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2009, 2010 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2009, 2010 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 Widget* widget() const { return m_widget.get(); } | 61 Widget* widget() const { return m_widget.get(); } |
62 virtual void setWidget(PassRefPtr<Widget>); | 62 virtual void setWidget(PassRefPtr<Widget>); |
63 | 63 |
64 static RenderWidget* find(const Widget*); | 64 static RenderWidget* find(const Widget*); |
65 | 65 |
66 void updateWidgetPosition(); | 66 void updateWidgetPosition(); |
67 void widgetPositionsUpdated(); | 67 void widgetPositionsUpdated(); |
68 IntRect windowClipRect() const; | 68 IntRect windowClipRect() const; |
69 | 69 |
70 RenderArena* ref() { ++m_refCount; return renderArena(); } | 70 void ref() { ++m_refCount; } |
71 void deref(RenderArena*); | 71 void deref(); |
72 | 72 |
73 protected: | 73 protected: |
74 RenderWidget(Element*); | 74 RenderWidget(Element*); |
75 | 75 |
76 FrameView* frameView() const { return m_frameView; } | 76 FrameView* frameView() const { return m_frameView; } |
77 | 77 |
78 void clearWidget(); | 78 void clearWidget(); |
79 | 79 |
80 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE FINAL; | 80 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE FINAL; |
81 virtual void layout(); | 81 virtual void layout(); |
(...skipping 30 matching lines...) Expand all Loading... |
112 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isWidget()); | 112 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isWidget()); |
113 return static_cast<const RenderWidget*>(object); | 113 return static_cast<const RenderWidget*>(object); |
114 } | 114 } |
115 | 115 |
116 // This will catch anyone doing an unnecessary cast. | 116 // This will catch anyone doing an unnecessary cast. |
117 void toRenderWidget(const RenderWidget*); | 117 void toRenderWidget(const RenderWidget*); |
118 | 118 |
119 } // namespace WebCore | 119 } // namespace WebCore |
120 | 120 |
121 #endif // RenderWidget_h | 121 #endif // RenderWidget_h |
OLD | NEW |