| 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 "core/html/HTMLElement.h" |
| 27 | 27 |
| 28 #include "CSSPropertyNames.h" | 28 #include "CSSPropertyNames.h" |
| 29 #include "CSSValueKeywords.h" | 29 #include "CSSValueKeywords.h" |
| 30 #include "DOMSettableTokenList.h" | |
| 31 #include "HTMLBRElement.h" | |
| 32 #include "HTMLCollection.h" | |
| 33 #include "HTMLDocument.h" | |
| 34 #include "HTMLElementFactory.h" | 30 #include "HTMLElementFactory.h" |
| 35 #include "HTMLFormElement.h" | |
| 36 #include "HTMLNames.h" | 31 #include "HTMLNames.h" |
| 37 #include "HTMLTemplateElement.h" | |
| 38 #include "HTMLTextFormControlElement.h" | |
| 39 #include "XMLNames.h" | 32 #include "XMLNames.h" |
| 40 #include "bindings/v8/ScriptController.h" | 33 #include "bindings/v8/ScriptController.h" |
| 41 #include "bindings/v8/ScriptEventListener.h" | 34 #include "bindings/v8/ScriptEventListener.h" |
| 42 #include "core/css/CSSParser.h" | 35 #include "core/css/CSSParser.h" |
| 43 #include "core/css/CSSValuePool.h" | 36 #include "core/css/CSSValuePool.h" |
| 44 #include "core/css/StylePropertySet.h" | 37 #include "core/css/StylePropertySet.h" |
| 45 #include "core/dom/Attribute.h" | 38 #include "core/dom/Attribute.h" |
| 46 #include "core/dom/DocumentFragment.h" | 39 #include "core/dom/DocumentFragment.h" |
| 47 #include "core/dom/Event.h" | 40 #include "core/dom/Event.h" |
| 48 #include "core/dom/EventListener.h" | 41 #include "core/dom/EventListener.h" |
| 49 #include "core/dom/EventNames.h" | 42 #include "core/dom/EventNames.h" |
| 50 #include "core/dom/ExceptionCode.h" | 43 #include "core/dom/ExceptionCode.h" |
| 51 #include "core/dom/NodeTraversal.h" | 44 #include "core/dom/NodeTraversal.h" |
| 52 #include "core/dom/Text.h" | 45 #include "core/dom/Text.h" |
| 53 #include "core/editing/TextIterator.h" | 46 #include "core/editing/TextIterator.h" |
| 54 #include "core/editing/markup.h" | 47 #include "core/editing/markup.h" |
| 48 #include "core/html/DOMSettableTokenList.h" |
| 49 #include "core/html/HTMLBRElement.h" |
| 50 #include "core/html/HTMLCollection.h" |
| 51 #include "core/html/HTMLDocument.h" |
| 52 #include "core/html/HTMLFormElement.h" |
| 53 #include "core/html/HTMLTemplateElement.h" |
| 54 #include "core/html/HTMLTextFormControlElement.h" |
| 55 #include "core/html/parser/HTMLParserIdioms.h" | 55 #include "core/html/parser/HTMLParserIdioms.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 { |
| 64 | 64 |
| (...skipping 976 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 |