OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 UI_VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_GTK_H_ |
6 #define VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_GTK_H_ | 6 #define UI_VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ui/base/gtk/gtk_signal.h" | 9 #include "ui/base/gtk/gtk_signal.h" |
10 #include "views/controls/combobox/native_combobox_wrapper.h" | 10 #include "ui/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(); |
20 | 20 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 GtkMenu* menu_; | 54 GtkMenu* menu_; |
55 | 55 |
56 // The preferred size from the last size_request. | 56 // The preferred size from the last size_request. |
57 gfx::Size preferred_size_; | 57 gfx::Size preferred_size_; |
58 | 58 |
59 DISALLOW_COPY_AND_ASSIGN(NativeComboboxGtk); | 59 DISALLOW_COPY_AND_ASSIGN(NativeComboboxGtk); |
60 }; | 60 }; |
61 | 61 |
62 } // namespace views | 62 } // namespace views |
63 | 63 |
64 #endif // VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_GTK_H_ | 64 #endif // UI_VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_GTK_H_ |
OLD | NEW |