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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp

Issue 2465983002: Rename "paint invalidation rect" etc. to "visual rect". (Closed)
Patch Set: - Created 4 years, 1 month 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) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 SVGLayoutSupport::mapAncestorToLocal(*this, ancestor, transformState); 103 SVGLayoutSupport::mapAncestorToLocal(*this, ancestor, transformState);
104 } 104 }
105 105
106 const LayoutObject* LayoutSVGBlock::pushMappingToContainer( 106 const LayoutObject* LayoutSVGBlock::pushMappingToContainer(
107 const LayoutBoxModelObject* ancestorToStopAt, 107 const LayoutBoxModelObject* ancestorToStopAt,
108 LayoutGeometryMap& geometryMap) const { 108 LayoutGeometryMap& geometryMap) const {
109 return SVGLayoutSupport::pushMappingToContainer(this, ancestorToStopAt, 109 return SVGLayoutSupport::pushMappingToContainer(this, ancestorToStopAt,
110 geometryMap); 110 geometryMap);
111 } 111 }
112 112
113 LayoutRect LayoutSVGBlock::absoluteClippedOverflowRect() const { 113 LayoutRect LayoutSVGBlock::absoluteVisualRect() const {
114 return SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(*this, 114 return SVGLayoutSupport::visualRectInAncestorSpace(*this, *view());
115 *view());
116 } 115 }
117 116
118 bool LayoutSVGBlock::mapToVisualRectInAncestorSpace( 117 bool LayoutSVGBlock::mapToVisualRectInAncestorSpace(
119 const LayoutBoxModelObject* ancestor, 118 const LayoutBoxModelObject* ancestor,
120 LayoutRect& rect, 119 LayoutRect& rect,
121 VisualRectFlags) const { 120 VisualRectFlags) const {
122 return SVGLayoutSupport::mapToVisualRectInAncestorSpace( 121 return SVGLayoutSupport::mapToVisualRectInAncestorSpace(
123 *this, ancestor, FloatRect(rect), rect); 122 *this, ancestor, FloatRect(rect), rect);
124 } 123 }
125 124
126 bool LayoutSVGBlock::nodeAtPoint(HitTestResult&, 125 bool LayoutSVGBlock::nodeAtPoint(HitTestResult&,
127 const HitTestLocation&, 126 const HitTestLocation&,
128 const LayoutPoint&, 127 const LayoutPoint&,
129 HitTestAction) { 128 HitTestAction) {
130 ASSERT_NOT_REACHED(); 129 ASSERT_NOT_REACHED();
131 return false; 130 return false;
132 } 131 }
133 132
134 } // namespace blink 133 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698