OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Simon Hausmann <hausmann@kde.org> | 4 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
5 * Copyright (C) 2003, 2006, 2009, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2006, 2009, 2010 Apple Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "core/CoreExport.h" | 27 #include "core/CoreExport.h" |
28 #include "core/html/HTMLElement.h" | 28 #include "core/html/HTMLElement.h" |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
32 class CORE_EXPORT HTMLBRElement final : public HTMLElement { | 32 class CORE_EXPORT HTMLBRElement final : public HTMLElement { |
33 DEFINE_WRAPPERTYPEINFO(); | 33 DEFINE_WRAPPERTYPEINFO(); |
34 public: | 34 public: |
35 DECLARE_NODE_FACTORY(HTMLBRElement); | 35 DECLARE_NODE_FACTORY(HTMLBRElement); |
36 | 36 |
37 virtual bool canContainRangeEndPoint() const override { return false; } | 37 bool canContainRangeEndPoint() const override { return false; } |
38 | 38 |
39 private: | 39 private: |
40 explicit HTMLBRElement(Document&); | 40 explicit HTMLBRElement(Document&); |
41 | 41 |
42 virtual bool isPresentationAttribute(const QualifiedName&) const override; | 42 bool isPresentationAttribute(const QualifiedName&) const override; |
43 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; | 43 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic
String&, MutableStylePropertySet*) override; |
44 | 44 |
45 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; | 45 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
46 }; | 46 }; |
47 | 47 |
48 } // namespace blink | 48 } // namespace blink |
49 | 49 |
50 #endif // HTMLBRElement_h | 50 #endif // HTMLBRElement_h |
OLD | NEW |