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. | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
7 * (http://www.torchmobile.com/) | 7 * (http://www.torchmobile.com/) |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 28 matching lines...) Expand all Loading... |
39 #include "platform/geometry/LayoutRect.h" | 39 #include "platform/geometry/LayoutRect.h" |
40 #include "platform/heap/Handle.h" | 40 #include "platform/heap/Handle.h" |
41 #include "wtf/Forward.h" | 41 #include "wtf/Forward.h" |
42 | 42 |
43 // This needs to be here because Element.cpp also depends on it. | 43 // This needs to be here because Element.cpp also depends on it. |
44 #define DUMP_NODE_STATISTICS 0 | 44 #define DUMP_NODE_STATISTICS 0 |
45 | 45 |
46 namespace blink { | 46 namespace blink { |
47 | 47 |
48 class Attribute; | 48 class Attribute; |
49 class ClassCollection; | |
50 class ContainerNode; | 49 class ContainerNode; |
51 class DOMTokenList; | |
52 class Document; | 50 class Document; |
53 class Element; | 51 class Element; |
54 class ElementShadow; | 52 class ElementShadow; |
55 class Event; | 53 class Event; |
56 class EventDispatchMediator; | |
57 class EventListener; | 54 class EventListener; |
58 class ExceptionState; | 55 class ExceptionState; |
59 class FloatPoint; | |
60 class GetRootNodeOptions; | 56 class GetRootNodeOptions; |
61 class LocalFrame; | |
62 class HTMLInputElement; | |
63 class HTMLQualifiedName; | 57 class HTMLQualifiedName; |
64 class HTMLSlotElement; | 58 class HTMLSlotElement; |
65 class IntRect; | 59 class IntRect; |
66 class EventDispatchHandlingState; | 60 class EventDispatchHandlingState; |
67 class KeyboardEvent; | |
68 class NSResolver; | |
69 class NameNodeList; | |
70 class NamedNodeMap; | |
71 class NodeEventContext; | |
72 class NodeList; | 61 class NodeList; |
73 class NodeListsNodeData; | 62 class NodeListsNodeData; |
74 class NodeRareData; | 63 class NodeRareData; |
75 class PlatformGestureEvent; | |
76 class PlatformMouseEvent; | 64 class PlatformMouseEvent; |
77 class PlatformWheelEvent; | |
78 class PointerEvent; | |
79 class QualifiedName; | 65 class QualifiedName; |
80 class RadioNodeList; | |
81 class RegisteredEventListener; | 66 class RegisteredEventListener; |
82 class LayoutBox; | 67 class LayoutBox; |
83 class LayoutBoxModelObject; | 68 class LayoutBoxModelObject; |
84 class LayoutObject; | 69 class LayoutObject; |
85 class ComputedStyle; | 70 class ComputedStyle; |
86 class SVGQualifiedName; | 71 class SVGQualifiedName; |
87 class ShadowRoot; | 72 class ShadowRoot; |
88 template <typename NodeType> | 73 template <typename NodeType> |
89 class StaticNodeTypeList; | 74 class StaticNodeTypeList; |
90 using StaticNodeList = StaticNodeTypeList<Node>; | 75 using StaticNodeList = StaticNodeTypeList<Node>; |
91 class StyleChangeReasonForTracing; | 76 class StyleChangeReasonForTracing; |
92 class TagCollection; | |
93 class Text; | 77 class Text; |
94 class TouchEvent; | 78 class TouchEvent; |
95 | 79 |
96 const int nodeStyleChangeShift = 19; | 80 const int nodeStyleChangeShift = 19; |
97 const int nodeCustomElementShift = 21; | 81 const int nodeCustomElementShift = 21; |
98 | 82 |
99 enum StyleChangeType { | 83 enum StyleChangeType { |
100 NoStyleChange = 0, | 84 NoStyleChange = 0, |
101 LocalStyleChange = 1 << nodeStyleChangeShift, | 85 LocalStyleChange = 1 << nodeStyleChangeShift, |
102 SubtreeStyleChange = 2 << nodeStyleChangeShift, | 86 SubtreeStyleChange = 2 << nodeStyleChangeShift, |
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1032 } // namespace blink | 1016 } // namespace blink |
1033 | 1017 |
1034 #ifndef NDEBUG | 1018 #ifndef NDEBUG |
1035 // Outside the WebCore namespace for ease of invocation from gdb. | 1019 // Outside the WebCore namespace for ease of invocation from gdb. |
1036 void showNode(const blink::Node*); | 1020 void showNode(const blink::Node*); |
1037 void showTree(const blink::Node*); | 1021 void showTree(const blink::Node*); |
1038 void showNodePath(const blink::Node*); | 1022 void showNodePath(const blink::Node*); |
1039 #endif | 1023 #endif |
1040 | 1024 |
1041 #endif // Node_h | 1025 #endif // Node_h |
OLD | NEW |