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) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
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 28 matching lines...) Expand all Loading... |
39 public: | 39 public: |
40 RenderView(Node*, FrameView*); | 40 RenderView(Node*, FrameView*); |
41 virtual ~RenderView(); | 41 virtual ~RenderView(); |
42 | 42 |
43 virtual const char* renderName() const { return "RenderView"; } | 43 virtual const char* renderName() const { return "RenderView"; } |
44 | 44 |
45 virtual bool isRenderView() const { return true; } | 45 virtual bool isRenderView() const { return true; } |
46 | 46 |
47 virtual bool requiresLayer() const { return true; } | 47 virtual bool requiresLayer() const { return true; } |
48 | 48 |
| 49 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const; |
| 50 |
49 virtual void layout(); | 51 virtual void layout(); |
50 virtual void calcWidth(); | 52 virtual void calcWidth(); |
51 virtual void calcHeight(); | 53 virtual void calcHeight(); |
52 virtual void calcPrefWidths(); | 54 virtual void calcPrefWidths(); |
53 | 55 |
54 // The same as the FrameView's layoutHeight/layoutWidth but with null check
guards. | 56 // The same as the FrameView's layoutHeight/layoutWidth but with null check
guards. |
55 int viewHeight() const; | 57 int viewHeight() const; |
56 int viewWidth() const; | 58 int viewWidth() const; |
57 | 59 |
58 float zoomFactor() const; | 60 float zoomFactor() const; |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 private: | 278 private: |
277 RenderView* m_view; | 279 RenderView* m_view; |
278 bool m_disabled : 1; // true if the offset and clip part of layoutSta
te is disabled | 280 bool m_disabled : 1; // true if the offset and clip part of layoutSta
te is disabled |
279 bool m_didStart : 1; // true if we did a push or disable | 281 bool m_didStart : 1; // true if we did a push or disable |
280 bool m_didEnd : 1; // true if we popped or re-enabled | 282 bool m_didEnd : 1; // true if we popped or re-enabled |
281 }; | 283 }; |
282 | 284 |
283 } // namespace WebCore | 285 } // namespace WebCore |
284 | 286 |
285 #endif // RenderView_h | 287 #endif // RenderView_h |
OLD | NEW |