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 <iterator> | 8 #include <iterator> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
| 14 #include "base/message_loop/message_loop.h" |
14 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
15 #include "ui/base/l10n/l10n_util.h" | 16 #include "ui/base/l10n/l10n_util.h" |
16 #include "ui/base/models/combobox_model.h" | 17 #include "ui/base/models/combobox_model.h" |
17 #include "ui/base/ui_base_paths.h" | 18 #include "ui/base/ui_base_paths.h" |
18 #include "ui/views/background.h" | 19 #include "ui/views/background.h" |
19 #include "ui/views/controls/combobox/combobox.h" | 20 #include "ui/views/controls/combobox/combobox.h" |
20 #include "ui/views/controls/label.h" | 21 #include "ui/views/controls/label.h" |
21 #include "ui/views/examples/bubble_example.h" | 22 #include "ui/views/examples/bubble_example.h" |
22 #include "ui/views/examples/button_example.h" | 23 #include "ui/views/examples/button_example.h" |
23 #include "ui/views/examples/button_sticker_sheet.h" | 24 #include "ui/views/examples/button_sticker_sheet.h" |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 widget->Show(); | 233 widget->Show(); |
233 } | 234 } |
234 } | 235 } |
235 | 236 |
236 void LogStatus(const std::string& string) { | 237 void LogStatus(const std::string& string) { |
237 ExamplesWindowContents::instance()->SetStatus(string); | 238 ExamplesWindowContents::instance()->SetStatus(string); |
238 } | 239 } |
239 | 240 |
240 } // namespace examples | 241 } // namespace examples |
241 } // namespace views | 242 } // namespace views |
OLD | NEW |