OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #include "views/controls/combobox/combobox.h" | 5 #include "views/controls/combobox/combobox.h" |
6 | 6 |
| 7 #include "base/logging.h" |
7 #include "views/controls/combobox/native_combobox_wrapper.h" | 8 #include "views/controls/combobox/native_combobox_wrapper.h" |
8 | 9 |
9 namespace views { | 10 namespace views { |
10 | 11 |
11 // static | 12 // static |
12 const char Combobox::kViewClassName[] = "views/Combobox"; | 13 const char Combobox::kViewClassName[] = "views/Combobox"; |
13 | 14 |
14 //////////////////////////////////////////////////////////////////////////////// | 15 //////////////////////////////////////////////////////////////////////////////// |
15 // Combobox, public: | 16 // Combobox, public: |
16 | 17 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 native_wrapper_->UpdateEnabled(); | 96 native_wrapper_->UpdateEnabled(); |
96 AddChildView(native_wrapper_->GetView()); | 97 AddChildView(native_wrapper_->GetView()); |
97 } | 98 } |
98 } | 99 } |
99 | 100 |
100 std::string Combobox::GetClassName() const { | 101 std::string Combobox::GetClassName() const { |
101 return kViewClassName; | 102 return kViewClassName; |
102 } | 103 } |
103 | 104 |
104 } // namespace views | 105 } // namespace views |
OLD | NEW |