| 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 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "core/frame/UseCounter.h" | 43 #include "core/frame/UseCounter.h" |
| 44 #include "core/html/HTMLBRElement.h" | 44 #include "core/html/HTMLBRElement.h" |
| 45 #include "core/html/parser/HTMLParserIdioms.h" | 45 #include "core/html/parser/HTMLParserIdioms.h" |
| 46 #include "core/html/shadow/ShadowElementNames.h" | 46 #include "core/html/shadow/ShadowElementNames.h" |
| 47 #include "core/layout/LayoutBlock.h" | 47 #include "core/layout/LayoutBlock.h" |
| 48 #include "core/layout/LayoutBlockFlow.h" | 48 #include "core/layout/LayoutBlockFlow.h" |
| 49 #include "core/layout/LayoutTheme.h" | 49 #include "core/layout/LayoutTheme.h" |
| 50 #include "core/page/FocusController.h" | 50 #include "core/page/FocusController.h" |
| 51 #include "core/page/Page.h" | 51 #include "core/page/Page.h" |
| 52 #include "platform/heap/Handle.h" | 52 #include "platform/heap/Handle.h" |
| 53 #include "wtf/text/StringBuilder.h" | 53 #include "platform/wtf/text/StringBuilder.h" |
| 54 | 54 |
| 55 namespace blink { | 55 namespace blink { |
| 56 | 56 |
| 57 using namespace HTMLNames; | 57 using namespace HTMLNames; |
| 58 | 58 |
| 59 TextControlElement::TextControlElement(const QualifiedName& tag_name, | 59 TextControlElement::TextControlElement(const QualifiedName& tag_name, |
| 60 Document& doc) | 60 Document& doc) |
| 61 : HTMLFormControlElementWithState(tag_name, doc), | 61 : HTMLFormControlElementWithState(tag_name, doc), |
| 62 last_change_was_user_edit_(false), | 62 last_change_was_user_edit_(false), |
| 63 cached_selection_start_(0), | 63 cached_selection_start_(0), |
| (...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 959 | 959 |
| 960 void TextControlElement::CopyNonAttributePropertiesFromElement( | 960 void TextControlElement::CopyNonAttributePropertiesFromElement( |
| 961 const Element& source) { | 961 const Element& source) { |
| 962 const TextControlElement& source_element = | 962 const TextControlElement& source_element = |
| 963 static_cast<const TextControlElement&>(source); | 963 static_cast<const TextControlElement&>(source); |
| 964 last_change_was_user_edit_ = source_element.last_change_was_user_edit_; | 964 last_change_was_user_edit_ = source_element.last_change_was_user_edit_; |
| 965 HTMLFormControlElement::CopyNonAttributePropertiesFromElement(source); | 965 HTMLFormControlElement::CopyNonAttributePropertiesFromElement(source); |
| 966 } | 966 } |
| 967 | 967 |
| 968 } // namespace blink | 968 } // namespace blink |
| OLD | NEW |