| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 107 |
| 108 int viewLogicalWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 108 int viewLogicalWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
| 109 int viewLogicalHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 109 int viewLogicalHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
| 110 | 110 |
| 111 LayoutUnit viewLogicalHeightForPercentages() const; | 111 LayoutUnit viewLogicalHeightForPercentages() const; |
| 112 | 112 |
| 113 float zoomFactor() const; | 113 float zoomFactor() const; |
| 114 | 114 |
| 115 FrameView* frameView() const { return m_frameView; } | 115 FrameView* frameView() const { return m_frameView; } |
| 116 | 116 |
| 117 // |ancestor| can be nullptr, which will map the rect to the main frame's |
| 118 // space, even if the main frame is remote (or has intermediate remote |
| 119 // frames in the chain). |
| 117 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, | 120 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, |
| 118 LayoutRect&, | 121 LayoutRect&, |
| 119 MapCoordinatesFlags, | 122 MapCoordinatesFlags, |
| 120 VisualRectFlags) const; | 123 VisualRectFlags) const; |
| 121 bool mapToVisualRectInAncestorSpace( | 124 bool mapToVisualRectInAncestorSpace( |
| 122 const LayoutBoxModelObject* ancestor, | 125 const LayoutBoxModelObject* ancestor, |
| 123 LayoutRect&, | 126 LayoutRect&, |
| 124 VisualRectFlags = DefaultVisualRectFlags) const override; | 127 VisualRectFlags = DefaultVisualRectFlags) const override; |
| 125 LayoutSize offsetForFixedPosition(bool includePendingScroll = false) const; | 128 LayoutSize offsetForFixedPosition(bool includePendingScroll = false) const; |
| 126 | 129 |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 unsigned m_hitTestCount; | 313 unsigned m_hitTestCount; |
| 311 unsigned m_hitTestCacheHits; | 314 unsigned m_hitTestCacheHits; |
| 312 Persistent<HitTestCache> m_hitTestCache; | 315 Persistent<HitTestCache> m_hitTestCache; |
| 313 }; | 316 }; |
| 314 | 317 |
| 315 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); | 318 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); |
| 316 | 319 |
| 317 } // namespace blink | 320 } // namespace blink |
| 318 | 321 |
| 319 #endif // LayoutView_h | 322 #endif // LayoutView_h |
| OLD | NEW |