Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutView.h

Issue 1852193002: Remove LayoutView's special version mapToVisualRectInAncestorSpace(). Base URL: https://chromium.googlesource.com/chromium/src.git@SVGRootClip
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 int viewLogicalWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const; 98 int viewLogicalWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const;
99 int viewLogicalHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const; 99 int viewLogicalHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const;
100 100
101 LayoutUnit viewLogicalHeightForPercentages() const; 101 LayoutUnit viewLogicalHeightForPercentages() const;
102 102
103 float zoomFactor() const; 103 float zoomFactor() const;
104 104
105 FrameView* frameView() const { return m_frameView; } 105 FrameView* frameView() const { return m_frameView; }
106 106
107 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, La youtRect&, MapCoordinatesFlags, VisualRectFlags) const; 107 bool mapContentRectToFrameSpace(const LayoutBox* contentObject, LayoutRect&, VisualRectFlags = DefaultVisualRectFlags) const;
108 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, La youtRect&, VisualRectFlags = DefaultVisualRectFlags) const override; 108 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, La youtRect&, VisualRectFlags = DefaultVisualRectFlags) const override;
109 void adjustOffsetForFixedPosition(LayoutRect&) const; 109 void adjustOffsetForFixedPosition(LayoutRect&) const;
110 110
111 void invalidatePaintForViewAndCompositedLayers(); 111 void invalidatePaintForViewAndCompositedLayers();
112 112
113 void paint(const PaintInfo&, const LayoutPoint&) const override; 113 void paint(const PaintInfo&, const LayoutPoint&) const override;
114 void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&) cons t override; 114 void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&) cons t override;
115 115
116 enum SelectionPaintInvalidationMode { PaintInvalidationNewXOROld, PaintInval idationNewMinusOld }; 116 enum SelectionPaintInvalidationMode { PaintInvalidationNewXOROld, PaintInval idationNewMinusOld };
117 void setSelection(LayoutObject* start, int startPos, LayoutObject*, int endP os, SelectionPaintInvalidationMode = PaintInvalidationNewXOROld); 117 void setSelection(LayoutObject* start, int startPos, LayoutObject*, int endP os, SelectionPaintInvalidationMode = PaintInvalidationNewXOROld);
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 Persistent<HitTestCache> m_hitTestCache; 275 Persistent<HitTestCache> m_hitTestCache;
276 276
277 Vector<LayoutMedia*> m_mediaForPositionNotification; 277 Vector<LayoutMedia*> m_mediaForPositionNotification;
278 }; 278 };
279 279
280 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); 280 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView());
281 281
282 } // namespace blink 282 } // namespace blink
283 283
284 #endif // LayoutView_h 284 #endif // LayoutView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698