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

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

Issue 143263011: Convert SVG <text> and descendants to use RenderObject::isChildAllowed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 * Copyright (C) 2009 Google Inc. 4 * Copyright (C) 2009 Google Inc.
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 10 matching lines...) Expand all
21 21
22 #ifndef RenderSVGTSpan_h 22 #ifndef RenderSVGTSpan_h
23 #define RenderSVGTSpan_h 23 #define RenderSVGTSpan_h
24 24
25 #include "core/rendering/svg/RenderSVGInline.h" 25 #include "core/rendering/svg/RenderSVGInline.h"
26 26
27 namespace WebCore { 27 namespace WebCore {
28 class RenderSVGTSpan FINAL : public RenderSVGInline { 28 class RenderSVGTSpan FINAL : public RenderSVGInline {
29 public: 29 public:
30 explicit RenderSVGTSpan(Element*); 30 explicit RenderSVGTSpan(Element*);
31
32 virtual bool isChildAllowed(RenderObject* child, RenderStyle*) const OVERRID E;
33
31 virtual const char* renderName() const OVERRIDE { return "RenderSVGTSpan"; } 34 virtual const char* renderName() const OVERRIDE { return "RenderSVGTSpan"; }
32 }; 35 };
33 } 36 }
34 37
35 #endif // !RenderSVGTSpan_h 38 #endif // !RenderSVGTSpan_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/svg/RenderSVGTSpan.cpp » ('j') | Source/core/rendering/svg/RenderSVGTSpan.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698