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, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 virtual void disabledAttributeChanged(); | 123 virtual void disabledAttributeChanged(); |
124 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 124 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
125 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 125 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
126 virtual void removedFrom(ContainerNode*) OVERRIDE; | 126 virtual void removedFrom(ContainerNode*) OVERRIDE; |
127 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; | 127 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; |
128 | 128 |
129 virtual bool supportsFocus() const OVERRIDE; | 129 virtual bool supportsFocus() const OVERRIDE; |
130 virtual bool isKeyboardFocusable() const OVERRIDE; | 130 virtual bool isKeyboardFocusable() const OVERRIDE; |
131 virtual bool shouldShowFocusRingOnMouseFocus() const; | 131 virtual bool shouldShowFocusRingOnMouseFocus() const; |
132 virtual bool shouldHaveFocusAppearance() const OVERRIDE FINAL; | 132 virtual bool shouldHaveFocusAppearance() const OVERRIDE FINAL; |
133 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) OVERR
IDE; | 133 virtual bool wasFocusedByMouse() const OVERRIDE; |
| 134 virtual void setWasFocusedByMouse(bool) OVERRIDE FINAL; |
134 virtual void dispatchBlurEvent(Element* newFocusedElement) OVERRIDE; | 135 virtual void dispatchBlurEvent(Element* newFocusedElement) OVERRIDE; |
135 virtual void willCallDefaultEventHandler(const Event&) OVERRIDE FINAL; | |
136 | 136 |
137 virtual void didRecalcStyle(StyleRecalcChange) OVERRIDE FINAL; | 137 virtual void didRecalcStyle(StyleRecalcChange) OVERRIDE FINAL; |
138 | 138 |
139 // This must be called any time the result of willValidate() has changed. | 139 // This must be called any time the result of willValidate() has changed. |
140 void setNeedsWillValidateCheck(); | 140 void setNeedsWillValidateCheck(); |
141 virtual bool recalcWillValidate() const; | 141 virtual bool recalcWillValidate() const; |
142 | 142 |
143 virtual void resetImpl() { } | 143 virtual void resetImpl() { } |
144 virtual bool supportsAutofocus() const; | 144 virtual bool supportsAutofocus() const; |
145 | 145 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 { | 190 { |
191 return element.isFormControlElement(); | 191 return element.isFormControlElement(); |
192 } | 192 } |
193 | 193 |
194 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); | 194 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); |
195 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro
l->isFormControlElement(), control.isFormControlElement()); | 195 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro
l->isFormControlElement(), control.isFormControlElement()); |
196 | 196 |
197 } // namespace | 197 } // namespace |
198 | 198 |
199 #endif | 199 #endif |
OLD | NEW |