| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "ui/aura/window_tree_host.h" | 5 #include "ui/aura/window_tree_host.h" |
| 6 #include "ui/views/widget/desktop_aura/desktop_root_window_host.h" | 6 #include "ui/views/widget/desktop_aura/desktop_root_window_host.h" |
| 7 #include "ui/views/widget/desktop_aura/desktop_factory_ozone.h" | 7 #include "ui/views/widget/desktop_aura/desktop_factory_ozone.h" |
| 8 | 8 |
| 9 namespace views { | 9 namespace views { |
| 10 | 10 |
| 11 DesktopRootWindowHost* DesktopRootWindowHost::Create( | 11 DesktopWindowTreeHost* DesktopWindowTreeHost::Create( |
| 12 internal::NativeWidgetDelegate* native_widget_delegate, | 12 internal::NativeWidgetDelegate* native_widget_delegate, |
| 13 DesktopNativeWidgetAura* desktop_native_widget_aura) { | 13 DesktopNativeWidgetAura* desktop_native_widget_aura) { |
| 14 DesktopFactoryOzone* d_factory = DesktopFactoryOzone::GetInstance(); | 14 DesktopFactoryOzone* d_factory = DesktopFactoryOzone::GetInstance(); |
| 15 | 15 |
| 16 return d_factory->CreateRootWindowHost(native_widget_delegate, | 16 return d_factory->CreateWindowTreeHost(native_widget_delegate, |
| 17 desktop_native_widget_aura); | 17 desktop_native_widget_aura); |
| 18 } | 18 } |
| 19 | 19 |
| 20 } // namespace views | 20 } // namespace views |
| OLD | NEW |