| 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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 private: | 280 private: |
| 281 enum AutoCompleteSetting { Uninitialized, On, Off }; | 281 enum AutoCompleteSetting { Uninitialized, On, Off }; |
| 282 | 282 |
| 283 void didAddUserAgentShadowRoot(ShadowRoot&) final; | 283 void didAddUserAgentShadowRoot(ShadowRoot&) final; |
| 284 | 284 |
| 285 void willChangeForm() final; | 285 void willChangeForm() final; |
| 286 void didChangeForm() final; | 286 void didChangeForm() final; |
| 287 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 287 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
| 288 void removedFrom(ContainerNode*) final; | 288 void removedFrom(ContainerNode*) final; |
| 289 void didMoveToNewDocument(Document& oldDocument) final; | 289 void didMoveToNewDocument(Document& oldDocument) final; |
| 290 void removeAllEventListeners() final; |
| 290 | 291 |
| 291 bool hasCustomFocusLogic() const final; | 292 bool hasCustomFocusLogic() const final; |
| 292 bool isKeyboardFocusable() const final; | 293 bool isKeyboardFocusable() const final; |
| 293 bool shouldShowFocusRingOnMouseFocus() const final; | 294 bool shouldShowFocusRingOnMouseFocus() const final; |
| 294 bool isEnumeratable() const final; | 295 bool isEnumeratable() const final; |
| 295 bool isInteractiveContent() const final; | 296 bool isInteractiveContent() const final; |
| 296 bool supportLabels() const final; | 297 bool supportLabels() const final; |
| 297 bool matchesDefaultPseudoClass() const override; | 298 bool matchesDefaultPseudoClass() const override; |
| 298 | 299 |
| 299 bool isTextFormControl() const final { return isTextField(); } | 300 bool isTextFormControl() const final { return isTextField(); } |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused
Element, WebFocusType, InputDeviceCapabilities* sourceCapabilities) final; | 350 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused
Element, WebFocusType, InputDeviceCapabilities* sourceCapabilities) final; |
| 350 bool supportsAutocapitalize() const final; | 351 bool supportsAutocapitalize() const final; |
| 351 const AtomicString& defaultAutocapitalize() const final; | 352 const AtomicString& defaultAutocapitalize() const final; |
| 352 | 353 |
| 353 bool isOptionalFormControl() const final { return !isRequiredFormControl();
} | 354 bool isOptionalFormControl() const final { return !isRequiredFormControl();
} |
| 354 bool isRequiredFormControl() const final; | 355 bool isRequiredFormControl() const final; |
| 355 bool recalcWillValidate() const final; | 356 bool recalcWillValidate() const final; |
| 356 void requiredAttributeChanged() final; | 357 void requiredAttributeChanged() final; |
| 357 void disabledAttributeChanged() final; | 358 void disabledAttributeChanged() final; |
| 358 | 359 |
| 360 void updateTouchEventHandlerRegistry(); |
| 359 void initializeTypeInParsing(); | 361 void initializeTypeInParsing(); |
| 360 void updateType(); | 362 void updateType(); |
| 361 | 363 |
| 362 void subtreeHasChanged() final; | 364 void subtreeHasChanged() final; |
| 363 | 365 |
| 364 void setListAttributeTargetObserver(ListAttributeTargetObserver*); | 366 void setListAttributeTargetObserver(ListAttributeTargetObserver*); |
| 365 void resetListAttributeTargetObserver(); | 367 void resetListAttributeTargetObserver(); |
| 366 void parseMaxLengthAttribute(const AtomicString&); | 368 void parseMaxLengthAttribute(const AtomicString&); |
| 367 void parseMinLengthAttribute(const AtomicString&); | 369 void parseMinLengthAttribute(const AtomicString&); |
| 368 void updateValueIfNeeded(); | 370 void updateValueIfNeeded(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 386 // https://html.spec.whatwg.org/multipage/forms.html#concept-input-checked-d
irty-flag | 388 // https://html.spec.whatwg.org/multipage/forms.html#concept-input-checked-d
irty-flag |
| 387 unsigned m_dirtyCheckedness : 1; | 389 unsigned m_dirtyCheckedness : 1; |
| 388 unsigned m_isIndeterminate : 1; | 390 unsigned m_isIndeterminate : 1; |
| 389 unsigned m_isActivatedSubmit : 1; | 391 unsigned m_isActivatedSubmit : 1; |
| 390 unsigned m_autocomplete : 2; // AutoCompleteSetting | 392 unsigned m_autocomplete : 2; // AutoCompleteSetting |
| 391 unsigned m_hasNonEmptyList : 1; | 393 unsigned m_hasNonEmptyList : 1; |
| 392 unsigned m_stateRestored : 1; | 394 unsigned m_stateRestored : 1; |
| 393 unsigned m_parsingInProgress : 1; | 395 unsigned m_parsingInProgress : 1; |
| 394 unsigned m_valueAttributeWasUpdatedAfterParsing : 1; | 396 unsigned m_valueAttributeWasUpdatedAfterParsing : 1; |
| 395 unsigned m_canReceiveDroppedFiles : 1; | 397 unsigned m_canReceiveDroppedFiles : 1; |
| 398 unsigned m_hasTouchEventHandler : 1; |
| 396 unsigned m_shouldRevealPassword : 1; | 399 unsigned m_shouldRevealPassword : 1; |
| 397 unsigned m_needsToUpdateViewValue : 1; | 400 unsigned m_needsToUpdateViewValue : 1; |
| 398 unsigned m_isPlaceholderVisible : 1; | 401 unsigned m_isPlaceholderVisible : 1; |
| 399 Member<InputType> m_inputType; | 402 Member<InputType> m_inputType; |
| 400 Member<InputTypeView> m_inputTypeView; | 403 Member<InputTypeView> m_inputTypeView; |
| 401 // The ImageLoader must be owned by this element because the loader code ass
umes | 404 // 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 | 405 // 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. | 406 // the ImageInput object we may delete the loader while this element lives o
n. |
| 404 Member<HTMLImageLoader> m_imageLoader; | 407 Member<HTMLImageLoader> m_imageLoader; |
| 405 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver; | 408 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver; |
| 406 }; | 409 }; |
| 407 | 410 |
| 408 } // namespace blink | 411 } // namespace blink |
| 409 | 412 |
| 410 #endif // HTMLInputElement_h | 413 #endif // HTMLInputElement_h |
| OLD | NEW |