| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/ozone/platform/x11/ozone_platform_x11.h" | 5 #include "ui/ozone/platform/x11/ozone_platform_x11.h" |
| 6 | 6 |
| 7 #include <X11/Xlib.h> | 7 #include <X11/Xlib.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <utility> | 10 #include <utility> |
| 11 | 11 |
| 12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
| 14 #include "base/message_loop/message_loop.h" |
| 14 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
| 15 #include "ui/base/x/x11_util.h" | 16 #include "ui/base/x/x11_util.h" |
| 16 #include "ui/display/fake_display_delegate.h" | 17 #include "ui/display/fake_display_delegate.h" |
| 17 #include "ui/events/platform/x11/x11_event_source_libevent.h" | 18 #include "ui/events/platform/x11/x11_event_source_libevent.h" |
| 18 #include "ui/ozone/common/stub_overlay_manager.h" | 19 #include "ui/ozone/common/stub_overlay_manager.h" |
| 19 #include "ui/ozone/platform/x11/x11_cursor_factory_ozone.h" | 20 #include "ui/ozone/platform/x11/x11_cursor_factory_ozone.h" |
| 20 #include "ui/ozone/platform/x11/x11_surface_factory.h" | 21 #include "ui/ozone/platform/x11/x11_surface_factory.h" |
| 21 #include "ui/ozone/public/gpu_platform_support_host.h" | 22 #include "ui/ozone/public/gpu_platform_support_host.h" |
| 22 #include "ui/ozone/public/input_controller.h" | 23 #include "ui/ozone/public/input_controller.h" |
| 23 #include "ui/ozone/public/ozone_platform.h" | 24 #include "ui/ozone/public/ozone_platform.h" |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 DISALLOW_COPY_AND_ASSIGN(OzonePlatformX11); | 156 DISALLOW_COPY_AND_ASSIGN(OzonePlatformX11); |
| 156 }; | 157 }; |
| 157 | 158 |
| 158 } // namespace | 159 } // namespace |
| 159 | 160 |
| 160 OzonePlatform* CreateOzonePlatformX11() { | 161 OzonePlatform* CreateOzonePlatformX11() { |
| 161 return new OzonePlatformX11; | 162 return new OzonePlatformX11; |
| 162 } | 163 } |
| 163 | 164 |
| 164 } // namespace ui | 165 } // namespace ui |
| OLD | NEW |