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 isInRange() const { return false; } | 433 virtual bool isInRange() const { return false; } |
434 virtual bool isOutOfRange() const { return false; } | 434 virtual bool isOutOfRange() const { return false; } |
435 virtual bool isClearButtonElement() const { return false; } | 435 virtual bool isClearButtonElement() const { return false; } |
436 | 436 |
437 virtual bool canContainRangeEndPoint() const OVERRIDE { return true; } | 437 virtual bool canContainRangeEndPoint() const OVERRIDE { return true; } |
438 | 438 |
439 // Used for disabled form elements; if true, prevents mouse events from bein
g dispatched | 439 // 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. | 440 // to event listeners, and prevents DOMActivate events from being sent at al
l. |
441 virtual bool isDisabledFormControl() const { return false; } | 441 virtual bool isDisabledFormControl() const { return false; } |
442 | 442 |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
852 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 852 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
853 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 853 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
854 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 854 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
855 { \ | 855 { \ |
856 return adoptRefWillBeNoop(new T(tagName, document)); \ | 856 return adoptRefWillBeNoop(new T(tagName, document)); \ |
857 } | 857 } |
858 | 858 |
859 } // namespace | 859 } // namespace |
860 | 860 |
861 #endif // Element_h | 861 #endif // Element_h |
OLD | NEW |