| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 virtual void updateLogicalWidth() override; | 62 virtual void updateLogicalWidth() override; |
| 63 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; | 63 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; |
| 64 | 64 |
| 65 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const
override; | 65 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const
override; |
| 66 | 66 |
| 67 // The same as the FrameView's layoutHeight/layoutWidth but with null check
guards. | 67 // The same as the FrameView's layoutHeight/layoutWidth but with null check
guards. |
| 68 int viewHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 68 int viewHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
| 69 int viewWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 69 int viewWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
| 70 int viewLogicalWidth() const | 70 int viewLogicalWidth() const |
| 71 { | 71 { |
| 72 return style()->isHorizontalWritingMode() ? viewWidth(ExcludeScrollbars)
: viewHeight(ExcludeScrollbars); | 72 return viewWidth(ExcludeScrollbars); |
| 73 } | 73 } |
| 74 int viewLogicalHeight() const; | 74 int viewLogicalHeight() const; |
| 75 LayoutUnit viewLogicalHeightForPercentages() const; | 75 LayoutUnit viewLogicalHeightForPercentages() const; |
| 76 | 76 |
| 77 float zoomFactor() const; | 77 float zoomFactor() const; |
| 78 | 78 |
| 79 FrameView* frameView() const { return m_frameView; } | 79 FrameView* frameView() const { return m_frameView; } |
| 80 | 80 |
| 81 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const o
verride; | 81 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const o
verride; |
| 82 | 82 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 m_paintInvalidationState->m_cachedOffsetsEnabled = true; | 193 m_paintInvalidationState->m_cachedOffsetsEnabled = true; |
| 194 } | 194 } |
| 195 private: | 195 private: |
| 196 const PaintInvalidationState* m_paintInvalidationState; | 196 const PaintInvalidationState* m_paintInvalidationState; |
| 197 bool m_didDisable; | 197 bool m_didDisable; |
| 198 }; | 198 }; |
| 199 | 199 |
| 200 } // namespace blink | 200 } // namespace blink |
| 201 | 201 |
| 202 #endif // RenderView_h | 202 #endif // RenderView_h |
| OLD | NEW |