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 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
11 * | 11 * |
12 * This library is free software; you can redistribute it and/or | 12 * This library is free software; you can redistribute it and/or |
13 * modify it under the terms of the GNU Library General Public | 13 * modify it under the terms of the GNU Library General Public |
14 * License as published by the Free Software Foundation; either | 14 * License as published by the Free Software Foundation; either |
15 * version 2 of the License, or (at your option) any later version. | 15 * version 2 of the License, or (at your option) any later version. |
16 * | 16 * |
17 * This library is distributed in the hope that it will be useful, | 17 * This library is distributed in the hope that it will be useful, |
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
20 * Library General Public License for more details. | 20 * Library General Public License for more details. |
21 * | 21 * |
22 * You should have received a copy of the GNU Library General Public License | 22 * You should have received a copy of the GNU Library General Public License |
23 * along with this library; see the file COPYING.LIB. If not, write to | 23 * along with this library; see the file COPYING.LIB. If not, write to |
24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
25 * Boston, MA 02110-1301, USA. | 25 * Boston, MA 02110-1301, USA. |
26 */ | 26 */ |
27 | 27 |
28 #include "config.h" | 28 #include "config.h" |
29 #include "Document.h" | 29 #include "core/dom/Document.h" |
30 | 30 |
31 #include "Attr.h" | |
32 #include "Attribute.h" | |
33 #include "CDATASection.h" | |
34 #include "CSSValueKeywords.h" | 31 #include "CSSValueKeywords.h" |
35 #include "Comment.h" | |
36 #include "ContextFeatures.h" | |
37 #include "CustomElementConstructor.h" | |
38 #include "CustomElementRegistry.h" | |
39 #include "DOMImplementation.h" | |
40 #include "DOMNamedFlowCollection.h" | |
41 #include "Dictionary.h" | 32 #include "Dictionary.h" |
42 #include "DocumentEventQueue.h" | |
43 #include "DocumentFragment.h" | |
44 #include "DocumentMarkerController.h" | |
45 #include "DocumentSharedObjectPool.h" | |
46 #include "DocumentStyleSheetCollection.h" | |
47 #include "DocumentType.h" | |
48 #include "Element.h" | |
49 #include "ElementShadow.h" | |
50 #include "EntityReference.h" | |
51 #include "Event.h" | |
52 #include "EventFactory.h" | |
53 #include "EventListener.h" | |
54 #include "EventNames.h" | |
55 #include "ExceptionCode.h" | |
56 #include "ExceptionCodePlaceholder.h" | |
57 #include "FormController.h" | 33 #include "FormController.h" |
58 #include "GeolocationController.h" | 34 #include "GeolocationController.h" |
59 #include "HTMLAllCollection.h" | 35 #include "HTMLAllCollection.h" |
60 #include "HTMLAnchorElement.h" | 36 #include "HTMLAnchorElement.h" |
61 #include "HTMLBodyElement.h" | 37 #include "HTMLBodyElement.h" |
62 #include "HTMLCanvasElement.h" | 38 #include "HTMLCanvasElement.h" |
63 #include "HTMLCollection.h" | 39 #include "HTMLCollection.h" |
64 #include "HTMLDocument.h" | 40 #include "HTMLDocument.h" |
65 #include "HTMLElementFactory.h" | 41 #include "HTMLElementFactory.h" |
66 #include "HTMLFrameOwnerElement.h" | 42 #include "HTMLFrameOwnerElement.h" |
67 #include "HTMLHeadElement.h" | 43 #include "HTMLHeadElement.h" |
68 #include "HTMLIFrameElement.h" | 44 #include "HTMLIFrameElement.h" |
69 #include "HTMLLinkElement.h" | 45 #include "HTMLLinkElement.h" |
70 #include "HTMLMapElement.h" | 46 #include "HTMLMapElement.h" |
71 #include "HTMLNameCollection.h" | 47 #include "HTMLNameCollection.h" |
72 #include "HTMLNames.h" | 48 #include "HTMLNames.h" |
73 #include "HTMLParserIdioms.h" | 49 #include "HTMLParserIdioms.h" |
74 #include "HTMLStyleElement.h" | 50 #include "HTMLStyleElement.h" |
75 #include "HTMLTitleElement.h" | 51 #include "HTMLTitleElement.h" |
76 #include "HashChangeEvent.h" | |
77 #include "InspectorCounters.h" | 52 #include "InspectorCounters.h" |
78 #include "InspectorInstrumentation.h" | 53 #include "InspectorInstrumentation.h" |
79 #include "NameNodeList.h" | |
80 #include "NamedFlowCollection.h" | |
81 #include "NestingLevelIncrementer.h" | 54 #include "NestingLevelIncrementer.h" |
82 #include "NodeFilter.h" | |
83 #include "NodeIterator.h" | |
84 #include "NodeRareData.h" | |
85 #include "NodeTraversal.h" | |
86 #include "NodeWithIndex.h" | |
87 #include "PageTransitionEvent.h" | |
88 #include "PluginDocument.h" | 55 #include "PluginDocument.h" |
89 #include "PopStateEvent.h" | |
90 #include "ProcessingInstruction.h" | |
91 #include "QualifiedName.h" | |
92 #include "RegisteredEventListener.h" | |
93 #include "RequestAnimationFrameCallback.h" | |
94 #include "ScopedEventQueue.h" | |
95 #include "ScriptCallStack.h" | 56 #include "ScriptCallStack.h" |
96 #include "ScriptController.h" | 57 #include "ScriptController.h" |
97 #include "ScriptElement.h" | |
98 #include "ScriptEventListener.h" | 58 #include "ScriptEventListener.h" |
99 #include "ScriptRunner.h" | |
100 #include "ScriptedAnimationController.h" | |
101 #include "SelectorQuery.h" | |
102 #include "ShadowRoot.h" | |
103 #include "SharedWorkerRepository.h" | 59 #include "SharedWorkerRepository.h" |
104 #include "TouchList.h" | |
105 #include "TransformSource.h" | |
106 #include "TreeWalker.h" | |
107 #include "UserActionElementSet.h" | |
108 #include "VisitedLinkState.h" | |
109 #include "WebCoreMemoryInstrumentation.h" | |
110 #include "XMLHttpRequest.h" | 60 #include "XMLHttpRequest.h" |
111 #include "XMLNSNames.h" | 61 #include "XMLNSNames.h" |
112 #include "XMLNames.h" | 62 #include "XMLNames.h" |
113 #include "XPathEvaluator.h" | 63 #include "XPathEvaluator.h" |
114 #include "XPathExpression.h" | 64 #include "XPathExpression.h" |
115 #include "XPathNSResolver.h" | 65 #include "XPathNSResolver.h" |
116 #include "XPathResult.h" | 66 #include "XPathResult.h" |
117 #include "XSLTProcessor.h" | 67 #include "XSLTProcessor.h" |
118 #include "core/accessibility/AXObjectCache.h" | 68 #include "core/accessibility/AXObjectCache.h" |
119 #include "core/css/CSSParser.h" | 69 #include "core/css/CSSParser.h" |
120 #include "core/css/CSSStyleDeclaration.h" | 70 #include "core/css/CSSStyleDeclaration.h" |
121 #include "core/css/CSSStyleSheet.h" | 71 #include "core/css/CSSStyleSheet.h" |
122 #include "core/css/FontLoader.h" | 72 #include "core/css/FontLoader.h" |
123 #include "core/css/MediaQueryList.h" | 73 #include "core/css/MediaQueryList.h" |
124 #include "core/css/MediaQueryMatcher.h" | 74 #include "core/css/MediaQueryMatcher.h" |
125 #include "core/css/StylePropertySet.h" | 75 #include "core/css/StylePropertySet.h" |
126 #include "core/css/StyleResolver.h" | 76 #include "core/css/StyleResolver.h" |
127 #include "core/css/StyleSheetContents.h" | 77 #include "core/css/StyleSheetContents.h" |
128 #include "core/css/StyleSheetList.h" | 78 #include "core/css/StyleSheetList.h" |
| 79 #include "core/dom/Attr.h" |
| 80 #include "core/dom/Attribute.h" |
| 81 #include "core/dom/CDATASection.h" |
| 82 #include "core/dom/Comment.h" |
| 83 #include "core/dom/ContextFeatures.h" |
| 84 #include "core/dom/CustomElementConstructor.h" |
| 85 #include "core/dom/CustomElementRegistry.h" |
| 86 #include "core/dom/DOMImplementation.h" |
| 87 #include "core/dom/DOMNamedFlowCollection.h" |
| 88 #include "core/dom/DocumentEventQueue.h" |
| 89 #include "core/dom/DocumentFragment.h" |
| 90 #include "core/dom/DocumentMarkerController.h" |
| 91 #include "core/dom/DocumentSharedObjectPool.h" |
| 92 #include "core/dom/DocumentStyleSheetCollection.h" |
| 93 #include "core/dom/DocumentType.h" |
| 94 #include "core/dom/Element.h" |
| 95 #include "core/dom/ElementShadow.h" |
| 96 #include "core/dom/EntityReference.h" |
| 97 #include "core/dom/Event.h" |
| 98 #include "core/dom/EventFactory.h" |
| 99 #include "core/dom/EventListener.h" |
| 100 #include "core/dom/EventNames.h" |
| 101 #include "core/dom/ExceptionCode.h" |
| 102 #include "core/dom/ExceptionCodePlaceholder.h" |
| 103 #include "core/dom/HashChangeEvent.h" |
| 104 #include "core/dom/NameNodeList.h" |
| 105 #include "core/dom/NamedFlowCollection.h" |
| 106 #include "core/dom/NodeFilter.h" |
| 107 #include "core/dom/NodeIterator.h" |
| 108 #include "core/dom/NodeRareData.h" |
| 109 #include "core/dom/NodeTraversal.h" |
| 110 #include "core/dom/NodeWithIndex.h" |
| 111 #include "core/dom/PageTransitionEvent.h" |
| 112 #include "core/dom/PopStateEvent.h" |
| 113 #include "core/dom/ProcessingInstruction.h" |
| 114 #include "core/dom/QualifiedName.h" |
| 115 #include "core/dom/RegisteredEventListener.h" |
| 116 #include "core/dom/RequestAnimationFrameCallback.h" |
| 117 #include "core/dom/ScopedEventQueue.h" |
| 118 #include "core/dom/ScriptElement.h" |
| 119 #include "core/dom/ScriptRunner.h" |
| 120 #include "core/dom/ScriptedAnimationController.h" |
| 121 #include "core/dom/SelectorQuery.h" |
| 122 #include "core/dom/ShadowRoot.h" |
| 123 #include "core/dom/TouchList.h" |
| 124 #include "core/dom/TransformSource.h" |
| 125 #include "core/dom/TreeWalker.h" |
| 126 #include "core/dom/UserActionElementSet.h" |
| 127 #include "core/dom/VisitedLinkState.h" |
| 128 #include "core/dom/WebCoreMemoryInstrumentation.h" |
129 #include "core/editing/Editor.h" | 129 #include "core/editing/Editor.h" |
130 #include "core/editing/FrameSelection.h" | 130 #include "core/editing/FrameSelection.h" |
131 #include "core/editing/htmlediting.h" | 131 #include "core/editing/htmlediting.h" |
132 #include "core/loader/CookieJar.h" | 132 #include "core/loader/CookieJar.h" |
133 #include "core/loader/DocumentLoader.h" | 133 #include "core/loader/DocumentLoader.h" |
134 #include "core/loader/FrameLoader.h" | 134 #include "core/loader/FrameLoader.h" |
135 #include "core/loader/FrameLoaderClient.h" | 135 #include "core/loader/FrameLoaderClient.h" |
136 #include "core/loader/ImageLoader.h" | 136 #include "core/loader/ImageLoader.h" |
137 #include "core/loader/Prerenderer.h" | 137 #include "core/loader/Prerenderer.h" |
138 #include "core/loader/ResourceLoader.h" | 138 #include "core/loader/ResourceLoader.h" |
(...skipping 5589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5728 return; | 5728 return; |
5729 | 5729 |
5730 Vector<RefPtr<Element> > associatedFormControls; | 5730 Vector<RefPtr<Element> > associatedFormControls; |
5731 copyToVector(m_associatedFormControls, associatedFormControls); | 5731 copyToVector(m_associatedFormControls, associatedFormControls); |
5732 | 5732 |
5733 frame()->page()->chrome()->client()->didAssociateFormControls(associatedForm
Controls); | 5733 frame()->page()->chrome()->client()->didAssociateFormControls(associatedForm
Controls); |
5734 m_associatedFormControls.clear(); | 5734 m_associatedFormControls.clear(); |
5735 } | 5735 } |
5736 | 5736 |
5737 } // namespace WebCore | 5737 } // namespace WebCore |
OLD | NEW |