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) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. | 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. 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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
422 virtual bool isPickerIndicatorElement() const { return false; } | 422 virtual bool isPickerIndicatorElement() const { return false; } |
423 #endif | 423 #endif |
424 | 424 |
425 virtual bool isFormControlElement() const { return false; } | 425 virtual bool isFormControlElement() const { return false; } |
426 virtual bool isSpinButtonElement() const { return false; } | 426 virtual bool isSpinButtonElement() const { return false; } |
427 virtual bool isTextFormControl() const { return false; } | 427 virtual bool isTextFormControl() const { return false; } |
428 virtual bool isOptionalFormControl() const { return false; } | 428 virtual bool isOptionalFormControl() const { return false; } |
429 virtual bool isRequiredFormControl() const { return false; } | 429 virtual bool isRequiredFormControl() const { return false; } |
430 virtual bool isDefaultButtonForForm() const { return false; } | 430 virtual bool isDefaultButtonForForm() const { return false; } |
431 virtual bool willValidate() const { return false; } | 431 virtual bool willValidate() const { return false; } |
432 virtual bool isValidFormControlElement() { return false; } | 432 virtual bool isValidElement() { return false; } |
433 virtual bool matchesValidityPseudoClasses() const { return false; } | |
keishi
2014/10/15 06:37:16
nit: maybe this should be grouped with matchesRead
Bartek Nowierski
2014/10/15 06:43:05
Done.
| |
433 virtual bool isInRange() const { return false; } | 434 virtual bool isInRange() const { return false; } |
434 virtual bool isOutOfRange() const { return false; } | 435 virtual bool isOutOfRange() const { return false; } |
435 virtual bool isClearButtonElement() const { return false; } | 436 virtual bool isClearButtonElement() const { return false; } |
436 | 437 |
437 virtual bool canContainRangeEndPoint() const override { return true; } | 438 virtual bool canContainRangeEndPoint() const override { return true; } |
438 | 439 |
439 // Used for disabled form elements; if true, prevents mouse events from bein g dispatched | 440 // Used for disabled form elements; if true, prevents mouse events from bein g dispatched |
440 // to event listeners, and prevents DOMActivate events from being sent at al l. | 441 // to event listeners, and prevents DOMActivate events from being sent at al l. |
441 virtual bool isDisabledFormControl() const { return false; } | 442 virtual bool isDisabledFormControl() const { return false; } |
442 | 443 |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
852 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 853 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
853 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 854 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
854 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \ | 855 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \ |
855 { \ | 856 { \ |
856 return adoptRefWillBeNoop(new T(tagName, document)); \ | 857 return adoptRefWillBeNoop(new T(tagName, document)); \ |
857 } | 858 } |
858 | 859 |
859 } // namespace | 860 } // namespace |
860 | 861 |
861 #endif // Element_h | 862 #endif // Element_h |
OLD | NEW |