| 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 #include "ui/views/examples/examples_main.h" | 5 #include "ui/views/examples/examples_main.h" |
| 6 | 6 |
| 7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/i18n/icu_util.h" | 9 #include "base/i18n/icu_util.h" |
| 10 #include "base/process_util.h" | 10 #include "base/process_util.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "ui/views/examples/single_split_view_example.h" | 27 #include "ui/views/examples/single_split_view_example.h" |
| 28 #include "ui/views/examples/tabbed_pane_example.h" | 28 #include "ui/views/examples/tabbed_pane_example.h" |
| 29 #include "ui/views/examples/table2_example.h" | 29 #include "ui/views/examples/table2_example.h" |
| 30 #include "ui/views/examples/text_example.h" | 30 #include "ui/views/examples/text_example.h" |
| 31 #include "ui/views/examples/textfield_example.h" | 31 #include "ui/views/examples/textfield_example.h" |
| 32 #include "ui/views/examples/throbber_example.h" | 32 #include "ui/views/examples/throbber_example.h" |
| 33 #include "ui/views/examples/widget_example.h" | 33 #include "ui/views/examples/widget_example.h" |
| 34 #include "ui/views/focus/accelerator_handler.h" | 34 #include "ui/views/focus/accelerator_handler.h" |
| 35 #include "ui/views/layout/grid_layout.h" | 35 #include "ui/views/layout/grid_layout.h" |
| 36 #include "ui/views/test/test_views_delegate.h" | 36 #include "ui/views/test/test_views_delegate.h" |
| 37 #include "ui/views/widget/widget.h" | |
| 38 #include "views/controls/button/text_button.h" | 37 #include "views/controls/button/text_button.h" |
| 39 #include "views/controls/label.h" | 38 #include "views/controls/label.h" |
| 40 #include "views/controls/tabbed_pane/tabbed_pane.h" | 39 #include "views/controls/tabbed_pane/tabbed_pane.h" |
| 40 #include "views/widget/widget.h" |
| 41 | 41 |
| 42 #if defined(OS_WIN) | 42 #if defined(OS_WIN) |
| 43 // TableView is not yet ported to Linux. | 43 // TableView is not yet ported to Linux. |
| 44 #include "ui/views/examples/table_example.h" | 44 #include "ui/views/examples/table_example.h" |
| 45 #endif | 45 #endif |
| 46 | 46 |
| 47 namespace examples { | 47 namespace examples { |
| 48 | 48 |
| 49 ExamplesMain::ExamplesMain() | 49 ExamplesMain::ExamplesMain() |
| 50 : tabbed_pane_(NULL), | 50 : tabbed_pane_(NULL), |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 main.Init(); | 185 main.Init(); |
| 186 | 186 |
| 187 views::AcceleratorHandler accelerator_handler; | 187 views::AcceleratorHandler accelerator_handler; |
| 188 MessageLoopForUI::current()->RunWithDispatcher(&accelerator_handler); | 188 MessageLoopForUI::current()->RunWithDispatcher(&accelerator_handler); |
| 189 | 189 |
| 190 #if defined(OS_WIN) | 190 #if defined(OS_WIN) |
| 191 OleUninitialize(); | 191 OleUninitialize(); |
| 192 #endif | 192 #endif |
| 193 return 0; | 193 return 0; |
| 194 } | 194 } |
| OLD | NEW |