| 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
reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights
reserved. |
| 7 * Copyright (C) 2010 Google Inc. All rights reserved. | 7 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 void popupDidCancel(); | 146 void popupDidCancel(); |
| 147 // Provisional selection is a selection made using arrow keys or type ahead. | 147 // Provisional selection is a selection made using arrow keys or type ahead. |
| 148 void provisionalSelectionChanged(unsigned); | 148 void provisionalSelectionChanged(unsigned); |
| 149 void popupDidHide(); | 149 void popupDidHide(); |
| 150 bool popupIsVisible() const { return m_popupIsVisible; } | 150 bool popupIsVisible() const { return m_popupIsVisible; } |
| 151 int optionIndexToBeShown() const; | 151 int optionIndexToBeShown() const; |
| 152 void showPopup(); | 152 void showPopup(); |
| 153 void hidePopup(); | 153 void hidePopup(); |
| 154 PopupMenu* popup() const { return m_popup.get(); } | 154 PopupMenu* popup() const { return m_popup.get(); } |
| 155 | 155 |
| 156 void resetTypeAheadSessionForTesting(); |
| 157 |
| 156 DECLARE_VIRTUAL_TRACE(); | 158 DECLARE_VIRTUAL_TRACE(); |
| 157 | 159 |
| 158 protected: | 160 protected: |
| 159 HTMLSelectElement(Document&, HTMLFormElement*); | 161 HTMLSelectElement(Document&, HTMLFormElement*); |
| 160 | 162 |
| 161 private: | 163 private: |
| 162 void willRecalcStyle(StyleRecalcChange) override; | 164 void willRecalcStyle(StyleRecalcChange) override; |
| 163 | 165 |
| 164 const AtomicString& formControlType() const override; | 166 const AtomicString& formControlType() const override; |
| 165 | 167 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 bool m_isAutofilledByPreview; | 265 bool m_isAutofilledByPreview; |
| 264 | 266 |
| 265 RefPtrWillBeMember<PopupMenu> m_popup; | 267 RefPtrWillBeMember<PopupMenu> m_popup; |
| 266 int m_indexToSelectOnCancel; | 268 int m_indexToSelectOnCancel; |
| 267 bool m_popupIsVisible; | 269 bool m_popupIsVisible; |
| 268 }; | 270 }; |
| 269 | 271 |
| 270 } // namespace blink | 272 } // namespace blink |
| 271 | 273 |
| 272 #endif // HTMLSelectElement_h | 274 #endif // HTMLSelectElement_h |
| OLD | NEW |