| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 virtual void trace(Visitor*) override; | 49 virtual void trace(Visitor*) override; |
| 50 | 50 |
| 51 bool hitTest(const HitTestRequest&, HitTestResult&); | 51 bool hitTest(const HitTestRequest&, HitTestResult&); |
| 52 bool hitTest(const HitTestRequest&, const HitTestLocation&, HitTestResult&); | 52 bool hitTest(const HitTestRequest&, const HitTestLocation&, HitTestResult&); |
| 53 | 53 |
| 54 // Returns the total count of calls to HitTest, for testing. | 54 // Returns the total count of calls to HitTest, for testing. |
| 55 unsigned hitTestCount() const { return m_hitTestCount; } | 55 unsigned hitTestCount() const { return m_hitTestCount; } |
| 56 | 56 |
| 57 virtual const char* renderName() const override { return "RenderView"; } | 57 virtual const char* renderName() const override { return "RenderView"; } |
| 58 | 58 |
| 59 virtual bool isRenderView() const override { return true; } | 59 virtual bool isOfType(RenderObjectType type) const override { return type ==
RenderObjectRenderView || RenderBlockFlow::isOfType(type); } |
| 60 | 60 |
| 61 virtual LayerType layerTypeRequired() const override { return NormalLayer; } | 61 virtual LayerType layerTypeRequired() const override { return NormalLayer; } |
| 62 | 62 |
| 63 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override; | 63 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override; |
| 64 | 64 |
| 65 virtual void layout() override; | 65 virtual void layout() override; |
| 66 virtual void updateLogicalWidth() override; | 66 virtual void updateLogicalWidth() override; |
| 67 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; | 67 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; |
| 68 | 68 |
| 69 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const
override; | 69 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const
override; |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 m_paintInvalidationState->m_cachedOffsetsEnabled = true; | 236 m_paintInvalidationState->m_cachedOffsetsEnabled = true; |
| 237 } | 237 } |
| 238 private: | 238 private: |
| 239 const PaintInvalidationState* m_paintInvalidationState; | 239 const PaintInvalidationState* m_paintInvalidationState; |
| 240 bool m_didDisable; | 240 bool m_didDisable; |
| 241 }; | 241 }; |
| 242 | 242 |
| 243 } // namespace blink | 243 } // namespace blink |
| 244 | 244 |
| 245 #endif // RenderView_h | 245 #endif // RenderView_h |
| OLD | NEW |