| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 private: | 64 private: |
| 65 virtual bool isWidget() const OVERRIDE FINAL { return true; } | 65 virtual bool isWidget() const OVERRIDE FINAL { return true; } |
| 66 | 66 |
| 67 virtual void willBeDestroyed() OVERRIDE FINAL; | 67 virtual void willBeDestroyed() OVERRIDE FINAL; |
| 68 virtual void destroy() OVERRIDE FINAL; | 68 virtual void destroy() OVERRIDE FINAL; |
| 69 | 69 |
| 70 bool setWidgetGeometry(const LayoutRect&); | 70 bool setWidgetGeometry(const LayoutRect&); |
| 71 bool updateWidgetGeometry(); | 71 bool updateWidgetGeometry(); |
| 72 | 72 |
| 73 RefPtr<Widget> m_widget; | 73 RefPtr<Widget> m_widget; |
| 74 FrameView* m_frameView; | |
| 75 IntRect m_clipRect; // The rectangle needs to remain correct after scrolling
, so it is stored in content view coordinates, and not clipped to window. | 74 IntRect m_clipRect; // The rectangle needs to remain correct after scrolling
, so it is stored in content view coordinates, and not clipped to window. |
| 76 int m_refCount; | 75 int m_refCount; |
| 77 }; | 76 }; |
| 78 | 77 |
| 79 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderWidget, isWidget()); | 78 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderWidget, isWidget()); |
| 80 | 79 |
| 81 } // namespace WebCore | 80 } // namespace WebCore |
| 82 | 81 |
| 83 #endif // RenderWidget_h | 82 #endif // RenderWidget_h |
| OLD | NEW |