| 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 "base/at_exit.h" | 5 #include "base/at_exit.h" |
| 6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
| 7 #include "base/i18n/icu_util.h" | 7 #include "base/i18n/icu_util.h" |
| 8 #include "base/process_util.h" | 8 #include "base/process_util.h" |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "ui/base/resource/resource_bundle.h" | 10 #include "ui/base/resource/resource_bundle.h" |
| 11 #include "ui/base/ui_base_paths.h" | 11 #include "ui/base/ui_base_paths.h" |
| 12 #include "views/desktop/desktop_views_delegate.h" | 12 #include "ui/views/desktop/desktop_views_delegate.h" |
| 13 #include "views/desktop/desktop_window_view.h" | 13 #include "ui/views/desktop/desktop_window_view.h" |
| 14 #include "views/focus/accelerator_handler.h" | 14 #include "views/focus/accelerator_handler.h" |
| 15 #include "views/widget/widget.h" | 15 #include "views/widget/widget.h" |
| 16 | 16 |
| 17 #if defined(OS_WIN) | 17 #if defined(OS_WIN) |
| 18 #include <ole2.h> | 18 #include <ole2.h> |
| 19 #endif | 19 #endif |
| 20 | 20 |
| 21 #if defined(USE_WAYLAND) | 21 #if defined(USE_WAYLAND) |
| 22 #include "ui/gfx/gl/gl_surface_egl.h" | 22 #include "ui/gfx/gl/gl_surface_egl.h" |
| 23 #include "ui/wayland/wayland_display.h" | 23 #include "ui/wayland/wayland_display.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 gfx::Rect(600, 450, 450, 300), false); | 81 gfx::Rect(600, 450, 450, 300), false); |
| 82 | 82 |
| 83 views::AcceleratorHandler accelerator_handler; | 83 views::AcceleratorHandler accelerator_handler; |
| 84 MessageLoopForUI::current()->RunWithDispatcher(&accelerator_handler); | 84 MessageLoopForUI::current()->RunWithDispatcher(&accelerator_handler); |
| 85 | 85 |
| 86 #if defined(OS_WIN) | 86 #if defined(OS_WIN) |
| 87 OleUninitialize(); | 87 OleUninitialize(); |
| 88 #endif | 88 #endif |
| 89 return 0; | 89 return 0; |
| 90 } | 90 } |
| OLD | NEW |