| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 int ViewLogicalWidth(IncludeScrollbarsInRect = kExcludeScrollbars) const; | 110 int ViewLogicalWidth(IncludeScrollbarsInRect = kExcludeScrollbars) const; |
| 111 int ViewLogicalHeight(IncludeScrollbarsInRect = kExcludeScrollbars) const; | 111 int ViewLogicalHeight(IncludeScrollbarsInRect = kExcludeScrollbars) const; |
| 112 | 112 |
| 113 LayoutUnit ViewLogicalHeightForPercentages() const; | 113 LayoutUnit ViewLogicalHeightForPercentages() const; |
| 114 | 114 |
| 115 float ZoomFactor() const; | 115 float ZoomFactor() const; |
| 116 | 116 |
| 117 FrameView* GetFrameView() const { return frame_view_; } | 117 FrameView* GetFrameView() const { return frame_view_; } |
| 118 | 118 |
| 119 void UpdateAfterLayout() override; |
| 120 |
| 119 // See comments for the equivalent method on LayoutObject. | 121 // See comments for the equivalent method on LayoutObject. |
| 120 bool MapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, | 122 bool MapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, |
| 121 LayoutRect&, | 123 LayoutRect&, |
| 122 MapCoordinatesFlags mode, | 124 MapCoordinatesFlags mode, |
| 123 VisualRectFlags) const; | 125 VisualRectFlags) const; |
| 124 | 126 |
| 125 // |ancestor| can be nullptr, which will map the rect to the main frame's | 127 // |ancestor| can be nullptr, which will map the rect to the main frame's |
| 126 // space, even if the main frame is remote (or has intermediate remote | 128 // space, even if the main frame is remote (or has intermediate remote |
| 127 // frames in the chain). | 129 // frames in the chain). |
| 128 bool MapToVisualRectInAncestorSpaceInternal( | 130 bool MapToVisualRectInAncestorSpaceInternal( |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 unsigned hit_test_count_; | 298 unsigned hit_test_count_; |
| 297 unsigned hit_test_cache_hits_; | 299 unsigned hit_test_cache_hits_; |
| 298 Persistent<HitTestCache> hit_test_cache_; | 300 Persistent<HitTestCache> hit_test_cache_; |
| 299 }; | 301 }; |
| 300 | 302 |
| 301 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, IsLayoutView()); | 303 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, IsLayoutView()); |
| 302 | 304 |
| 303 } // namespace blink | 305 } // namespace blink |
| 304 | 306 |
| 305 #endif // LayoutView_h | 307 #endif // LayoutView_h |
| OLD | NEW |