| 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) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 6 * Copyright (C) 2012 Samsung Electronics. 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 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 bool shouldAppearChecked() const; | 105 bool shouldAppearChecked() const; |
| 106 bool shouldAppearIndeterminate() const override; | 106 bool shouldAppearIndeterminate() const override; |
| 107 | 107 |
| 108 int size() const; | 108 int size() const; |
| 109 bool sizeShouldIncludeDecoration(int& preferredSize) const; | 109 bool sizeShouldIncludeDecoration(int& preferredSize) const; |
| 110 | 110 |
| 111 void setType(const AtomicString&); | 111 void setType(const AtomicString&); |
| 112 | 112 |
| 113 String value() const override; | 113 String value() const override; |
| 114 void setValue(const String&, ExceptionState&, TextFieldEventBehavior = Dispa
tchNoEvent); | 114 void setValue(const String&, ExceptionState&, TextFieldEventBehavior = Dispa
tchNoEvent); |
| 115 void setValue(const String&, TextFieldEventBehavior = DispatchNoEvent); | 115 void setValue(const String&, TextFieldEventBehavior = DispatchNoEvent) overr
ide; |
| 116 void setValueForUser(const String&); | 116 void setValueForUser(const String&); |
| 117 // Checks if the specified string would be a valid value. | 117 // Checks if the specified string would be a valid value. |
| 118 // We should not call this for types with no string value such as CHECKBOX a
nd RADIO. | 118 // We should not call this for types with no string value such as CHECKBOX a
nd RADIO. |
| 119 bool isValidValue(const String&) const; | 119 bool isValidValue(const String&) const; |
| 120 bool hasDirtyValue() const { return !m_valueIfDirty.isNull(); } | 120 bool hasDirtyValue() const { return !m_valueIfDirty.isNull(); } |
| 121 | 121 |
| 122 String sanitizeValue(const String&) const; | 122 String sanitizeValue(const String&) const; |
| 123 | 123 |
| 124 String localizeValue(const String&) const; | 124 String localizeValue(const String&) const; |
| 125 | 125 |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 // The ImageLoader must be owned by this element because the loader code ass
umes | 396 // The ImageLoader must be owned by this element because the loader code ass
umes |
| 397 // that it lives as long as its owning element lives. If we move the loader
into | 397 // that it lives as long as its owning element lives. If we move the loader
into |
| 398 // the ImageInput object we may delete the loader while this element lives o
n. | 398 // the ImageInput object we may delete the loader while this element lives o
n. |
| 399 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; | 399 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; |
| 400 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve
r; | 400 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve
r; |
| 401 }; | 401 }; |
| 402 | 402 |
| 403 } // namespace blink | 403 } // namespace blink |
| 404 | 404 |
| 405 #endif // HTMLInputElement_h | 405 #endif // HTMLInputElement_h |
| OLD | NEW |