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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 void removedFrom(ContainerNode*) final; | 285 void removedFrom(ContainerNode*) final; |
286 void didMoveToNewDocument(Document& oldDocument) final; | 286 void didMoveToNewDocument(Document& oldDocument) final; |
287 void removeAllEventListeners() final; | 287 void removeAllEventListeners() final; |
288 | 288 |
289 bool hasCustomFocusLogic() const final; | 289 bool hasCustomFocusLogic() const final; |
290 bool isKeyboardFocusable() const final; | 290 bool isKeyboardFocusable() const final; |
291 bool shouldShowFocusRingOnMouseFocus() const final; | 291 bool shouldShowFocusRingOnMouseFocus() const final; |
292 bool isEnumeratable() const final; | 292 bool isEnumeratable() const final; |
293 bool isInteractiveContent() const final; | 293 bool isInteractiveContent() const final; |
294 bool supportLabels() const final; | 294 bool supportLabels() const final; |
| 295 bool isDefaultButtonForForm() const override; |
295 | 296 |
296 bool isTextFormControl() const final { return isTextField(); } | 297 bool isTextFormControl() const final { return isTextField(); } |
297 | 298 |
298 bool canTriggerImplicitSubmission() const final { return isTextField(); } | 299 bool canTriggerImplicitSubmission() const final { return isTextField(); } |
299 | 300 |
300 const AtomicString& formControlType() const final; | 301 const AtomicString& formControlType() const final; |
301 | 302 |
302 bool shouldSaveAndRestoreFormControlState() const final; | 303 bool shouldSaveAndRestoreFormControlState() const final; |
303 FormControlState saveFormControlState() const final; | 304 FormControlState saveFormControlState() const final; |
304 void restoreFormControlState(const FormControlState&) final; | 305 void restoreFormControlState(const FormControlState&) final; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 // The ImageLoader must be owned by this element because the loader code ass
umes | 399 // The ImageLoader must be owned by this element because the loader code ass
umes |
399 // that it lives as long as its owning element lives. If we move the loader
into | 400 // that it lives as long as its owning element lives. If we move the loader
into |
400 // the ImageInput object we may delete the loader while this element lives o
n. | 401 // the ImageInput object we may delete the loader while this element lives o
n. |
401 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; | 402 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; |
402 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve
r; | 403 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve
r; |
403 }; | 404 }; |
404 | 405 |
405 } // namespace blink | 406 } // namespace blink |
406 | 407 |
407 #endif // HTMLInputElement_h | 408 #endif // HTMLInputElement_h |
OLD | NEW |