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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.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) 2007 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 private: 45 private:
46 // LayoutSVGHiddenContainer paints nothing. 46 // LayoutSVGHiddenContainer paints nothing.
47 void paint(const PaintInfo&, const LayoutPoint&) const final {} 47 void paint(const PaintInfo&, const LayoutPoint&) const final {}
48 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const final { 48 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const final {
49 return true; 49 return true;
50 } 50 }
51 LayoutRect absoluteVisualRect() const final { return LayoutRect(); } 51 LayoutRect absoluteVisualRect() const final { return LayoutRect(); }
52 FloatRect visualRectInLocalSVGCoordinates() const final { 52 FloatRect visualRectInLocalSVGCoordinates() const final {
53 return FloatRect(); 53 return FloatRect();
54 } 54 }
55 void absoluteQuads(Vector<FloatQuad>&) const final {} 55 void absoluteQuads(Vector<FloatQuad>&,
56 MapCoordinatesFlags mode = 0) const final {}
56 57
57 bool nodeAtFloatPoint(HitTestResult&, 58 bool nodeAtFloatPoint(HitTestResult&,
58 const FloatPoint& pointInParent, 59 const FloatPoint& pointInParent,
59 HitTestAction) final; 60 HitTestAction) final;
60 }; 61 };
61 } // namespace blink 62 } // namespace blink
62 63
63 #endif // LayoutSVGHiddenContainer_h 64 #endif // LayoutSVGHiddenContainer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698