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 "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/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "third_party/skia/include/core/SkXfermode.h" | 10 #include "third_party/skia/include/core/SkXfermode.h" |
11 #include "ui/aura/client/default_capture_client.h" | 11 #include "ui/aura/client/default_capture_client.h" |
12 #include "ui/aura/client/window_tree_client.h" | 12 #include "ui/aura/client/window_tree_client.h" |
13 #include "ui/aura/env.h" | 13 #include "ui/aura/env.h" |
14 #include "ui/aura/test/test_focus_client.h" | 14 #include "ui/aura/test/test_focus_client.h" |
15 #include "ui/aura/test/test_screen.h" | 15 #include "ui/aura/test/test_screen.h" |
16 #include "ui/aura/window.h" | 16 #include "ui/aura/window.h" |
17 #include "ui/aura/window_delegate.h" | 17 #include "ui/aura/window_delegate.h" |
18 #include "ui/aura/window_tree_host.h" | 18 #include "ui/aura/window_tree_host.h" |
19 #include "ui/base/hit_test.h" | 19 #include "ui/base/hit_test.h" |
20 #include "ui/compositor/test/in_process_context_factory.h" | 20 #include "ui/compositor/test/in_process_context_factory.h" |
21 #include "ui/events/event.h" | 21 #include "ui/events/event.h" |
22 #include "ui/gfx/canvas.h" | 22 #include "ui/gfx/canvas.h" |
23 #include "ui/gfx/rect.h" | 23 #include "ui/gfx/geometry/rect.h" |
24 #include "ui/gl/gl_surface.h" | 24 #include "ui/gl/gl_surface.h" |
25 | 25 |
26 #if defined(USE_X11) | 26 #if defined(USE_X11) |
27 #include "ui/gfx/x/x11_connection.h" | 27 #include "ui/gfx/x/x11_connection.h" |
28 #endif | 28 #endif |
29 | 29 |
30 #if defined(OS_WIN) | 30 #if defined(OS_WIN) |
31 #include "ui/gfx/win/dpi.h" | 31 #include "ui/gfx/win/dpi.h" |
32 #endif | 32 #endif |
33 | 33 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 int main(int argc, char** argv) { | 172 int main(int argc, char** argv) { |
173 base::CommandLine::Init(argc, argv); | 173 base::CommandLine::Init(argc, argv); |
174 | 174 |
175 // The exit manager is in charge of calling the dtors of singleton objects. | 175 // The exit manager is in charge of calling the dtors of singleton objects. |
176 base::AtExitManager exit_manager; | 176 base::AtExitManager exit_manager; |
177 | 177 |
178 base::i18n::InitializeICU(); | 178 base::i18n::InitializeICU(); |
179 | 179 |
180 return DemoMain(); | 180 return DemoMain(); |
181 } | 181 } |
OLD | NEW |