| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 virtual bool isEnumeratable() const { return true; } | 91 virtual bool isEnumeratable() const { return true; } |
| 92 virtual bool supportLabels() const OVERRIDE { return true; } | 92 virtual bool supportLabels() const OVERRIDE { return true; } |
| 93 | 93 |
| 94 virtual const AtomicString& formControlType() const; | 94 virtual const AtomicString& formControlType() const; |
| 95 | 95 |
| 96 virtual FormControlState saveFormControlState() const OVERRIDE; | 96 virtual FormControlState saveFormControlState() const OVERRIDE; |
| 97 virtual void restoreFormControlState(const FormControlState&) OVERRIDE; | 97 virtual void restoreFormControlState(const FormControlState&) OVERRIDE; |
| 98 | 98 |
| 99 virtual bool isTextFormControl() const { return true; } | 99 virtual bool isTextFormControl() const { return true; } |
| 100 | 100 |
| 101 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 101 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); |
| 102 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 102 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 103 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 103 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
| 104 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, Handle<MutableStylePropertySet>) OVERRIDE; | 104 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, Handle<MutableStylePropertySet>) OVERRIDE; |
| 105 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 105 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
| 106 virtual bool appendFormData(FormDataList&, bool); | 106 virtual bool appendFormData(FormDataList&, bool); |
| 107 virtual void reset(); | 107 virtual void reset(); |
| 108 virtual bool hasCustomFocusLogic() const OVERRIDE; | 108 virtual bool hasCustomFocusLogic() const OVERRIDE; |
| 109 virtual bool isMouseFocusable() const; | 109 virtual bool isMouseFocusable() const; |
| 110 virtual bool isKeyboardFocusable(KeyboardEvent*) const; | 110 virtual bool isKeyboardFocusable(KeyboardEvent*) const; |
| 111 virtual void updateFocusAppearance(bool restorePreviousSelection); | 111 virtual void updateFocusAppearance(bool restorePreviousSelection); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 inline bool isHTMLTextAreaElement(Node* node) | 132 inline bool isHTMLTextAreaElement(Node* node) |
| 133 { | 133 { |
| 134 return node->hasTagName(HTMLNames::textareaTag); | 134 return node->hasTagName(HTMLNames::textareaTag); |
| 135 } | 135 } |
| 136 | 136 |
| 137 } //namespace | 137 } //namespace |
| 138 | 138 |
| 139 #endif | 139 #endif |
| OLD | NEW |