| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
| 2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
| 3 // LICENSE file. | 3 // LICENSE file. |
| 4 | 4 |
| 5 #ifndef VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_ | 5 #ifndef VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_ |
| 6 #define VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_ | 6 #define VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_ |
| 7 | 7 |
| 8 #include "gfx/native_widget_types.h" | 8 #include "gfx/native_widget_types.h" |
| 9 | 9 |
| 10 namespace gfx{ | 10 namespace gfx{ |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 // Retrieves the views::View that hosts the native control. | 39 // Retrieves the views::View that hosts the native control. |
| 40 virtual View* GetView() = 0; | 40 virtual View* GetView() = 0; |
| 41 | 41 |
| 42 // Sets the focus to the button. | 42 // Sets the focus to the button. |
| 43 virtual void SetFocus() = 0; | 43 virtual void SetFocus() = 0; |
| 44 | 44 |
| 45 // Returns a handle to the underlying native view for testing. | 45 // Returns a handle to the underlying native view for testing. |
| 46 virtual gfx::NativeView GetTestingHandle() const = 0; | 46 virtual gfx::NativeView GetTestingHandle() const = 0; |
| 47 | 47 |
| 48 static NativeComboboxWrapper* CreateWrapper(Combobox* combobox); | 48 static NativeComboboxWrapper* CreateWrapper(Combobox* combobox); |
| 49 |
| 50 protected: |
| 51 virtual ~NativeComboboxWrapper() {} |
| 49 }; | 52 }; |
| 50 | 53 |
| 51 } // namespace views | 54 } // namespace views |
| 52 | 55 |
| 53 #endif // VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_ | 56 #endif // VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_ |
| OLD | NEW |