| 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_NATIVE_COMBOBOX_GTK_H_ | 5 #ifndef VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_GTK_H_ |
| 6 #define VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_GTK_H_ | 6 #define VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "app/gtk_signal.h" | 9 #include "ui/base/gtk/gtk_signal.h" |
| 10 #include "views/controls/combobox/native_combobox_wrapper.h" | 10 #include "views/controls/combobox/native_combobox_wrapper.h" |
| 11 #include "views/controls/native_control_gtk.h" | 11 #include "views/controls/native_control_gtk.h" |
| 12 | 12 |
| 13 namespace views { | 13 namespace views { |
| 14 | 14 |
| 15 class NativeComboboxGtk : public NativeControlGtk, | 15 class NativeComboboxGtk : public NativeControlGtk, |
| 16 public NativeComboboxWrapper { | 16 public NativeComboboxWrapper { |
| 17 public: | 17 public: |
| 18 explicit NativeComboboxGtk(Combobox* combobox); | 18 explicit NativeComboboxGtk(Combobox* combobox); |
| 19 virtual ~NativeComboboxGtk(); | 19 virtual ~NativeComboboxGtk(); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 45 // The preferred size from the last size_request. See | 45 // The preferred size from the last size_request. See |
| 46 // NativeButtonGtk::preferred_size_ for more detail why we need this. | 46 // NativeButtonGtk::preferred_size_ for more detail why we need this. |
| 47 gfx::Size preferred_size_; | 47 gfx::Size preferred_size_; |
| 48 | 48 |
| 49 DISALLOW_COPY_AND_ASSIGN(NativeComboboxGtk); | 49 DISALLOW_COPY_AND_ASSIGN(NativeComboboxGtk); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace views | 52 } // namespace views |
| 53 | 53 |
| 54 #endif // VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_GTK_H_ | 54 #endif // VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_GTK_H_ |
| OLD | NEW |