| 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 Apple Inc. All rights reserved. | 5  * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 
| 6  *           (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6  *           (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 
| 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 "HTMLTextFormControlElement.h" | 26 #include "HTMLTextFormControlElement.h" | 
| 27 | 27 | 
| 28 #include "AXObjectCache.h" |  | 
| 29 #include "Attribute.h" | 28 #include "Attribute.h" | 
| 30 #include "ChromeClient.h" | 29 #include "ChromeClient.h" | 
| 31 #include "Document.h" | 30 #include "Document.h" | 
| 32 #include "Event.h" | 31 #include "Event.h" | 
| 33 #include "EventNames.h" | 32 #include "EventNames.h" | 
| 34 #include "UseCounter.h" |  | 
| 35 #include "Frame.h" | 33 #include "Frame.h" | 
| 36 #include "FrameSelection.h" | 34 #include "FrameSelection.h" | 
| 37 #include "HTMLBRElement.h" | 35 #include "HTMLBRElement.h" | 
| 38 #include "HTMLFormElement.h" | 36 #include "HTMLFormElement.h" | 
| 39 #include "HTMLInputElement.h" | 37 #include "HTMLInputElement.h" | 
| 40 #include "HTMLNames.h" | 38 #include "HTMLNames.h" | 
| 41 #include "NodeRenderingContext.h" | 39 #include "NodeRenderingContext.h" | 
| 42 #include "NodeTraversal.h" | 40 #include "NodeTraversal.h" | 
| 43 #include "RenderBox.h" | 41 #include "RenderBox.h" | 
| 44 #include "RenderTextControl.h" | 42 #include "RenderTextControl.h" | 
| 45 #include "RenderTheme.h" | 43 #include "RenderTheme.h" | 
| 46 #include "ScriptEventListener.h" | 44 #include "ScriptEventListener.h" | 
| 47 #include "Text.h" | 45 #include "Text.h" | 
| 48 #include "TextIterator.h" | 46 #include "TextIterator.h" | 
|  | 47 #include "UseCounter.h" | 
|  | 48 #include "core/accessibility/AXObjectCache.h" | 
| 49 #include <wtf/text/StringBuilder.h> | 49 #include <wtf/text/StringBuilder.h> | 
| 50 | 50 | 
| 51 namespace WebCore { | 51 namespace WebCore { | 
| 52 | 52 | 
| 53 using namespace HTMLNames; | 53 using namespace HTMLNames; | 
| 54 using namespace std; | 54 using namespace std; | 
| 55 | 55 | 
| 56 HTMLTextFormControlElement::HTMLTextFormControlElement(const QualifiedName& tagN
     ame, Document* doc, HTMLFormElement* form) | 56 HTMLTextFormControlElement::HTMLTextFormControlElement(const QualifiedName& tagN
     ame, Document* doc, HTMLFormElement* form) | 
| 57     : HTMLFormControlElementWithState(tagName, doc, form) | 57     : HTMLFormControlElementWithState(tagName, doc, form) | 
| 58     , m_lastChangeWasUserEdit(false) | 58     , m_lastChangeWasUserEdit(false) | 
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 684 } | 684 } | 
| 685 | 685 | 
| 686 void HTMLTextFormControlElement::reportMemoryUsage(MemoryObjectInfo* memoryObjec
     tInfo) const | 686 void HTMLTextFormControlElement::reportMemoryUsage(MemoryObjectInfo* memoryObjec
     tInfo) const | 
| 687 { | 687 { | 
| 688     MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::DOM); | 688     MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::DOM); | 
| 689     HTMLFormControlElementWithState::reportMemoryUsage(memoryObjectInfo); | 689     HTMLFormControlElementWithState::reportMemoryUsage(memoryObjectInfo); | 
| 690     info.addMember(m_textAsOfLastFormControlChangeEvent, "textAsOfLastFormContro
     lChangeEvent"); | 690     info.addMember(m_textAsOfLastFormControlChangeEvent, "textAsOfLastFormContro
     lChangeEvent"); | 
| 691 } | 691 } | 
| 692 | 692 | 
| 693 } // namespace Webcore | 693 } // namespace Webcore | 
| OLD | NEW | 
|---|