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 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. | 6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. |
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 |
11 * version 2 of the License, or (at your option) any later version. | 11 * version 2 of the License, or (at your option) any later version. |
12 * | 12 * |
13 * This library is distributed in the hope that it will be useful, | 13 * This library is distributed in the hope that it will be useful, |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 * Library General Public License for more details. | 16 * Library General Public License for more details. |
17 * | 17 * |
18 * You should have received a copy of the GNU Library General Public License | 18 * You should have received a copy of the GNU Library General Public License |
19 * along with this library; see the file COPYING.LIB. If not, write to | 19 * along with this library; see the file COPYING.LIB. If not, write to |
20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
21 * Boston, MA 02110-1301, USA. | 21 * Boston, MA 02110-1301, USA. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 #include "HTMLElement.h" | 26 #include "HTMLElement.h" |
27 | 27 |
28 #include "Attribute.h" | |
29 #include "CSSPropertyNames.h" | 28 #include "CSSPropertyNames.h" |
30 #include "CSSValueKeywords.h" | 29 #include "CSSValueKeywords.h" |
31 #include "DOMSettableTokenList.h" | 30 #include "DOMSettableTokenList.h" |
32 #include "DocumentFragment.h" | |
33 #include "Event.h" | |
34 #include "EventListener.h" | |
35 #include "EventNames.h" | |
36 #include "ExceptionCode.h" | |
37 #include "HTMLBRElement.h" | 31 #include "HTMLBRElement.h" |
38 #include "HTMLCollection.h" | 32 #include "HTMLCollection.h" |
39 #include "HTMLDocument.h" | 33 #include "HTMLDocument.h" |
40 #include "HTMLElementFactory.h" | 34 #include "HTMLElementFactory.h" |
41 #include "HTMLFormElement.h" | 35 #include "HTMLFormElement.h" |
42 #include "HTMLNames.h" | 36 #include "HTMLNames.h" |
43 #include "HTMLParserIdioms.h" | 37 #include "HTMLParserIdioms.h" |
44 #include "HTMLTemplateElement.h" | 38 #include "HTMLTemplateElement.h" |
45 #include "HTMLTextFormControlElement.h" | 39 #include "HTMLTextFormControlElement.h" |
46 #include "NodeTraversal.h" | |
47 #include "ScriptController.h" | 40 #include "ScriptController.h" |
48 #include "ScriptEventListener.h" | 41 #include "ScriptEventListener.h" |
49 #include "Text.h" | |
50 #include "XMLNames.h" | 42 #include "XMLNames.h" |
51 #include "core/css/CSSParser.h" | 43 #include "core/css/CSSParser.h" |
52 #include "core/css/CSSValuePool.h" | 44 #include "core/css/CSSValuePool.h" |
53 #include "core/css/StylePropertySet.h" | 45 #include "core/css/StylePropertySet.h" |
| 46 #include "core/dom/Attribute.h" |
| 47 #include "core/dom/DocumentFragment.h" |
| 48 #include "core/dom/Event.h" |
| 49 #include "core/dom/EventListener.h" |
| 50 #include "core/dom/EventNames.h" |
| 51 #include "core/dom/ExceptionCode.h" |
| 52 #include "core/dom/NodeTraversal.h" |
| 53 #include "core/dom/Text.h" |
54 #include "core/editing/TextIterator.h" | 54 #include "core/editing/TextIterator.h" |
55 #include "core/editing/markup.h" | 55 #include "core/editing/markup.h" |
56 #include "core/loader/FrameLoader.h" | 56 #include "core/loader/FrameLoader.h" |
57 #include "core/page/Frame.h" | 57 #include "core/page/Frame.h" |
58 #include "core/page/Settings.h" | 58 #include "core/page/Settings.h" |
59 #include "core/rendering/RenderWordBreak.h" | 59 #include "core/rendering/RenderWordBreak.h" |
60 #include <wtf/StdLibExtras.h> | 60 #include <wtf/StdLibExtras.h> |
61 #include <wtf/text/CString.h> | 61 #include <wtf/text/CString.h> |
62 | 62 |
63 namespace WebCore { | 63 namespace WebCore { |
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1041 #ifndef NDEBUG | 1041 #ifndef NDEBUG |
1042 | 1042 |
1043 // For use in the debugger | 1043 // For use in the debugger |
1044 void dumpInnerHTML(WebCore::HTMLElement*); | 1044 void dumpInnerHTML(WebCore::HTMLElement*); |
1045 | 1045 |
1046 void dumpInnerHTML(WebCore::HTMLElement* element) | 1046 void dumpInnerHTML(WebCore::HTMLElement* element) |
1047 { | 1047 { |
1048 printf("%s\n", element->innerHTML().ascii().data()); | 1048 printf("%s\n", element->innerHTML().ascii().data()); |
1049 } | 1049 } |
1050 #endif | 1050 #endif |
OLD | NEW |