| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VIEWS_CONTROLS_COMBOBOX_COMBOBOX_H_ | 5 #ifndef VIEWS_CONTROLS_COMBOBOX_COMBOBOX_H_ |
| 6 #define VIEWS_CONTROLS_COMBOBOX_COMBOBOX_H_ | 6 #define VIEWS_CONTROLS_COMBOBOX_COMBOBOX_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "views/view.h" | 10 #include "views/view.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 private: | 72 private: |
| 73 // Our model. | 73 // Our model. |
| 74 ComboboxModel* model_; | 74 ComboboxModel* model_; |
| 75 | 75 |
| 76 // Item change listener. | 76 // Item change listener. |
| 77 Listener* listener_; | 77 Listener* listener_; |
| 78 | 78 |
| 79 // The current selection. | 79 // The current selection. |
| 80 int selected_item_; | 80 int selected_item_; |
| 81 | 81 |
| 82 // The accessible name of this control. | |
| 83 std::wstring accessible_name_; | |
| 84 | |
| 85 DISALLOW_COPY_AND_ASSIGN(Combobox); | 82 DISALLOW_COPY_AND_ASSIGN(Combobox); |
| 86 }; | 83 }; |
| 87 | 84 |
| 88 } // namespace views | 85 } // namespace views |
| 89 | 86 |
| 90 #endif // VIEWS_CONTROLS_COMBOBOX_COMBOBOX_H_ | 87 #endif // VIEWS_CONTROLS_COMBOBOX_COMBOBOX_H_ |
| OLD | NEW |