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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 ExceptionState&, | 149 ExceptionState&, |
150 TextFieldEventBehavior = DispatchNoEvent); | 150 TextFieldEventBehavior = DispatchNoEvent); |
151 | 151 |
152 String valueOrDefaultLabel() const; | 152 String valueOrDefaultLabel() const; |
153 | 153 |
154 // This function dispatches 'input' event for non-textfield types. Callers | 154 // This function dispatches 'input' event for non-textfield types. Callers |
155 // need to handle any DOM structure changes by event handlers, or need to | 155 // need to handle any DOM structure changes by event handlers, or need to |
156 // delay the 'input' event with EventQueueScope. | 156 // delay the 'input' event with EventQueueScope. |
157 void setValueFromRenderer(const String&); | 157 void setValueFromRenderer(const String&); |
158 | 158 |
159 unsigned selectionStartForBinding(ExceptionState&) const; | 159 unsigned selectionStartForBinding(bool&, ExceptionState&) const; |
160 unsigned selectionEndForBinding(ExceptionState&) const; | 160 unsigned selectionEndForBinding(bool&, ExceptionState&) const; |
161 String selectionDirectionForBinding(ExceptionState&) const; | 161 String selectionDirectionForBinding(ExceptionState&) const; |
162 void setSelectionStartForBinding(unsigned, ExceptionState&); | 162 void setSelectionStartForBinding(unsigned, ExceptionState&); |
163 void setSelectionEndForBinding(unsigned, ExceptionState&); | 163 void setSelectionEndForBinding(unsigned, ExceptionState&); |
164 void setSelectionDirectionForBinding(const String&, ExceptionState&); | 164 void setSelectionDirectionForBinding(const String&, ExceptionState&); |
165 void setSelectionRangeForBinding(unsigned start, | 165 void setSelectionRangeForBinding(unsigned start, |
166 unsigned end, | 166 unsigned end, |
167 ExceptionState&); | 167 ExceptionState&); |
168 void setSelectionRangeForBinding(unsigned start, | 168 void setSelectionRangeForBinding(unsigned start, |
169 unsigned end, | 169 unsigned end, |
170 const String& direction, | 170 const String& direction, |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 // assumes that it lives as long as its owning element lives. If we move the | 425 // assumes that it lives as long as its owning element lives. If we move the |
426 // loader into the ImageInput object we may delete the loader while this | 426 // loader into the ImageInput object we may delete the loader while this |
427 // element lives on. | 427 // element lives on. |
428 Member<HTMLImageLoader> m_imageLoader; | 428 Member<HTMLImageLoader> m_imageLoader; |
429 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver; | 429 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver; |
430 }; | 430 }; |
431 | 431 |
432 } // namespace blink | 432 } // namespace blink |
433 | 433 |
434 #endif // HTMLInputElement_h | 434 #endif // HTMLInputElement_h |
OLD | NEW |