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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 #include "platform/text/TextBoundaries.h" | 53 #include "platform/text/TextBoundaries.h" |
54 #include "wtf/text/StringBuilder.h" | 54 #include "wtf/text/StringBuilder.h" |
55 | 55 |
56 namespace blink { | 56 namespace blink { |
57 | 57 |
58 using namespace HTMLNames; | 58 using namespace HTMLNames; |
59 | 59 |
60 HTMLTextFormControlElement::HTMLTextFormControlElement(const QualifiedName& tagN
ame, Document& doc, HTMLFormElement* form) | 60 HTMLTextFormControlElement::HTMLTextFormControlElement(const QualifiedName& tagN
ame, Document& doc, HTMLFormElement* form) |
61 : HTMLFormControlElementWithState(tagName, doc, form) | 61 : HTMLFormControlElementWithState(tagName, doc, form) |
62 , m_lastChangeWasUserEdit(false) | 62 , m_lastChangeWasUserEdit(false) |
| 63 , m_suggestedValueStartOffset(0) |
63 , m_cachedSelectionStart(0) | 64 , m_cachedSelectionStart(0) |
64 , m_cachedSelectionEnd(0) | 65 , m_cachedSelectionEnd(0) |
65 , m_cachedSelectionDirection(SelectionHasNoDirection) | 66 , m_cachedSelectionDirection(SelectionHasNoDirection) |
66 { | 67 { |
67 } | 68 } |
68 | 69 |
69 HTMLTextFormControlElement::~HTMLTextFormControlElement() | 70 HTMLTextFormControlElement::~HTMLTextFormControlElement() |
70 { | 71 { |
71 } | 72 } |
72 | 73 |
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1009 } | 1010 } |
1010 | 1011 |
1011 void HTMLTextFormControlElement::copyNonAttributePropertiesFromElement(const Ele
ment& source) | 1012 void HTMLTextFormControlElement::copyNonAttributePropertiesFromElement(const Ele
ment& source) |
1012 { | 1013 { |
1013 const HTMLTextFormControlElement& sourceElement = static_cast<const HTMLText
FormControlElement&>(source); | 1014 const HTMLTextFormControlElement& sourceElement = static_cast<const HTMLText
FormControlElement&>(source); |
1014 m_lastChangeWasUserEdit = sourceElement.m_lastChangeWasUserEdit; | 1015 m_lastChangeWasUserEdit = sourceElement.m_lastChangeWasUserEdit; |
1015 HTMLFormControlElement::copyNonAttributePropertiesFromElement(source); | 1016 HTMLFormControlElement::copyNonAttributePropertiesFromElement(source); |
1016 } | 1017 } |
1017 | 1018 |
1018 } // namespace blink | 1019 } // namespace blink |
OLD | NEW |