| 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 30 matching lines...) Expand all Loading... |
| 41 class InputType; | 41 class InputType; |
| 42 class InputTypeView; | 42 class InputTypeView; |
| 43 class KURL; | 43 class KURL; |
| 44 class ListAttributeTargetObserver; | 44 class ListAttributeTargetObserver; |
| 45 class RadioButtonGroupScope; | 45 class RadioButtonGroupScope; |
| 46 struct DateTimeChooserParameters; | 46 struct DateTimeChooserParameters; |
| 47 | 47 |
| 48 class CORE_EXPORT HTMLInputElement : public HTMLTextFormControlElement { | 48 class CORE_EXPORT HTMLInputElement : public HTMLTextFormControlElement { |
| 49 DEFINE_WRAPPERTYPEINFO(); | 49 DEFINE_WRAPPERTYPEINFO(); |
| 50 public: | 50 public: |
| 51 static PassRefPtrWillBeRawPtr<HTMLInputElement> create(Document&, HTMLFormEl
ement*, bool createdByParser); | 51 static RawPtr<HTMLInputElement> create(Document&, HTMLFormElement*, bool cre
atedByParser); |
| 52 ~HTMLInputElement() override; | 52 ~HTMLInputElement() override; |
| 53 DECLARE_VIRTUAL_TRACE(); | 53 DECLARE_VIRTUAL_TRACE(); |
| 54 | 54 |
| 55 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitspeechchange); | 55 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitspeechchange); |
| 56 | 56 |
| 57 bool shouldAutocomplete() const final; | 57 bool shouldAutocomplete() const final; |
| 58 | 58 |
| 59 // For ValidityState | 59 // For ValidityState |
| 60 bool hasBadInput() const final; | 60 bool hasBadInput() const final; |
| 61 bool patternMismatch() const final; | 61 bool patternMismatch() const final; |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 bool isRequiredFormControl() const final; | 354 bool isRequiredFormControl() const final; |
| 355 bool recalcWillValidate() const final; | 355 bool recalcWillValidate() const final; |
| 356 void requiredAttributeChanged() final; | 356 void requiredAttributeChanged() final; |
| 357 | 357 |
| 358 void updateTouchEventHandlerRegistry(); | 358 void updateTouchEventHandlerRegistry(); |
| 359 void initializeTypeInParsing(); | 359 void initializeTypeInParsing(); |
| 360 void updateType(); | 360 void updateType(); |
| 361 | 361 |
| 362 void subtreeHasChanged() final; | 362 void subtreeHasChanged() final; |
| 363 | 363 |
| 364 void setListAttributeTargetObserver(PassOwnPtrWillBeRawPtr<ListAttributeTarg
etObserver>); | 364 void setListAttributeTargetObserver(RawPtr<ListAttributeTargetObserver>); |
| 365 void resetListAttributeTargetObserver(); | 365 void resetListAttributeTargetObserver(); |
| 366 void parseMaxLengthAttribute(const AtomicString&); | 366 void parseMaxLengthAttribute(const AtomicString&); |
| 367 void parseMinLengthAttribute(const AtomicString&); | 367 void parseMinLengthAttribute(const AtomicString&); |
| 368 void updateValueIfNeeded(); | 368 void updateValueIfNeeded(); |
| 369 | 369 |
| 370 // Returns null if this isn't associated with any radio button group. | 370 // Returns null if this isn't associated with any radio button group. |
| 371 RadioButtonGroupScope* radioButtonGroupScope() const; | 371 RadioButtonGroupScope* radioButtonGroupScope() const; |
| 372 void addToRadioButtonGroup(); | 372 void addToRadioButtonGroup(); |
| 373 void removeFromRadioButtonGroup(); | 373 void removeFromRadioButtonGroup(); |
| 374 PassRefPtr<ComputedStyle> customStyleForLayoutObject() override; | 374 PassRefPtr<ComputedStyle> customStyleForLayoutObject() override; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 389 unsigned m_autocomplete : 2; // AutoCompleteSetting | 389 unsigned m_autocomplete : 2; // AutoCompleteSetting |
| 390 unsigned m_hasNonEmptyList : 1; | 390 unsigned m_hasNonEmptyList : 1; |
| 391 unsigned m_stateRestored : 1; | 391 unsigned m_stateRestored : 1; |
| 392 unsigned m_parsingInProgress : 1; | 392 unsigned m_parsingInProgress : 1; |
| 393 unsigned m_valueAttributeWasUpdatedAfterParsing : 1; | 393 unsigned m_valueAttributeWasUpdatedAfterParsing : 1; |
| 394 unsigned m_canReceiveDroppedFiles : 1; | 394 unsigned m_canReceiveDroppedFiles : 1; |
| 395 unsigned m_hasTouchEventHandler : 1; | 395 unsigned m_hasTouchEventHandler : 1; |
| 396 unsigned m_shouldRevealPassword : 1; | 396 unsigned m_shouldRevealPassword : 1; |
| 397 unsigned m_needsToUpdateViewValue : 1; | 397 unsigned m_needsToUpdateViewValue : 1; |
| 398 unsigned m_isPlaceholderVisible : 1; | 398 unsigned m_isPlaceholderVisible : 1; |
| 399 RefPtrWillBeMember<InputType> m_inputType; | 399 Member<InputType> m_inputType; |
| 400 RefPtrWillBeMember<InputTypeView> m_inputTypeView; | 400 Member<InputTypeView> m_inputTypeView; |
| 401 // The ImageLoader must be owned by this element because the loader code ass
umes | 401 // The ImageLoader must be owned by this element because the loader code ass
umes |
| 402 // that it lives as long as its owning element lives. If we move the loader
into | 402 // that it lives as long as its owning element lives. If we move the loader
into |
| 403 // the ImageInput object we may delete the loader while this element lives o
n. | 403 // the ImageInput object we may delete the loader while this element lives o
n. |
| 404 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; | 404 Member<HTMLImageLoader> m_imageLoader; |
| 405 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve
r; | 405 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver; |
| 406 }; | 406 }; |
| 407 | 407 |
| 408 } // namespace blink | 408 } // namespace blink |
| 409 | 409 |
| 410 #endif // HTMLInputElement_h | 410 #endif // HTMLInputElement_h |
| OLD | NEW |