OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ui/views/examples/examples_window.h" | 5 #include "ui/views/examples/examples_window.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
12 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
13 #include "ui/base/models/combobox_model.h" | 14 #include "ui/base/models/combobox_model.h" |
14 #include "ui/base/ui_base_paths.h" | 15 #include "ui/base/ui_base_paths.h" |
15 #include "ui/views/background.h" | 16 #include "ui/views/background.h" |
16 #include "ui/views/controls/combobox/combobox.h" | 17 #include "ui/views/controls/combobox/combobox.h" |
17 #include "ui/views/controls/label.h" | 18 #include "ui/views/controls/label.h" |
18 #include "ui/views/examples/bubble_example.h" | 19 #include "ui/views/examples/bubble_example.h" |
19 #include "ui/views/examples/button_example.h" | 20 #include "ui/views/examples/button_example.h" |
20 #include "ui/views/examples/checkbox_example.h" | 21 #include "ui/views/examples/checkbox_example.h" |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 widget->Show(); | 231 widget->Show(); |
231 } | 232 } |
232 } | 233 } |
233 | 234 |
234 void LogStatus(const std::string& string) { | 235 void LogStatus(const std::string& string) { |
235 ExamplesWindowContents::instance()->SetStatus(string); | 236 ExamplesWindowContents::instance()->SetStatus(string); |
236 } | 237 } |
237 | 238 |
238 } // namespace examples | 239 } // namespace examples |
239 } // namespace views | 240 } // namespace views |
OLD | NEW |