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

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

Issue 2604073002: Apply offset from the correct graphics layer; simplify code for link highlights. (Closed)
Patch Set: Created 3 years, 11 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) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> 2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz>
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 FloatRect strokeBoundingBox() const final; 47 FloatRect strokeBoundingBox() const final;
48 FloatRect visualRectInLocalSVGCoordinates() const final; 48 FloatRect visualRectInLocalSVGCoordinates() const final;
49 49
50 LayoutRect absoluteVisualRect() const final; 50 LayoutRect absoluteVisualRect() const final;
51 void mapLocalToAncestor(const LayoutBoxModelObject* ancestor, 51 void mapLocalToAncestor(const LayoutBoxModelObject* ancestor,
52 TransformState&, 52 TransformState&,
53 MapCoordinatesFlags = ApplyContainerFlip) const final; 53 MapCoordinatesFlags = ApplyContainerFlip) const final;
54 const LayoutObject* pushMappingToContainer( 54 const LayoutObject* pushMappingToContainer(
55 const LayoutBoxModelObject* ancestorToStopAt, 55 const LayoutBoxModelObject* ancestorToStopAt,
56 LayoutGeometryMap&) const final; 56 LayoutGeometryMap&) const final;
57 void absoluteQuads(Vector<FloatQuad>&) const final; 57 void absoluteQuads(Vector<FloatQuad>&,
58 MapCoordinatesFlags mode = 0) const final;
58 59
59 private: 60 private:
60 InlineFlowBox* createInlineFlowBox() final; 61 InlineFlowBox* createInlineFlowBox() final;
61 62
62 void invalidateTreeIfNeeded(const PaintInvalidationState&) final; 63 void invalidateTreeIfNeeded(const PaintInvalidationState&) final;
63 64
64 void willBeDestroyed() final; 65 void willBeDestroyed() final;
65 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final; 66 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final;
66 67
67 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) final; 68 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) final;
68 void removeChild(LayoutObject*) final; 69 void removeChild(LayoutObject*) final;
69 }; 70 };
70 71
71 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGInline, isSVGInline()); 72 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGInline, isSVGInline());
72 73
73 } // namespace blink 74 } // namespace blink
74 75
75 #endif // LayoutSVGInline_H 76 #endif // LayoutSVGInline_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698