| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 4 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 4 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 5 * (C) 2000 Dirk Mueller (mueller@kde.org) | 5 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights |
| 7 * reserved. | 7 * reserved. |
| 8 * Copyright (C) 2010 Google Inc. All rights reserved. | 8 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 DECLARE_VIRTUAL_TRACE(); | 172 DECLARE_VIRTUAL_TRACE(); |
| 173 | 173 |
| 174 protected: | 174 protected: |
| 175 explicit HTMLSelectElement(Document&); | 175 explicit HTMLSelectElement(Document&); |
| 176 | 176 |
| 177 private: | 177 private: |
| 178 const AtomicString& formControlType() const override; | 178 const AtomicString& formControlType() const override; |
| 179 | 179 |
| 180 bool shouldShowFocusRingOnMouseFocus() const override; | 180 bool shouldShowFocusRingOnMouseFocus() const override; |
| 181 | 181 |
| 182 void dispatchFocusEvent(Element* oldFocusedElement, | 182 void dispatchFocusEvent( |
| 183 WebFocusType, | 183 Element* oldFocusedElement, |
| 184 InputDeviceCapabilities* sourceCapabilities) override; | 184 WebFocusType, |
| 185 void dispatchBlurEvent(Element* newFocusedElement, | 185 const InputDeviceCapabilitiesValue& sourceCapabilities) override; |
| 186 WebFocusType, | 186 void dispatchBlurEvent( |
| 187 InputDeviceCapabilities* sourceCapabilities) override; | 187 Element* newFocusedElement, |
| 188 WebFocusType, |
| 189 const InputDeviceCapabilitiesValue& sourceCapabilities) override; |
| 188 | 190 |
| 189 bool canStartSelection() const override { return false; } | 191 bool canStartSelection() const override { return false; } |
| 190 | 192 |
| 191 bool isEnumeratable() const override { return true; } | 193 bool isEnumeratable() const override { return true; } |
| 192 bool isInteractiveContent() const override; | 194 bool isInteractiveContent() const override; |
| 193 bool supportsAutofocus() const override; | 195 bool supportsAutofocus() const override; |
| 194 bool supportLabels() const override { return true; } | 196 bool supportLabels() const override { return true; } |
| 195 | 197 |
| 196 FormControlState saveFormControlState() const override; | 198 FormControlState saveFormControlState() const override; |
| 197 void restoreFormControlState(const FormControlState&) override; | 199 void restoreFormControlState(const FormControlState&) override; |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 | 306 |
| 305 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, FirstSelectableOption); | 307 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, FirstSelectableOption); |
| 306 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, LastSelectableOption); | 308 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, LastSelectableOption); |
| 307 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, NextSelectableOption); | 309 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, NextSelectableOption); |
| 308 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, PreviousSelectableOption); | 310 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, PreviousSelectableOption); |
| 309 }; | 311 }; |
| 310 | 312 |
| 311 } // namespace blink | 313 } // namespace blink |
| 312 | 314 |
| 313 #endif // HTMLSelectElement_h | 315 #endif // HTMLSelectElement_h |
| OLD | NEW |