| 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) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS
tring&) override; | 55 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS
tring&) override; |
| 56 bool isPresentationAttribute(const QualifiedName&) const override; | 56 bool isPresentationAttribute(const QualifiedName&) const override; |
| 57 void defaultEventHandler(Event*) override; | 57 void defaultEventHandler(Event*) override; |
| 58 | 58 |
| 59 void appendToFormData(FormData&) override; | 59 void appendToFormData(FormData&) override; |
| 60 | 60 |
| 61 bool isEnumeratable() const override { return true; } | 61 bool isEnumeratable() const override { return true; } |
| 62 bool supportLabels() const override { return true; } | 62 bool supportLabels() const override { return true; } |
| 63 bool isInteractiveContent() const override; | 63 bool isInteractiveContent() const override; |
| 64 bool supportsAutofocus() const override; | 64 bool supportsAutofocus() const override; |
| 65 bool matchesDefaultPseudoClass() const override; |
| 65 | 66 |
| 66 bool canBeSuccessfulSubmitButton() const override; | 67 bool canBeSuccessfulSubmitButton() const override; |
| 67 bool isActivatedSubmit() const override; | 68 bool isActivatedSubmit() const override; |
| 68 void setActivatedSubmit(bool flag) override; | 69 void setActivatedSubmit(bool flag) override; |
| 69 | 70 |
| 70 void accessKeyAction(bool sendMouseEvents) override; | 71 void accessKeyAction(bool sendMouseEvents) override; |
| 71 bool isURLAttribute(const Attribute&) const override; | 72 bool isURLAttribute(const Attribute&) const override; |
| 72 | 73 |
| 73 bool canStartSelection() const override { return false; } | 74 bool canStartSelection() const override { return false; } |
| 74 | 75 |
| 75 bool isOptionalFormControl() const override { return true; } | 76 bool isOptionalFormControl() const override { return true; } |
| 76 bool recalcWillValidate() const override; | 77 bool recalcWillValidate() const override; |
| 77 | 78 |
| 78 Type m_type; | 79 Type m_type; |
| 79 bool m_isActivatedSubmit; | 80 bool m_isActivatedSubmit; |
| 80 }; | 81 }; |
| 81 | 82 |
| 82 } // namespace blink | 83 } // namespace blink |
| 83 | 84 |
| 84 #endif // HTMLButtonElement_h | 85 #endif // HTMLButtonElement_h |
| OLD | NEW |