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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 // Returns the total count of calls to HitTest, for testing. | 53 // Returns the total count of calls to HitTest, for testing. |
54 unsigned hitTestCount() const { return m_hitTestCount; } | 54 unsigned hitTestCount() const { return m_hitTestCount; } |
55 | 55 |
56 virtual const char* renderName() const override { return "RenderView"; } | 56 virtual const char* renderName() const override { return "RenderView"; } |
57 | 57 |
58 virtual bool isOfType(RenderObjectType type) const override { return type ==
RenderObjectRenderView || RenderBlockFlow::isOfType(type); } | 58 virtual bool isOfType(RenderObjectType type) const override { return type ==
RenderObjectRenderView || RenderBlockFlow::isOfType(type); } |
59 | 59 |
60 virtual LayerType layerTypeRequired() const override { return NormalLayer; } | 60 virtual LayerType layerTypeRequired() const override { return NormalLayer; } |
61 | 61 |
62 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override; | 62 virtual bool isChildAllowed(RenderObject*, const RenderStyle*) const overrid
e; |
63 | 63 |
64 virtual void layout() override; | 64 virtual void layout() override; |
65 virtual void updateLogicalWidth() override; | 65 virtual void updateLogicalWidth() override; |
66 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; | 66 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; |
67 | 67 |
68 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const
override; | 68 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const
override; |
69 | 69 |
70 // The same as the FrameView's layoutHeight/layoutWidth but with null check
guards. | 70 // The same as the FrameView's layoutHeight/layoutWidth but with null check
guards. |
71 int viewHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 71 int viewHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
72 int viewWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 72 int viewWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 m_paintInvalidationState->m_cachedOffsetsEnabled = true; | 251 m_paintInvalidationState->m_cachedOffsetsEnabled = true; |
252 } | 252 } |
253 private: | 253 private: |
254 const PaintInvalidationState* m_paintInvalidationState; | 254 const PaintInvalidationState* m_paintInvalidationState; |
255 bool m_didDisable; | 255 bool m_didDisable; |
256 }; | 256 }; |
257 | 257 |
258 } // namespace blink | 258 } // namespace blink |
259 | 259 |
260 #endif // RenderView_h | 260 #endif // RenderView_h |
OLD | NEW |