| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 void setEditingValue(const String&); | 129 void setEditingValue(const String&); |
| 130 | 130 |
| 131 double valueAsDate(bool& isNull) const; | 131 double valueAsDate(bool& isNull) const; |
| 132 void setValueAsDate(double, ExceptionState&); | 132 void setValueAsDate(double, ExceptionState&); |
| 133 | 133 |
| 134 double valueAsNumber() const; | 134 double valueAsNumber() const; |
| 135 void setValueAsNumber(double, ExceptionState&, TextFieldEventBehavior = Disp
atchNoEvent); | 135 void setValueAsNumber(double, ExceptionState&, TextFieldEventBehavior = Disp
atchNoEvent); |
| 136 | 136 |
| 137 String valueWithDefault() const; | 137 String valueWithDefault() const; |
| 138 | 138 |
| 139 // This function dispatches 'input' event for non-textfield types. Callers |
| 140 // need to handle any DOM structure changes by event handlers, or need to |
| 141 // delay the 'input' event with EventQueueScope. |
| 139 void setValueFromRenderer(const String&); | 142 void setValueFromRenderer(const String&); |
| 140 | 143 |
| 141 int selectionStartForBinding(ExceptionState&) const; | 144 int selectionStartForBinding(ExceptionState&) const; |
| 142 int selectionEndForBinding(ExceptionState&) const; | 145 int selectionEndForBinding(ExceptionState&) const; |
| 143 String selectionDirectionForBinding(ExceptionState&) const; | 146 String selectionDirectionForBinding(ExceptionState&) const; |
| 144 void setSelectionStartForBinding(int, ExceptionState&); | 147 void setSelectionStartForBinding(int, ExceptionState&); |
| 145 void setSelectionEndForBinding(int, ExceptionState&); | 148 void setSelectionEndForBinding(int, ExceptionState&); |
| 146 void setSelectionDirectionForBinding(const String&, ExceptionState&); | 149 void setSelectionDirectionForBinding(const String&, ExceptionState&); |
| 147 void setSelectionRangeForBinding(int start, int end, ExceptionState&); | 150 void setSelectionRangeForBinding(int start, int end, ExceptionState&); |
| 148 void setSelectionRangeForBinding(int start, int end, const String& direction
, ExceptionState&); | 151 void setSelectionRangeForBinding(int start, int end, const String& direction
, ExceptionState&); |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 // 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 |
| 394 // 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 |
| 395 // 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. |
| 396 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; | 399 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; |
| 397 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve
r; | 400 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve
r; |
| 398 }; | 401 }; |
| 399 | 402 |
| 400 } // namespace blink | 403 } // namespace blink |
| 401 | 404 |
| 402 #endif // HTMLInputElement_h | 405 #endif // HTMLInputElement_h |
| OLD | NEW |