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 Apple Inc.
All rights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 static bool isMathMLElement() { return false; } | 361 static bool isMathMLElement() { return false; } |
362 #endif | 362 #endif |
363 | 363 |
364 #if ENABLE(VIDEO) | 364 #if ENABLE(VIDEO) |
365 virtual bool isMediaElement() const { return false; } | 365 virtual bool isMediaElement() const { return false; } |
366 #endif | 366 #endif |
367 | 367 |
368 #if ENABLE(INPUT_SPEECH) | 368 #if ENABLE(INPUT_SPEECH) |
369 virtual bool isInputFieldSpeechButtonElement() const { return false; } | 369 virtual bool isInputFieldSpeechButtonElement() const { return false; } |
370 #endif | 370 #endif |
| 371 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| 372 virtual bool isDateTimeFieldElement() const; |
| 373 #endif |
371 | 374 |
372 virtual bool isFormControlElement() const { return false; } | 375 virtual bool isFormControlElement() const { return false; } |
373 virtual bool isEnabledFormControl() const { return true; } | 376 virtual bool isEnabledFormControl() const { return true; } |
374 virtual bool isSpinButtonElement() const { return false; } | 377 virtual bool isSpinButtonElement() const { return false; } |
375 virtual bool isTextFormControl() const { return false; } | 378 virtual bool isTextFormControl() const { return false; } |
376 virtual bool isOptionalFormControl() const { return false; } | 379 virtual bool isOptionalFormControl() const { return false; } |
377 virtual bool isRequiredFormControl() const { return false; } | 380 virtual bool isRequiredFormControl() const { return false; } |
378 virtual bool isDefaultButtonForForm() const { return false; } | 381 virtual bool isDefaultButtonForForm() const { return false; } |
379 virtual bool willValidate() const { return false; } | 382 virtual bool willValidate() const { return false; } |
380 virtual bool isValidFormControlElement() { return false; } | 383 virtual bool isValidFormControlElement() { return false; } |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 } | 783 } |
781 | 784 |
782 inline bool isShadowHost(const Node* node) | 785 inline bool isShadowHost(const Node* node) |
783 { | 786 { |
784 return node && node->isElementNode() && toElement(node)->shadow(); | 787 return node && node->isElementNode() && toElement(node)->shadow(); |
785 } | 788 } |
786 | 789 |
787 } // namespace | 790 } // namespace |
788 | 791 |
789 #endif | 792 #endif |
OLD | NEW |