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_WIN_H_ | 5 #ifndef UI_VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WIN_H_ |
6 #define VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WIN_H_ | 6 #define UI_VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "views/controls/combobox/native_combobox_wrapper.h" | 9 #include "ui/views/controls/combobox/native_combobox_wrapper.h" |
10 #include "views/controls/native_control_win.h" | 10 #include "views/controls/native_control_win.h" |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 | 13 |
14 class NativeComboboxWin : public NativeControlWin, | 14 class NativeComboboxWin : public NativeControlWin, |
15 public NativeComboboxWrapper { | 15 public NativeComboboxWrapper { |
16 public: | 16 public: |
17 explicit NativeComboboxWin(Combobox* combobox); | 17 explicit NativeComboboxWin(Combobox* combobox); |
18 virtual ~NativeComboboxWin(); | 18 virtual ~NativeComboboxWin(); |
19 | 19 |
(...skipping 28 matching lines...) Expand all Loading... |
48 Combobox* combobox_; | 48 Combobox* combobox_; |
49 | 49 |
50 // The min width, in pixels, for the text content. | 50 // The min width, in pixels, for the text content. |
51 int content_width_; | 51 int content_width_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(NativeComboboxWin); | 53 DISALLOW_COPY_AND_ASSIGN(NativeComboboxWin); |
54 }; | 54 }; |
55 | 55 |
56 } // namespace views | 56 } // namespace views |
57 | 57 |
58 #endif // VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WIN_H_ | 58 #endif // UI_VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WIN_H_ |
OLD | NEW |