| 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, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.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 10 matching lines...) Expand all Loading... |
| 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 #include "config.h" | 25 #include "config.h" |
| 26 #include "core/dom/Node.h" | 26 #include "core/dom/Node.h" |
| 27 | 27 |
| 28 #include "HTMLNames.h" | 28 #include "HTMLNames.h" |
| 29 #include "XMLNames.h" | 29 #include "XMLNames.h" |
| 30 #include "core/accessibility/AXObjectCache.h" | 30 #include "core/accessibility/AXObjectCache.h" |
| 31 #include "core/css/CSSParser.h" | |
| 32 #include "core/css/CSSRule.h" | |
| 33 #include "core/css/CSSSelector.h" | |
| 34 #include "core/css/CSSSelectorList.h" | |
| 35 #include "core/css/CSSStyleRule.h" | |
| 36 #include "core/css/CSSStyleSheet.h" | |
| 37 #include "core/dom/Attr.h" | 31 #include "core/dom/Attr.h" |
| 38 #include "core/dom/Attribute.h" | 32 #include "core/dom/Attribute.h" |
| 39 #include "core/dom/BeforeLoadEvent.h" | 33 #include "core/dom/BeforeLoadEvent.h" |
| 40 #include "core/dom/ChildListMutationScope.h" | 34 #include "core/dom/ChildListMutationScope.h" |
| 41 #include "core/dom/ChildNodeList.h" | 35 #include "core/dom/ChildNodeList.h" |
| 42 #include "core/dom/ClassNodeList.h" | 36 #include "core/dom/ClassNodeList.h" |
| 43 #include "core/dom/ContainerNodeAlgorithms.h" | |
| 44 #include "core/dom/DOMImplementation.h" | 37 #include "core/dom/DOMImplementation.h" |
| 45 #include "core/dom/Document.h" | 38 #include "core/dom/Document.h" |
| 46 #include "core/dom/DocumentFragment.h" | 39 #include "core/dom/DocumentFragment.h" |
| 47 #include "core/dom/DocumentType.h" | 40 #include "core/dom/DocumentType.h" |
| 48 #include "core/dom/Element.h" | 41 #include "core/dom/Element.h" |
| 49 #include "core/dom/ElementRareData.h" | 42 #include "core/dom/ElementRareData.h" |
| 50 #include "core/dom/Event.h" | 43 #include "core/dom/Event.h" |
| 51 #include "core/dom/EventContext.h" | |
| 52 #include "core/dom/EventDispatchMediator.h" | 44 #include "core/dom/EventDispatchMediator.h" |
| 53 #include "core/dom/EventDispatcher.h" | 45 #include "core/dom/EventDispatcher.h" |
| 54 #include "core/dom/EventListener.h" | 46 #include "core/dom/EventListener.h" |
| 55 #include "core/dom/EventNames.h" | 47 #include "core/dom/EventNames.h" |
| 56 #include "core/dom/ExceptionCode.h" | 48 #include "core/dom/ExceptionCode.h" |
| 57 #include "core/dom/ExceptionCodePlaceholder.h" | 49 #include "core/dom/ExceptionCodePlaceholder.h" |
| 58 #include "core/dom/FocusEvent.h" | 50 #include "core/dom/FocusEvent.h" |
| 59 #include "core/dom/GestureEvent.h" | 51 #include "core/dom/GestureEvent.h" |
| 60 #include "core/dom/KeyboardEvent.h" | 52 #include "core/dom/KeyboardEvent.h" |
| 61 #include "core/dom/LiveNodeList.h" | 53 #include "core/dom/LiveNodeList.h" |
| 62 #include "core/dom/MouseEvent.h" | 54 #include "core/dom/MouseEvent.h" |
| 63 #include "core/dom/MutationEvent.h" | 55 #include "core/dom/MutationEvent.h" |
| 64 #include "core/dom/NameNodeList.h" | 56 #include "core/dom/NameNodeList.h" |
| 65 #include "core/dom/NamedNodeMap.h" | |
| 66 #include "core/dom/NodeRareData.h" | 57 #include "core/dom/NodeRareData.h" |
| 67 #include "core/dom/NodeRenderingContext.h" | 58 #include "core/dom/NodeRenderingContext.h" |
| 68 #include "core/dom/NodeTraversal.h" | 59 #include "core/dom/NodeTraversal.h" |
| 69 #include "core/dom/ProcessingInstruction.h" | 60 #include "core/dom/ProcessingInstruction.h" |
| 70 #include "core/dom/ProgressEvent.h" | |
| 71 #include "core/dom/RegisteredEventListener.h" | |
| 72 #include "core/dom/ScopedEventQueue.h" | |
| 73 #include "core/dom/SelectorQuery.h" | 61 #include "core/dom/SelectorQuery.h" |
| 74 #include "core/dom/StaticNodeList.h" | |
| 75 #include "core/dom/TagNodeList.h" | 62 #include "core/dom/TagNodeList.h" |
| 76 #include "core/dom/TemplateContentDocumentFragment.h" | 63 #include "core/dom/TemplateContentDocumentFragment.h" |
| 77 #include "core/dom/Text.h" | 64 #include "core/dom/Text.h" |
| 78 #include "core/dom/TextEvent.h" | 65 #include "core/dom/TextEvent.h" |
| 79 #include "core/dom/TouchEvent.h" | 66 #include "core/dom/TouchEvent.h" |
| 80 #include "core/dom/TreeScopeAdopter.h" | 67 #include "core/dom/TreeScopeAdopter.h" |
| 81 #include "core/dom/UIEvent.h" | 68 #include "core/dom/UIEvent.h" |
| 82 #include "core/dom/UIEventWithKeyState.h" | |
| 83 #include "core/dom/UserActionElementSet.h" | 69 #include "core/dom/UserActionElementSet.h" |
| 84 #include "core/dom/WebCoreMemoryInstrumentation.h" | 70 #include "core/dom/WebCoreMemoryInstrumentation.h" |
| 85 #include "core/dom/WheelEvent.h" | 71 #include "core/dom/WheelEvent.h" |
| 86 #include "core/dom/WindowEventContext.h" | |
| 87 #include "core/dom/shadow/ElementShadow.h" | 72 #include "core/dom/shadow/ElementShadow.h" |
| 88 #include "core/dom/shadow/InsertionPoint.h" | |
| 89 #include "core/dom/shadow/ShadowRoot.h" | 73 #include "core/dom/shadow/ShadowRoot.h" |
| 90 #include "core/editing/htmlediting.h" | 74 #include "core/editing/htmlediting.h" |
| 91 #include "core/html/DOMSettableTokenList.h" | |
| 92 #include "core/html/HTMLElement.h" | |
| 93 #include "core/html/HTMLFrameOwnerElement.h" | 75 #include "core/html/HTMLFrameOwnerElement.h" |
| 94 #include "core/html/HTMLStyleElement.h" | 76 #include "core/html/HTMLStyleElement.h" |
| 95 #include "core/html/LabelsNodeList.h" | |
| 96 #include "core/html/RadioNodeList.h" | 77 #include "core/html/RadioNodeList.h" |
| 97 #include "core/inspector/InspectorCounters.h" | 78 #include "core/inspector/InspectorCounters.h" |
| 98 #include "core/page/Chrome.h" | |
| 99 #include "core/page/ChromeClient.h" | |
| 100 #include "core/page/ContextMenuController.h" | 79 #include "core/page/ContextMenuController.h" |
| 101 #include "core/page/EventHandler.h" | 80 #include "core/page/EventHandler.h" |
| 102 #include "core/page/Frame.h" | 81 #include "core/page/Frame.h" |
| 103 #include "core/page/FrameView.h" | |
| 104 #include "core/page/Page.h" | 82 #include "core/page/Page.h" |
| 105 #include "core/page/Settings.h" | 83 #include "core/page/Settings.h" |
| 106 #include "core/platform/Logging.h" | |
| 107 #include "core/platform/PlatformMouseEvent.h" | |
| 108 #include "core/platform/PlatformWheelEvent.h" | |
| 109 #include "core/rendering/RenderBlock.h" | |
| 110 #include "core/rendering/RenderBox.h" | 84 #include "core/rendering/RenderBox.h" |
| 111 #include "core/rendering/RenderTextControl.h" | |
| 112 #include "core/rendering/RenderView.h" | |
| 113 #include "core/storage/StorageEvent.h" | |
| 114 #include "wtf/HashSet.h" | 85 #include "wtf/HashSet.h" |
| 115 #include "wtf/PartitionAlloc.h" | 86 #include "wtf/PartitionAlloc.h" |
| 116 #include "wtf/PassOwnPtr.h" | 87 #include "wtf/PassOwnPtr.h" |
| 117 #include "wtf/RefCountedLeakCounter.h" | 88 #include "wtf/RefCountedLeakCounter.h" |
| 118 #include "wtf/UnusedParam.h" | 89 #include "wtf/UnusedParam.h" |
| 119 #include "wtf/Vector.h" | 90 #include "wtf/Vector.h" |
| 120 #include "wtf/text/CString.h" | 91 #include "wtf/text/CString.h" |
| 121 #include "wtf/text/StringBuilder.h" | 92 #include "wtf/text/StringBuilder.h" |
| 122 | 93 |
| 123 #ifndef NDEBUG | |
| 124 #include "core/rendering/RenderLayer.h" | |
| 125 #endif | |
| 126 | |
| 127 using namespace std; | 94 using namespace std; |
| 128 | 95 |
| 129 namespace WebCore { | 96 namespace WebCore { |
| 130 | 97 |
| 131 using namespace HTMLNames; | 98 using namespace HTMLNames; |
| 132 | 99 |
| 133 #if ENABLE(PARTITION_ALLOC) | 100 #if ENABLE(PARTITION_ALLOC) |
| 134 static PartitionRoot root; | 101 static PartitionRoot root; |
| 135 | 102 |
| 136 void* Node::operator new(size_t size) | 103 void* Node::operator new(size_t size) |
| (...skipping 2630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2767 node->showTreeForThis(); | 2734 node->showTreeForThis(); |
| 2768 } | 2735 } |
| 2769 | 2736 |
| 2770 void showNodePath(const WebCore::Node* node) | 2737 void showNodePath(const WebCore::Node* node) |
| 2771 { | 2738 { |
| 2772 if (node) | 2739 if (node) |
| 2773 node->showNodePathForThis(); | 2740 node->showNodePathForThis(); |
| 2774 } | 2741 } |
| 2775 | 2742 |
| 2776 #endif | 2743 #endif |
| OLD | NEW |