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

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

Issue 2742573005: Avoid to include IDL-generated headers from EventTarget.h and Node.h (Closed)
Patch Set: . Created 3 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. 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
11 * License as published by the Free Software Foundation; either 11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version. 12 * version 2 of the License, or (at your option) any later version.
13 * 13 *
14 * This library is distributed in the hope that it will be useful, 14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details. 17 * Library General Public License for more details.
18 * 18 *
19 * You should have received a copy of the GNU Library General Public License 19 * You should have received a copy of the GNU Library General Public License
20 * along with this library; see the file COPYING.LIB. If not, write to 20 * along with this library; see the file COPYING.LIB. If not, write to
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301, USA. 22 * Boston, MA 02110-1301, USA.
23 * 23 *
24 */ 24 */
25 25
26 #ifndef Node_h 26 #ifndef Node_h
27 #define Node_h 27 #define Node_h
28 28
29 #include "bindings/core/v8/ExceptionState.h" 29 #include "bindings/core/v8/ExceptionState.h"
30 #include "bindings/core/v8/NodeOrString.h"
31 #include "bindings/core/v8/TraceWrapperMember.h" 30 #include "bindings/core/v8/TraceWrapperMember.h"
32 #include "core/CoreExport.h" 31 #include "core/CoreExport.h"
33 #include "core/dom/MutationObserver.h" 32 #include "core/dom/MutationObserver.h"
34 #include "core/dom/SimulatedClickOptions.h" 33 #include "core/dom/SimulatedClickOptions.h"
35 #include "core/dom/TreeScope.h" 34 #include "core/dom/TreeScope.h"
36 #include "core/editing/EditingBoundary.h" 35 #include "core/editing/EditingBoundary.h"
37 #include "core/events/EventTarget.h" 36 #include "core/events/EventTarget.h"
38 #include "core/style/ComputedStyleConstants.h" 37 #include "core/style/ComputedStyleConstants.h"
39 #include "platform/geometry/LayoutRect.h" 38 #include "platform/geometry/LayoutRect.h"
40 39
41 // This needs to be here because Element.cpp also depends on it. 40 // This needs to be here because Element.cpp also depends on it.
42 #define DUMP_NODE_STATISTICS 0 41 #define DUMP_NODE_STATISTICS 0
43 42
44 namespace blink { 43 namespace blink {
45 44
46 class ContainerNode; 45 class ContainerNode;
47 class Document; 46 class Document;
48 class Element; 47 class Element;
49 class ElementShadow; 48 class ElementShadow;
50 class Event; 49 class Event;
51 class ExceptionState; 50 class ExceptionState;
52 class GetRootNodeOptions; 51 class GetRootNodeOptions;
53 class HTMLQualifiedName; 52 class HTMLQualifiedName;
54 class HTMLSlotElement; 53 class HTMLSlotElement;
55 class IntRect; 54 class IntRect;
56 class EventDispatchHandlingState; 55 class EventDispatchHandlingState;
57 class NodeList; 56 class NodeList;
58 class NodeListsNodeData; 57 class NodeListsNodeData;
58 class NodeOrString;
59 class NodeRareData; 59 class NodeRareData;
60 class QualifiedName; 60 class QualifiedName;
61 class RegisteredEventListener; 61 class RegisteredEventListener;
62 class LayoutBox; 62 class LayoutBox;
63 class LayoutBoxModelObject; 63 class LayoutBoxModelObject;
64 class LayoutObject; 64 class LayoutObject;
65 class ComputedStyle; 65 class ComputedStyle;
66 class SVGQualifiedName; 66 class SVGQualifiedName;
67 class ShadowRoot; 67 class ShadowRoot;
68 template <typename NodeType> 68 template <typename NodeType>
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 } // namespace blink 1012 } // namespace blink
1013 1013
1014 #ifndef NDEBUG 1014 #ifndef NDEBUG
1015 // Outside the WebCore namespace for ease of invocation from gdb. 1015 // Outside the WebCore namespace for ease of invocation from gdb.
1016 void showNode(const blink::Node*); 1016 void showNode(const blink::Node*);
1017 void showTree(const blink::Node*); 1017 void showTree(const blink::Node*);
1018 void showNodePath(const blink::Node*); 1018 void showNodePath(const blink::Node*);
1019 #endif 1019 #endif
1020 1020
1021 #endif // Node_h 1021 #endif // Node_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698