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 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. |
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 enum class CustomElementState { | 103 enum class CustomElementState { |
104 // https://dom.spec.whatwg.org/#concept-element-custom-element-state | 104 // https://dom.spec.whatwg.org/#concept-element-custom-element-state |
105 Uncustomized = 0, | 105 Uncustomized = 0, |
106 Custom = 1 << nodeCustomElementShift, | 106 Custom = 1 << nodeCustomElementShift, |
107 Undefined = 2 << nodeCustomElementShift, | 107 Undefined = 2 << nodeCustomElementShift, |
108 Failed = 3 << nodeCustomElementShift, | 108 Failed = 3 << nodeCustomElementShift, |
109 | 109 |
110 NotDefinedFlag = 2 << nodeCustomElementShift, | 110 NotDefinedFlag = 2 << nodeCustomElementShift, |
111 }; | 111 }; |
112 | 112 |
113 class NodeRareDataBase { | 113 class CORE_EXPORT NodeRareDataBase { |
114 public: | 114 public: |
115 LayoutObject* layoutObject() const { return m_layoutObject; } | 115 LayoutObject* layoutObject() const { return m_layoutObject; } |
116 void setLayoutObject(LayoutObject* layoutObject) { m_layoutObject = layoutOb
ject; } | 116 void setLayoutObject(LayoutObject* layoutObject) { m_layoutObject = layoutOb
ject; } |
117 | 117 |
118 protected: | 118 protected: |
119 NodeRareDataBase(LayoutObject* layoutObject) | 119 NodeRareDataBase(LayoutObject* layoutObject) |
120 : m_layoutObject(layoutObject) | 120 : m_layoutObject(layoutObject) |
121 { } | 121 { } |
122 | 122 |
123 protected: | 123 protected: |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 } // namespace blink | 884 } // namespace blink |
885 | 885 |
886 #ifndef NDEBUG | 886 #ifndef NDEBUG |
887 // Outside the WebCore namespace for ease of invocation from gdb. | 887 // Outside the WebCore namespace for ease of invocation from gdb. |
888 void showNode(const blink::Node*); | 888 void showNode(const blink::Node*); |
889 void showTree(const blink::Node*); | 889 void showTree(const blink::Node*); |
890 void showNodePath(const blink::Node*); | 890 void showNodePath(const blink::Node*); |
891 #endif | 891 #endif |
892 | 892 |
893 #endif // Node_h | 893 #endif // Node_h |
OLD | NEW |