Chromium Code Reviews| 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) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. | 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 78 TabIndexWasSetExplicitly = 1 << 0, | 78 TabIndexWasSetExplicitly = 1 << 0, |
| 79 StyleAffectedByEmpty = 1 << 1, | 79 StyleAffectedByEmpty = 1 << 1, |
| 80 IsInCanvasSubtree = 1 << 2, | 80 IsInCanvasSubtree = 1 << 2, |
| 81 ContainsFullScreenElement = 1 << 3, | 81 ContainsFullScreenElement = 1 << 3, |
| 82 IsInTopLayer = 1 << 4, | 82 IsInTopLayer = 1 << 4, |
| 83 HasPendingResources = 1 << 5, | 83 HasPendingResources = 1 << 5, |
| 84 | 84 |
| 85 NumberOfElementFlags = 6, // Required size of bitfield used to store the fla gs. | 85 NumberOfElementFlags = 6, // Required size of bitfield used to store the fla gs. |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 | |
| 89 enum ClassStringContent { | |
|
tkent
2015/10/16 05:40:32
Please use |enum class| instead of |enum|, and mov
tanay.c
2015/10/16 07:17:36
Done.
| |
| 90 Empty, | |
| 91 WhiteSpaceOnly, | |
| 92 HasClasses | |
| 93 }; | |
| 94 | |
| 88 enum class ShadowRootType; | 95 enum class ShadowRootType; |
| 89 | 96 |
| 90 typedef WillBeHeapVector<RefPtrWillBeMember<Attr>> AttrNodeList; | 97 typedef WillBeHeapVector<RefPtrWillBeMember<Attr>> AttrNodeList; |
| 91 | 98 |
| 92 class CORE_EXPORT Element : public ContainerNode { | 99 class CORE_EXPORT Element : public ContainerNode { |
| 93 DEFINE_WRAPPERTYPEINFO(); | 100 DEFINE_WRAPPERTYPEINFO(); |
| 94 public: | 101 public: |
| 95 static PassRefPtrWillBeRawPtr<Element> create(const QualifiedName&, Document *); | 102 static PassRefPtrWillBeRawPtr<Element> create(const QualifiedName&, Document *); |
| 96 ~Element() override; | 103 ~Element() override; |
| 97 | 104 |
| (...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 903 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 910 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 904 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 911 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 905 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \ | 912 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \ |
| 906 { \ | 913 { \ |
| 907 return adoptRefWillBeNoop(new T(tagName, document)); \ | 914 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 908 } | 915 } |
| 909 | 916 |
| 910 } // namespace | 917 } // namespace |
| 911 | 918 |
| 912 #endif // Element_h | 919 #endif // Element_h |
| OLD | NEW |