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, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e Inc. All rights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e 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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 | 432 |
433 virtual bool matchesReadOnlyPseudoClass() const { return false; } | 433 virtual bool matchesReadOnlyPseudoClass() const { return false; } |
434 virtual bool matchesReadWritePseudoClass() const { return false; } | 434 virtual bool matchesReadWritePseudoClass() const { return false; } |
435 bool matches(const String& selectors, ExceptionState&); | 435 bool matches(const String& selectors, ExceptionState&); |
436 virtual bool shouldAppearIndeterminate() const { return false; } | 436 virtual bool shouldAppearIndeterminate() const { return false; } |
437 | 437 |
438 DOMTokenList& classList(); | 438 DOMTokenList& classList(); |
439 | 439 |
440 DOMStringMap& dataset(); | 440 DOMStringMap& dataset(); |
441 | 441 |
442 virtual bool isMediaElement() const { return false; } | |
443 | |
444 #if ENABLE(INPUT_SPEECH) | 442 #if ENABLE(INPUT_SPEECH) |
445 virtual bool isInputFieldSpeechButtonElement() const { return false; } | 443 virtual bool isInputFieldSpeechButtonElement() const { return false; } |
446 #endif | 444 #endif |
447 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 445 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
448 virtual bool isDateTimeEditElement() const { return false; } | 446 virtual bool isDateTimeEditElement() const { return false; } |
449 virtual bool isDateTimeFieldElement() const { return false; } | 447 virtual bool isDateTimeFieldElement() const { return false; } |
450 virtual bool isPickerIndicatorElement() const { return false; } | 448 virtual bool isPickerIndicatorElement() const { return false; } |
451 #endif | 449 #endif |
452 | 450 |
453 virtual bool isFormControlElement() const { return false; } | 451 virtual bool isFormControlElement() const { return false; } |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
894 template <> inline bool isElementOfType<const thisType>(const Element& eleme
nt) { return element.predicate; } \ | 892 template <> inline bool isElementOfType<const thisType>(const Element& eleme
nt) { return element.predicate; } \ |
895 DEFINE_NODE_TYPE_CASTS(thisType, predicate) | 893 DEFINE_NODE_TYPE_CASTS(thisType, predicate) |
896 | 894 |
897 #define DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) \ | 895 #define DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) \ |
898 template <> inline bool isElementOfType<const thisType>(const Element& eleme
nt) { return is##thisType(element); } \ | 896 template <> inline bool isElementOfType<const thisType>(const Element& eleme
nt) { return is##thisType(element); } \ |
899 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(thisType) | 897 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(thisType) |
900 | 898 |
901 } // namespace | 899 } // namespace |
902 | 900 |
903 #endif | 901 #endif |
OLD | NEW |