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

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

Issue 1746673002: Node.h #include parsimony. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unrelated change Created 4 years, 9 months 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. (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 11 matching lines...) Expand all
22 * 22 *
23 */ 23 */
24 24
25 #ifndef Node_h 25 #ifndef Node_h
26 #define Node_h 26 #define Node_h
27 27
28 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 28 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
29 #include "core/CoreExport.h" 29 #include "core/CoreExport.h"
30 #include "core/dom/MutationObserver.h" 30 #include "core/dom/MutationObserver.h"
31 #include "core/dom/SimulatedClickOptions.h" 31 #include "core/dom/SimulatedClickOptions.h"
32 #include "core/dom/StyleChangeReason.h"
33 #include "core/dom/TreeScope.h" 32 #include "core/dom/TreeScope.h"
34 #include "core/dom/TreeShared.h" 33 #include "core/dom/TreeShared.h"
35 #include "core/editing/EditingBoundary.h" 34 #include "core/editing/EditingBoundary.h"
36 #include "core/events/EventTarget.h" 35 #include "core/events/EventTarget.h"
37 #include "core/inspector/InstanceCounters.h"
38 #include "core/style/ComputedStyleConstants.h" 36 #include "core/style/ComputedStyleConstants.h"
39 #include "platform/geometry/LayoutRect.h" 37 #include "platform/geometry/LayoutRect.h"
40 #include "platform/heap/Handle.h" 38 #include "platform/heap/Handle.h"
41 #include "platform/weborigin/KURLHash.h"
42 #include "wtf/Forward.h" 39 #include "wtf/Forward.h"
43 40
44 // This needs to be here because Document.h also depends on it. 41 // This needs to be here because Document.h also depends on it.
45 #define DUMP_NODE_STATISTICS 0 42 #define DUMP_NODE_STATISTICS 0
46 43
47 namespace blink { 44 namespace blink {
48 45
49 class Attribute; 46 class Attribute;
50 class ClassCollection; 47 class ClassCollection;
51 class ContainerNode; 48 class ContainerNode;
(...skipping 28 matching lines...) Expand all
80 class RadioNodeList; 77 class RadioNodeList;
81 class RegisteredEventListener; 78 class RegisteredEventListener;
82 class LayoutBox; 79 class LayoutBox;
83 class LayoutBoxModelObject; 80 class LayoutBoxModelObject;
84 class LayoutObject; 81 class LayoutObject;
85 class ComputedStyle; 82 class ComputedStyle;
86 class SVGQualifiedName; 83 class SVGQualifiedName;
87 class ShadowRoot; 84 class ShadowRoot;
88 template <typename NodeType> class StaticNodeTypeList; 85 template <typename NodeType> class StaticNodeTypeList;
89 using StaticNodeList = StaticNodeTypeList<Node>; 86 using StaticNodeList = StaticNodeTypeList<Node>;
87 class StyleChangeReasonForTracing;
90 class TagCollection; 88 class TagCollection;
91 class Text; 89 class Text;
92 class TouchEvent; 90 class TouchEvent;
93 #if !ENABLE(OILPAN) 91 #if !ENABLE(OILPAN)
94 template <typename T> struct WeakIdentifierMapTraits; 92 template <typename T> struct WeakIdentifierMapTraits;
95 #endif 93 #endif
96 94
97 const int nodeStyleChangeShift = 19; 95 const int nodeStyleChangeShift = 19;
98 96
99 enum StyleChangeType { 97 enum StyleChangeType {
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 } // namespace blink 928 } // namespace blink
931 929
932 #ifndef NDEBUG 930 #ifndef NDEBUG
933 // Outside the WebCore namespace for ease of invocation from gdb. 931 // Outside the WebCore namespace for ease of invocation from gdb.
934 void showNode(const blink::Node*); 932 void showNode(const blink::Node*);
935 void showTree(const blink::Node*); 933 void showTree(const blink::Node*);
936 void showNodePath(const blink::Node*); 934 void showNodePath(const blink::Node*);
937 #endif 935 #endif
938 936
939 #endif // Node_h 937 #endif // Node_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698