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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 110 |
111 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 111 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
112 virtual void requiredAttributeChanged(); | 112 virtual void requiredAttributeChanged(); |
113 virtual void disabledAttributeChanged(); | 113 virtual void disabledAttributeChanged(); |
114 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 114 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
115 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 115 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
116 virtual void removedFrom(ContainerNode*) OVERRIDE; | 116 virtual void removedFrom(ContainerNode*) OVERRIDE; |
117 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; | 117 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; |
118 | 118 |
119 virtual bool supportsFocus() const OVERRIDE; | 119 virtual bool supportsFocus() const OVERRIDE; |
120 virtual bool rendererIsFocusable() const OVERRIDE; | |
121 virtual bool isKeyboardFocusable() const OVERRIDE; | 120 virtual bool isKeyboardFocusable() const OVERRIDE; |
122 virtual bool shouldShowFocusRingOnMouseFocus() const; | 121 virtual bool shouldShowFocusRingOnMouseFocus() const; |
123 virtual bool shouldHaveFocusAppearance() const OVERRIDE; | 122 virtual bool shouldHaveFocusAppearance() const OVERRIDE; |
124 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusDirection)
OVERRIDE; | 123 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusDirection)
OVERRIDE; |
125 virtual void dispatchBlurEvent(Element* newFocusedElement) OVERRIDE; | 124 virtual void dispatchBlurEvent(Element* newFocusedElement) OVERRIDE; |
126 virtual void willCallDefaultEventHandler(const Event&) OVERRIDE; | 125 virtual void willCallDefaultEventHandler(const Event&) OVERRIDE; |
127 | 126 |
128 virtual void didRecalcStyle(StyleChange) OVERRIDE; | 127 virtual void didRecalcStyle(StyleChange) OVERRIDE; |
129 | 128 |
130 // This must be called any time the result of willValidate() has changed. | 129 // This must be called any time the result of willValidate() has changed. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 178 |
180 inline HTMLFormControlElement* toHTMLFormControlElement(FormAssociatedElement* c
ontrol) | 179 inline HTMLFormControlElement* toHTMLFormControlElement(FormAssociatedElement* c
ontrol) |
181 { | 180 { |
182 ASSERT_WITH_SECURITY_IMPLICATION(!control || control->isFormControlElement()
); | 181 ASSERT_WITH_SECURITY_IMPLICATION(!control || control->isFormControlElement()
); |
183 return static_cast<HTMLFormControlElement*>(control); | 182 return static_cast<HTMLFormControlElement*>(control); |
184 } | 183 } |
185 | 184 |
186 } // namespace | 185 } // namespace |
187 | 186 |
188 #endif | 187 #endif |
OLD | NEW |