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 | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
6 * reserved. | 6 * 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 virtual bool shouldShowFocusRingOnMouseFocus() const; | 154 virtual bool shouldShowFocusRingOnMouseFocus() const; |
155 bool shouldHaveFocusAppearance() const final; | 155 bool shouldHaveFocusAppearance() const final; |
156 void dispatchBlurEvent(Element* newFocusedElement, | 156 void dispatchBlurEvent(Element* newFocusedElement, |
157 WebFocusType, | 157 WebFocusType, |
158 InputDeviceCapabilities* sourceCapabilities) override; | 158 InputDeviceCapabilities* sourceCapabilities) override; |
159 void dispatchFocusEvent(Element* oldFocusedElement, | 159 void dispatchFocusEvent(Element* oldFocusedElement, |
160 WebFocusType, | 160 WebFocusType, |
161 InputDeviceCapabilities* sourceCapabilities) override; | 161 InputDeviceCapabilities* sourceCapabilities) override; |
162 void willCallDefaultEventHandler(const Event&) final; | 162 void willCallDefaultEventHandler(const Event&) final; |
163 | 163 |
164 void didRecalcStyle() override; | 164 void didRebuildLayoutTree() override; |
165 | 165 |
166 // This must be called any time the result of willValidate() has changed. | 166 // This must be called any time the result of willValidate() has changed. |
167 void setNeedsWillValidateCheck(); | 167 void setNeedsWillValidateCheck(); |
168 virtual bool recalcWillValidate() const; | 168 virtual bool recalcWillValidate() const; |
169 | 169 |
170 virtual void resetImpl() {} | 170 virtual void resetImpl() {} |
171 virtual bool supportsAutofocus() const; | 171 virtual bool supportsAutofocus() const; |
172 | 172 |
173 private: | 173 private: |
174 bool isFormControlElement() const final { return true; } | 174 bool isFormControlElement() const final { return true; } |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); | 220 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); |
221 DEFINE_TYPE_CASTS(HTMLFormControlElement, | 221 DEFINE_TYPE_CASTS(HTMLFormControlElement, |
222 ListedElement, | 222 ListedElement, |
223 control, | 223 control, |
224 control->isFormControlElement(), | 224 control->isFormControlElement(), |
225 control.isFormControlElement()); | 225 control.isFormControlElement()); |
226 | 226 |
227 } // namespace blink | 227 } // namespace blink |
228 | 228 |
229 #endif | 229 #endif |
OLD | NEW |