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, 2015-2016 Apple Inc. | 3 * Copyright (C) 2006, 2015-2016 Apple 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 int viewLogicalHeight() const; | 65 int viewLogicalHeight() const; |
66 | 66 |
67 LayoutUnit clientLogicalWidthForFixedPosition() const; | 67 LayoutUnit clientLogicalWidthForFixedPosition() const; |
68 LayoutUnit clientLogicalHeightForFixedPosition() const; | 68 LayoutUnit clientLogicalHeightForFixedPosition() const; |
69 | 69 |
70 float zoomFactor() const; | 70 float zoomFactor() const; |
71 | 71 |
72 FrameView& frameView() const { return m_frameView; } | 72 FrameView& frameView() const { return m_frameView; } |
73 | 73 |
74 LayoutRect visualOverflowRect() const override; | 74 LayoutRect visualOverflowRect() const override; |
75 LayoutRect computeRectForRepaint(const LayoutRect&, const RenderLayerModelOb
ject* repaintContainer, RepaintContext = { }) const override; | 75 std::optional<LayoutRect> computeVisibleRectInContainer(const LayoutRect&, c
onst RenderLayerModelObject* container, VisibleRectContext) const override; |
76 void repaintRootContents(); | 76 void repaintRootContents(); |
77 void repaintViewRectangle(const LayoutRect&) const; | 77 void repaintViewRectangle(const LayoutRect&) const; |
78 void repaintViewAndCompositedLayers(); | 78 void repaintViewAndCompositedLayers(); |
79 | 79 |
80 void paint(PaintInfo&, const LayoutPoint&) override; | 80 void paint(PaintInfo&, const LayoutPoint&) override; |
81 void paintBoxDecorations(PaintInfo&, const LayoutPoint&) override; | 81 void paintBoxDecorations(PaintInfo&, const LayoutPoint&) override; |
82 // Return the renderer whose background style is used to paint the root back
ground. | 82 // Return the renderer whose background style is used to paint the root back
ground. |
83 RenderElement* rendererForRootBackground() const; | 83 RenderElement* rendererForRootBackground() const; |
84 | 84 |
85 SelectionRangeData& selection() { return m_selection; } | 85 SelectionRangeData& selection() { return m_selection; } |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 Vector<RefPtr<RenderWidget>> m_protectedRenderWidgets; | 262 Vector<RefPtr<RenderWidget>> m_protectedRenderWidgets; |
263 | 263 |
264 #if ENABLE(CSS_SCROLL_SNAP) | 264 #if ENABLE(CSS_SCROLL_SNAP) |
265 HashSet<const RenderBox*> m_boxesWithScrollSnapPositions; | 265 HashSet<const RenderBox*> m_boxesWithScrollSnapPositions; |
266 #endif | 266 #endif |
267 }; | 267 }; |
268 | 268 |
269 } // namespace WebCore | 269 } // namespace WebCore |
270 | 270 |
271 SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderView, isRenderView()) | 271 SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderView, isRenderView()) |
OLD | NEW |