| 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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 virtual bool isFormControlElement() const { return false; } | 643 virtual bool isFormControlElement() const { return false; } |
| 644 virtual bool isSpinButtonElement() const { return false; } | 644 virtual bool isSpinButtonElement() const { return false; } |
| 645 virtual bool isTextControl() const { return false; } | 645 virtual bool isTextControl() const { return false; } |
| 646 virtual bool isOptionalFormControl() const { return false; } | 646 virtual bool isOptionalFormControl() const { return false; } |
| 647 virtual bool isRequiredFormControl() const { return false; } | 647 virtual bool isRequiredFormControl() const { return false; } |
| 648 virtual bool willValidate() const { return false; } | 648 virtual bool willValidate() const { return false; } |
| 649 virtual bool isValidElement() { return false; } | 649 virtual bool isValidElement() { return false; } |
| 650 virtual bool isInRange() const { return false; } | 650 virtual bool isInRange() const { return false; } |
| 651 virtual bool isOutOfRange() const { return false; } | 651 virtual bool isOutOfRange() const { return false; } |
| 652 virtual bool isClearButtonElement() const { return false; } | 652 virtual bool isClearButtonElement() const { return false; } |
| 653 virtual bool isScriptElement() const { return false; } |
| 653 | 654 |
| 654 bool canContainRangeEndPoint() const override { return true; } | 655 bool canContainRangeEndPoint() const override { return true; } |
| 655 | 656 |
| 656 // Used for disabled form elements; if true, prevents mouse events from being | 657 // Used for disabled form elements; if true, prevents mouse events from being |
| 657 // dispatched to event listeners, and prevents DOMActivate events from being | 658 // dispatched to event listeners, and prevents DOMActivate events from being |
| 658 // sent at all. | 659 // sent at all. |
| 659 virtual bool isDisabledFormControl() const { return false; } | 660 virtual bool isDisabledFormControl() const { return false; } |
| 660 | 661 |
| 661 bool hasPendingResources() const { | 662 bool hasPendingResources() const { |
| 662 return hasElementFlag(HasPendingResources); | 663 return hasElementFlag(HasPendingResources); |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1202 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1203 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1203 static T* create(const QualifiedName&, Document&) | 1204 static T* create(const QualifiedName&, Document&) |
| 1204 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1205 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1205 T* T::create(const QualifiedName& tagName, Document& document) { \ | 1206 T* T::create(const QualifiedName& tagName, Document& document) { \ |
| 1206 return new T(tagName, document); \ | 1207 return new T(tagName, document); \ |
| 1207 } | 1208 } |
| 1208 | 1209 |
| 1209 } // namespace blink | 1210 } // namespace blink |
| 1210 | 1211 |
| 1211 #endif // Element_h | 1212 #endif // Element_h |
| OLD | NEW |