| 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 #if defined(USE_X11) | 5 #if defined(USE_X11) |
| 6 #include <X11/Xlib.h> | 6 #include <X11/Xlib.h> |
| 7 #endif | 7 #endif |
| 8 | 8 |
| 9 #include "base/at_exit.h" | 9 #include "base/at_exit.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "ui/aura/test/test_screen.h" | 24 #include "ui/aura/test/test_screen.h" |
| 25 #include "ui/aura/window.h" | 25 #include "ui/aura/window.h" |
| 26 #include "ui/aura/window_tree_host.h" | 26 #include "ui/aura/window_tree_host.h" |
| 27 #include "ui/base/hit_test.h" | 27 #include "ui/base/hit_test.h" |
| 28 #include "ui/compositor/compositor.h" | 28 #include "ui/compositor/compositor.h" |
| 29 #include "ui/compositor/compositor_observer.h" | 29 #include "ui/compositor/compositor_observer.h" |
| 30 #include "ui/compositor/debug_utils.h" | 30 #include "ui/compositor/debug_utils.h" |
| 31 #include "ui/compositor/layer.h" | 31 #include "ui/compositor/layer.h" |
| 32 #include "ui/compositor/test/in_process_context_factory.h" | 32 #include "ui/compositor/test/in_process_context_factory.h" |
| 33 #include "ui/gfx/canvas.h" | 33 #include "ui/gfx/canvas.h" |
| 34 #include "ui/gfx/rect.h" | 34 #include "ui/gfx/geometry/rect.h" |
| 35 #include "ui/gfx/skia_util.h" | 35 #include "ui/gfx/skia_util.h" |
| 36 #include "ui/gfx/x/x11_connection.h" | 36 #include "ui/gfx/x/x11_connection.h" |
| 37 #include "ui/gl/gl_surface.h" | 37 #include "ui/gl/gl_surface.h" |
| 38 | 38 |
| 39 #ifndef GL_GLEXT_PROTOTYPES | 39 #ifndef GL_GLEXT_PROTOTYPES |
| 40 #define GL_GLEXT_PROTOTYPES 1 | 40 #define GL_GLEXT_PROTOTYPES 1 |
| 41 #endif | 41 #endif |
| 42 #include "third_party/khronos/GLES2/gl2ext.h" | 42 #include "third_party/khronos/GLES2/gl2ext.h" |
| 43 | 43 |
| 44 using base::TimeTicks; | 44 using base::TimeTicks; |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 ui::PrintLayerHierarchy(host->window()->layer(), gfx::Point(100, 100)); | 359 ui::PrintLayerHierarchy(host->window()->layer(), gfx::Point(100, 100)); |
| 360 #endif | 360 #endif |
| 361 | 361 |
| 362 host->Show(); | 362 host->Show(); |
| 363 base::MessageLoopForUI::current()->Run(); | 363 base::MessageLoopForUI::current()->Run(); |
| 364 focus_client.reset(); | 364 focus_client.reset(); |
| 365 host.reset(); | 365 host.reset(); |
| 366 | 366 |
| 367 return 0; | 367 return 0; |
| 368 } | 368 } |
| OLD | NEW |