| 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 Apple Inc. All rights reserv
     ed. | 5  * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
     ed. | 
| 6  * | 6  * | 
| 7  * This library is free software; you can redistribute it and/or | 7  * This library is free software; you can redistribute it and/or | 
| 8  * modify it under the terms of the GNU Library General Public | 8  * modify it under the terms of the GNU Library General Public | 
| 9  * License as published by the Free Software Foundation; either | 9  * License as published by the Free Software Foundation; either | 
| 10  * version 2 of the License, or (at your option) any later version. | 10  * version 2 of the License, or (at your option) any later version. | 
| 11  * | 11  * | 
| 12  * This library is distributed in the hope that it will be useful, | 12  * This library is distributed in the hope that it will be useful, | 
| 13  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| 14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
| 15  * Library General Public License for more details. | 15  * Library General Public License for more details. | 
| 16  * | 16  * | 
| 17  * You should have received a copy of the GNU Library General Public License | 17  * You should have received a copy of the GNU Library General Public License | 
| 18  * along with this library; see the file COPYING.LIB.  If not, write to | 18  * along with this library; see the file COPYING.LIB.  If not, write to | 
| 19  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 19  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 
| 20  * Boston, MA 02110-1301, USA. | 20  * Boston, MA 02110-1301, USA. | 
| 21  */ | 21  */ | 
| 22 | 22 | 
| 23 #include "config.h" | 23 #include "config.h" | 
| 24 #include "ContainerNode.h" | 24 #include "ContainerNode.h" | 
| 25 | 25 | 
| 26 #include "AXObjectCache.h" |  | 
| 27 #include "ChildListMutationScope.h" | 26 #include "ChildListMutationScope.h" | 
| 28 #include "Chrome.h" | 27 #include "Chrome.h" | 
| 29 #include "ChromeClient.h" | 28 #include "ChromeClient.h" | 
| 30 #include "ContainerNodeAlgorithms.h" | 29 #include "ContainerNodeAlgorithms.h" | 
| 31 #include "EventNames.h" | 30 #include "EventNames.h" | 
| 32 #include "ExceptionCode.h" | 31 #include "ExceptionCode.h" | 
| 33 #include "FloatRect.h" | 32 #include "FloatRect.h" | 
| 34 #include "Frame.h" | 33 #include "Frame.h" | 
| 35 #include "FrameView.h" | 34 #include "FrameView.h" | 
| 36 #include "HTMLNames.h" | 35 #include "HTMLNames.h" | 
| 37 #include "InlineTextBox.h" | 36 #include "InlineTextBox.h" | 
| 38 #include "InsertionPoint.h" | 37 #include "InsertionPoint.h" | 
| 39 #include "InspectorInstrumentation.h" | 38 #include "InspectorInstrumentation.h" | 
| 40 #include "MemoryCache.h" | 39 #include "MemoryCache.h" | 
| 41 #include "MutationEvent.h" | 40 #include "MutationEvent.h" | 
| 42 #include "NodeRenderStyle.h" | 41 #include "NodeRenderStyle.h" | 
| 43 #include "NodeTraversal.h" | 42 #include "NodeTraversal.h" | 
| 44 #include "Page.h" | 43 #include "Page.h" | 
| 45 #include "RenderBox.h" | 44 #include "RenderBox.h" | 
| 46 #include "RenderTheme.h" | 45 #include "RenderTheme.h" | 
| 47 #include "RenderWidget.h" | 46 #include "RenderWidget.h" | 
| 48 #include "RootInlineBox.h" | 47 #include "RootInlineBox.h" | 
| 49 #include "TemplateContentDocumentFragment.h" | 48 #include "TemplateContentDocumentFragment.h" | 
|  | 49 #include "core/accessibility/AXObjectCache.h" | 
| 50 #include <wtf/CurrentTime.h> | 50 #include <wtf/CurrentTime.h> | 
| 51 #include <wtf/Vector.h> | 51 #include <wtf/Vector.h> | 
| 52 | 52 | 
| 53 using namespace std; | 53 using namespace std; | 
| 54 | 54 | 
| 55 namespace WebCore { | 55 namespace WebCore { | 
| 56 | 56 | 
| 57 static void dispatchChildInsertionEvents(Node*); | 57 static void dispatchChildInsertionEvents(Node*); | 
| 58 static void dispatchChildRemovalEvents(Node*); | 58 static void dispatchChildRemovalEvents(Node*); | 
| 59 static void updateTreeAfterInsertion(ContainerNode*, Node*, AttachBehavior); | 59 static void updateTreeAfterInsertion(ContainerNode*, Node*, AttachBehavior); | 
| (...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 969         return true; | 969         return true; | 
| 970 | 970 | 
| 971     if (node->isElementNode() && toElement(node)->shadow()) | 971     if (node->isElementNode() && toElement(node)->shadow()) | 
| 972         return true; | 972         return true; | 
| 973 | 973 | 
| 974     return false; | 974     return false; | 
| 975 } | 975 } | 
| 976 #endif | 976 #endif | 
| 977 | 977 | 
| 978 } // namespace WebCore | 978 } // namespace WebCore | 
| OLD | NEW | 
|---|