OLD | NEW |
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 11 matching lines...) Expand all Loading... |
22 #ifndef LayoutSVGTSpan_h | 22 #ifndef LayoutSVGTSpan_h |
23 #define LayoutSVGTSpan_h | 23 #define LayoutSVGTSpan_h |
24 | 24 |
25 #include "core/layout/svg/LayoutSVGInline.h" | 25 #include "core/layout/svg/LayoutSVGInline.h" |
26 | 26 |
27 namespace blink { | 27 namespace blink { |
28 class LayoutSVGTSpan final : public LayoutSVGInline { | 28 class LayoutSVGTSpan final : public LayoutSVGInline { |
29 public: | 29 public: |
30 explicit LayoutSVGTSpan(Element*); | 30 explicit LayoutSVGTSpan(Element*); |
31 | 31 |
32 virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const overr
ide; | 32 bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override; |
33 | 33 |
34 virtual const char* name() const override { return "LayoutSVGTSpan"; } | 34 const char* name() const override { return "LayoutSVGTSpan"; } |
35 }; | 35 }; |
36 } | 36 } |
37 | 37 |
38 #endif // LayoutSVGTSpan_h | 38 #endif // LayoutSVGTSpan_h |
OLD | NEW |