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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 void listAttributeTargetChanged(); | 222 void listAttributeTargetChanged(); |
223 | 223 |
224 HTMLInputElement* checkedRadioButtonForGroup() const; | 224 HTMLInputElement* checkedRadioButtonForGroup() const; |
225 bool isInRequiredRadioButtonGroup(); | 225 bool isInRequiredRadioButtonGroup(); |
226 | 226 |
227 // Functions for InputType classes. | 227 // Functions for InputType classes. |
228 void setValueInternal(const String&, TextFieldEventBehavior); | 228 void setValueInternal(const String&, TextFieldEventBehavior); |
229 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW
asUpdatedAfterParsing; } | 229 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW
asUpdatedAfterParsing; } |
230 void updateView(); | 230 void updateView(); |
231 bool needsToUpdateViewValue() const { return m_needsToUpdateViewValue; } | 231 bool needsToUpdateViewValue() const { return m_needsToUpdateViewValue; } |
232 virtual void setInnerTextValue(const String&) OVERRIDE; | 232 virtual void setInnerEditorValue(const String&) OVERRIDE; |
233 | 233 |
234 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca
retOffset, caretOffset, SelectionHasNoDirection); } | 234 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca
retOffset, caretOffset, SelectionHasNoDirection); } |
235 | 235 |
236 // For test purposes. | 236 // For test purposes. |
237 void selectColorInColorChooser(const Color&); | 237 void selectColorInColorChooser(const Color&); |
238 | 238 |
239 String defaultToolTip() const; | 239 String defaultToolTip() const; |
240 | 240 |
241 static const int maximumLength; | 241 static const int maximumLength; |
242 | 242 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE FINA
L; | 334 virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE FINA
L; |
335 virtual const QualifiedName& subResourceAttributeName() const OVERRIDE FINAL
; | 335 virtual const QualifiedName& subResourceAttributeName() const OVERRIDE FINAL
; |
336 virtual bool isInRange() const OVERRIDE FINAL; | 336 virtual bool isInRange() const OVERRIDE FINAL; |
337 virtual bool isOutOfRange() const OVERRIDE FINAL; | 337 virtual bool isOutOfRange() const OVERRIDE FINAL; |
338 | 338 |
339 bool isTextType() const; | 339 bool isTextType() const; |
340 bool tooLong(const String&, NeedsToCheckDirtyFlag) const; | 340 bool tooLong(const String&, NeedsToCheckDirtyFlag) const; |
341 | 341 |
342 virtual bool supportsPlaceholder() const OVERRIDE FINAL; | 342 virtual bool supportsPlaceholder() const OVERRIDE FINAL; |
343 virtual void updatePlaceholderText() OVERRIDE FINAL; | 343 virtual void updatePlaceholderText() OVERRIDE FINAL; |
344 virtual bool isEmptyValue() const OVERRIDE FINAL { return innerTextValue().i
sEmpty(); } | 344 virtual bool isEmptyValue() const OVERRIDE FINAL { return innerEditorValue()
.isEmpty(); } |
345 virtual bool isEmptySuggestedValue() const OVERRIDE FINAL { return suggested
Value().isEmpty(); } | 345 virtual bool isEmptySuggestedValue() const OVERRIDE FINAL { return suggested
Value().isEmpty(); } |
346 virtual void handleFocusEvent(Element* oldFocusedElement, FocusType) OVERRID
E FINAL; | 346 virtual void handleFocusEvent(Element* oldFocusedElement, FocusType) OVERRID
E FINAL; |
347 virtual void handleBlurEvent() OVERRIDE FINAL; | 347 virtual void handleBlurEvent() OVERRIDE FINAL; |
348 | 348 |
349 virtual bool isOptionalFormControl() const OVERRIDE FINAL { return !isRequir
edFormControl(); } | 349 virtual bool isOptionalFormControl() const OVERRIDE FINAL { return !isRequir
edFormControl(); } |
350 virtual bool isRequiredFormControl() const OVERRIDE FINAL; | 350 virtual bool isRequiredFormControl() const OVERRIDE FINAL; |
351 virtual bool recalcWillValidate() const OVERRIDE FINAL; | 351 virtual bool recalcWillValidate() const OVERRIDE FINAL; |
352 virtual void requiredAttributeChanged() OVERRIDE FINAL; | 352 virtual void requiredAttributeChanged() OVERRIDE FINAL; |
353 | 353 |
354 void updateType(); | 354 void updateType(); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 RefPtrWillBeMember<InputTypeView> m_inputTypeView; | 393 RefPtrWillBeMember<InputTypeView> m_inputTypeView; |
394 // The ImageLoader must be owned by this element because the loader code ass
umes | 394 // The ImageLoader must be owned by this element because the loader code ass
umes |
395 // that it lives as long as its owning element lives. If we move the loader
into | 395 // that it lives as long as its owning element lives. If we move the loader
into |
396 // the ImageInput object we may delete the loader while this element lives o
n. | 396 // the ImageInput object we may delete the loader while this element lives o
n. |
397 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; | 397 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; |
398 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve
r; | 398 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve
r; |
399 }; | 399 }; |
400 | 400 |
401 } //namespace | 401 } //namespace |
402 #endif | 402 #endif |
OLD | NEW |