| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 108 |
| 109 int viewLogicalWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 109 int viewLogicalWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
| 110 int viewLogicalHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 110 int viewLogicalHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
| 111 | 111 |
| 112 LayoutUnit viewLogicalHeightForPercentages() const; | 112 LayoutUnit viewLogicalHeightForPercentages() const; |
| 113 | 113 |
| 114 float zoomFactor() const; | 114 float zoomFactor() const; |
| 115 | 115 |
| 116 FrameView* frameView() const { return m_frameView; } | 116 FrameView* frameView() const { return m_frameView; } |
| 117 | 117 |
| 118 // |ancestor| can be nullptr, which will map the rect to the main frame's |
| 119 // space, even if the main frame is remote (or has intermediate remote |
| 120 // frames in the chain). |
| 118 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, | 121 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, |
| 119 LayoutRect&, | 122 LayoutRect&, |
| 120 MapCoordinatesFlags, | 123 MapCoordinatesFlags, |
| 121 VisualRectFlags) const; | 124 VisualRectFlags) const; |
| 122 bool mapToVisualRectInAncestorSpace( | 125 bool mapToVisualRectInAncestorSpace( |
| 123 const LayoutBoxModelObject* ancestor, | 126 const LayoutBoxModelObject* ancestor, |
| 124 LayoutRect&, | 127 LayoutRect&, |
| 125 VisualRectFlags = DefaultVisualRectFlags) const override; | 128 VisualRectFlags = DefaultVisualRectFlags) const override; |
| 126 LayoutSize offsetForFixedPosition(bool includePendingScroll = false) const; | 129 LayoutSize offsetForFixedPosition(bool includePendingScroll = false) const; |
| 127 | 130 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 Persistent<HitTestCache> m_hitTestCache; | 323 Persistent<HitTestCache> m_hitTestCache; |
| 321 | 324 |
| 322 Vector<LayoutMedia*> m_mediaForPositionNotification; | 325 Vector<LayoutMedia*> m_mediaForPositionNotification; |
| 323 }; | 326 }; |
| 324 | 327 |
| 325 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); | 328 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); |
| 326 | 329 |
| 327 } // namespace blink | 330 } // namespace blink |
| 328 | 331 |
| 329 #endif // LayoutView_h | 332 #endif // LayoutView_h |
| OLD | NEW |