Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: third_party/WebKit/Source/core/dom/Node.h

Issue 2542203004: blink: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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/Compiler.h" 41 #include "wtf/Compiler.h"
42 #include "wtf/Forward.h" 42 #include "wtf/Forward.h"
43 43
44 // This needs to be here because Element.cpp also depends on it. 44 // This needs to be here because Element.cpp also depends on it.
45 #define DUMP_NODE_STATISTICS 0 45 #define DUMP_NODE_STATISTICS 0
46 46
47 namespace blink { 47 namespace blink {
48 48
49 class Attribute;
50 class ContainerNode; 49 class ContainerNode;
51 class Document; 50 class Document;
52 class Element; 51 class Element;
53 class ElementShadow; 52 class ElementShadow;
54 class Event; 53 class Event;
55 class EventListener;
56 class ExceptionState; 54 class ExceptionState;
57 class GetRootNodeOptions; 55 class GetRootNodeOptions;
58 class HTMLQualifiedName; 56 class HTMLQualifiedName;
59 class HTMLSlotElement; 57 class HTMLSlotElement;
60 class IntRect; 58 class IntRect;
61 class EventDispatchHandlingState; 59 class EventDispatchHandlingState;
62 class NodeList; 60 class NodeList;
63 class NodeListsNodeData; 61 class NodeListsNodeData;
64 class NodeRareData; 62 class NodeRareData;
65 class PlatformMouseEvent; 63 class PlatformMouseEvent;
66 class QualifiedName; 64 class QualifiedName;
67 class RegisteredEventListener; 65 class RegisteredEventListener;
68 class LayoutBox; 66 class LayoutBox;
69 class LayoutBoxModelObject; 67 class LayoutBoxModelObject;
70 class LayoutObject; 68 class LayoutObject;
71 class ComputedStyle; 69 class ComputedStyle;
72 class SVGQualifiedName; 70 class SVGQualifiedName;
73 class ShadowRoot; 71 class ShadowRoot;
74 template <typename NodeType> 72 template <typename NodeType>
75 class StaticNodeTypeList; 73 class StaticNodeTypeList;
76 using StaticNodeList = StaticNodeTypeList<Node>; 74 using StaticNodeList = StaticNodeTypeList<Node>;
77 class StyleChangeReasonForTracing; 75 class StyleChangeReasonForTracing;
78 class Text; 76 class Text;
79 class TouchEvent;
80 77
81 const int nodeStyleChangeShift = 18; 78 const int nodeStyleChangeShift = 18;
82 const int nodeCustomElementShift = 20; 79 const int nodeCustomElementShift = 20;
83 80
84 enum StyleChangeType { 81 enum StyleChangeType {
85 NoStyleChange = 0, 82 NoStyleChange = 0,
86 LocalStyleChange = 1 << nodeStyleChangeShift, 83 LocalStyleChange = 1 << nodeStyleChangeShift,
87 SubtreeStyleChange = 2 << nodeStyleChangeShift, 84 SubtreeStyleChange = 2 << nodeStyleChangeShift,
88 NeedsReattachStyleChange = 3 << nodeStyleChangeShift, 85 NeedsReattachStyleChange = 3 << nodeStyleChangeShift,
89 }; 86 };
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 } // namespace blink 1017 } // namespace blink
1021 1018
1022 #ifndef NDEBUG 1019 #ifndef NDEBUG
1023 // Outside the WebCore namespace for ease of invocation from gdb. 1020 // Outside the WebCore namespace for ease of invocation from gdb.
1024 void showNode(const blink::Node*); 1021 void showNode(const blink::Node*);
1025 void showTree(const blink::Node*); 1022 void showTree(const blink::Node*);
1026 void showNodePath(const blink::Node*); 1023 void showNodePath(const blink::Node*);
1027 #endif 1024 #endif
1028 1025
1029 #endif // Node_h 1026 #endif // Node_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698