| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 // Returns the total count of calls to HitTest, for testing. | 56 // Returns the total count of calls to HitTest, for testing. |
| 57 unsigned hitTestCount() const { return m_hitTestCount; } | 57 unsigned hitTestCount() const { return m_hitTestCount; } |
| 58 | 58 |
| 59 virtual const char* name() const override { return "LayoutView"; } | 59 virtual const char* name() const override { return "LayoutView"; } |
| 60 | 60 |
| 61 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectLayoutView || LayoutBlockFlow::isOfType(type); } | 61 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectLayoutView || LayoutBlockFlow::isOfType(type); } |
| 62 | 62 |
| 63 virtual DeprecatedPaintLayerType layerTypeRequired() const override { return
NormalDeprecatedPaintLayer; } | 63 virtual DeprecatedPaintLayerType layerTypeRequired() const override { return
NormalDeprecatedPaintLayer; } |
| 64 | 64 |
| 65 virtual bool isChildAllowed(LayoutObject*, const LayoutStyle&) const overrid
e; | 65 virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const overr
ide; |
| 66 | 66 |
| 67 virtual void layout() override; | 67 virtual void layout() override; |
| 68 virtual void updateLogicalWidth() override; | 68 virtual void updateLogicalWidth() override; |
| 69 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; | 69 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; |
| 70 | 70 |
| 71 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const
override; | 71 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const
override; |
| 72 | 72 |
| 73 // The same as the FrameView's layoutHeight/layoutWidth but with null check
guards. | 73 // The same as the FrameView's layoutHeight/layoutWidth but with null check
guards. |
| 74 int viewHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 74 int viewHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
| 75 int viewWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 75 int viewWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 m_paintInvalidationState->m_cachedOffsetsEnabled = true; | 234 m_paintInvalidationState->m_cachedOffsetsEnabled = true; |
| 235 } | 235 } |
| 236 private: | 236 private: |
| 237 const PaintInvalidationState* m_paintInvalidationState; | 237 const PaintInvalidationState* m_paintInvalidationState; |
| 238 bool m_didDisable; | 238 bool m_didDisable; |
| 239 }; | 239 }; |
| 240 | 240 |
| 241 } // namespace blink | 241 } // namespace blink |
| 242 | 242 |
| 243 #endif // LayoutView_h | 243 #endif // LayoutView_h |
| OLD | NEW |