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/bind.h" | 6 #include "base/bind.h" |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/i18n/icu_util.h" | 8 #include "base/i18n/icu_util.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/string_split.h" | 11 #include "base/string_split.h" |
12 #include "base/time.h" | 12 #include "base/time.h" |
13 #include "third_party/khronos/GLES2/gl2.h" | 13 #include "third_party/khronos/GLES2/gl2.h" |
14 #include "third_party/skia/include/core/SkXfermode.h" | 14 #include "third_party/skia/include/core/SkXfermode.h" |
15 #include "ui/aura/env.h" | 15 #include "ui/aura/env.h" |
16 #include "ui/aura/event.h" | |
17 #include "ui/aura/root_window.h" | 16 #include "ui/aura/root_window.h" |
18 #include "ui/aura/single_display_manager.h" | 17 #include "ui/aura/single_display_manager.h" |
19 #include "ui/aura/shared/root_window_capture_client.h" | 18 #include "ui/aura/shared/root_window_capture_client.h" |
20 #include "ui/aura/window.h" | 19 #include "ui/aura/window.h" |
21 #include "ui/base/hit_test.h" | 20 #include "ui/base/hit_test.h" |
22 #include "ui/base/resource/resource_bundle.h" | 21 #include "ui/base/resource/resource_bundle.h" |
23 #include "ui/base/ui_base_paths.h" | 22 #include "ui/base/ui_base_paths.h" |
24 #include "ui/compositor/compositor.h" | 23 #include "ui/compositor/compositor.h" |
25 #include "ui/compositor/compositor_observer.h" | 24 #include "ui/compositor/compositor_observer.h" |
26 #include "ui/compositor/debug_utils.h" | 25 #include "ui/compositor/debug_utils.h" |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 #endif | 341 #endif |
343 | 342 |
344 root_window->ShowRootWindow(); | 343 root_window->ShowRootWindow(); |
345 MessageLoopForUI::current()->Run(); | 344 MessageLoopForUI::current()->Run(); |
346 root_window.reset(); | 345 root_window.reset(); |
347 | 346 |
348 ui::CompositorTestSupport::Terminate(); | 347 ui::CompositorTestSupport::Terminate(); |
349 | 348 |
350 return 0; | 349 return 0; |
351 } | 350 } |
OLD | NEW |