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

Side by Side Diff: Source/core/rendering/svg/RenderSVGModelObject.h

Issue 260963012: Override repaintTreeAfterLayout for RenderSVGModelObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adjust TC again for increased resilience to platform differences. Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2009, Google Inc. All rights reserved. 2 * Copyright (c) 2009, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0) const OVERRIDE FINAL; 61 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0) const OVERRIDE FINAL;
62 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE FINAL; 62 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE FINAL;
63 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE; 63 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE;
64 64
65 virtual void computeLayerHitTestRects(LayerHitTestRects&) const OVERRIDE FIN AL; 65 virtual void computeLayerHitTestRects(LayerHitTestRects&) const OVERRIDE FIN AL;
66 66
67 SVGElement* element() const { return toSVGElement(RenderObject::node()); } 67 SVGElement* element() const { return toSVGElement(RenderObject::node()); }
68 68
69 virtual bool isSVG() const OVERRIDE FINAL { return true; } 69 virtual bool isSVG() const OVERRIDE FINAL { return true; }
70 70
71 virtual void repaintTreeAfterLayout() OVERRIDE;
72
71 protected: 73 protected:
72 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur rentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& container Rect) const OVERRIDE FINAL; 74 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur rentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& container Rect) const OVERRIDE FINAL;
73 virtual void willBeDestroyed() OVERRIDE; 75 virtual void willBeDestroyed() OVERRIDE;
74 76
75 private: 77 private:
76 // RenderSVGModelObject subclasses should use element() instead. 78 // RenderSVGModelObject subclasses should use element() instead.
77 void node() const WTF_DELETED_FUNCTION; 79 void node() const WTF_DELETED_FUNCTION;
78 80
79 // This method should never be called, SVG uses a different nodeAtPoint meth od 81 // This method should never be called, SVG uses a different nodeAtPoint meth od
80 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) OVERRIDE FINAL; 82 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) OVERRIDE FINAL;
81 virtual void absoluteFocusRingQuads(Vector<FloatQuad>&) OVERRIDE FINAL; 83 virtual void absoluteFocusRingQuads(Vector<FloatQuad>&) OVERRIDE FINAL;
82 }; 84 };
83 85
84 } 86 }
85 87
86 #endif 88 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGBlock.cpp ('k') | Source/core/rendering/svg/RenderSVGModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698