OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "athena/test/athena_test_base.h" | 5 #include "athena/test/base/athena_test_base.h" |
6 | 6 |
7 #include "athena/env/public/athena_env.h" | 7 #include "athena/env/public/athena_env.h" |
8 #include "athena/screen/public/screen_manager.h" | 8 #include "athena/screen/public/screen_manager.h" |
9 #include "athena/test/athena_test_helper.h" | 9 #include "athena/test/base/athena_test_helper.h" |
10 #include "ui/aura/client/window_tree_client.h" | 10 #include "ui/aura/client/window_tree_client.h" |
11 #include "ui/aura/test/event_generator_delegate_aura.h" | 11 #include "ui/aura/test/event_generator_delegate_aura.h" |
12 #include "ui/aura/window.h" | 12 #include "ui/aura/window.h" |
13 #include "ui/compositor/test/context_factories_for_test.h" | 13 #include "ui/compositor/test/context_factories_for_test.h" |
14 | 14 |
15 #if defined(USE_X11) | 15 #if defined(USE_X11) |
16 #include "ui/aura/window_tree_host_x11.h" | 16 #include "ui/aura/window_tree_host_x11.h" |
17 #endif | 17 #endif |
18 | 18 |
19 namespace athena { | 19 namespace athena { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 scoped_ptr<aura::Window> window(new aura::Window(delegate)); | 71 scoped_ptr<aura::Window> window(new aura::Window(delegate)); |
72 window->SetType(ui::wm::WINDOW_TYPE_NORMAL); | 72 window->SetType(ui::wm::WINDOW_TYPE_NORMAL); |
73 window->Init(aura::WINDOW_LAYER_SOLID_COLOR); | 73 window->Init(aura::WINDOW_LAYER_SOLID_COLOR); |
74 aura::client::ParentWindowWithContext( | 74 aura::client::ParentWindowWithContext( |
75 window.get(), ScreenManager::Get()->GetContext(), bounds); | 75 window.get(), ScreenManager::Get()->GetContext(), bounds); |
76 return window.Pass(); | 76 return window.Pass(); |
77 } | 77 } |
78 | 78 |
79 } // namespace test | 79 } // namespace test |
80 } // namespace athena | 80 } // namespace athena |
OLD | NEW |