Commit 4c7be700 authored by Daniel Nicoara's avatar Daniel Nicoara Committed by Commit Bot

EXO: Cleanup unnecessary includes in server.cc

Removes unneeded includes that were forgotten during extraction of the
wayland interface implementations outside this file.

Bug: 896710
Test: Build and run exo_unittests
Change-Id: Icab53e2d31975245cb8a6ed833f17a5ca50ba41b
Reviewed-on: https://chromium-review.googlesource.com/c/1481745
Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
Reviewed-by: default avatarDaniele Castagna <dcastagna@chromium.org>
Cr-Commit-Position: refs/heads/master@{#635527}
parent 8cd72d6b
...@@ -14,15 +14,12 @@ ...@@ -14,15 +14,12 @@
#include <keyboard-configuration-unstable-v1-server-protocol.h> #include <keyboard-configuration-unstable-v1-server-protocol.h>
#include <keyboard-extension-unstable-v1-server-protocol.h> #include <keyboard-extension-unstable-v1-server-protocol.h>
#include <linux-explicit-synchronization-unstable-v1-server-protocol.h> #include <linux-explicit-synchronization-unstable-v1-server-protocol.h>
#include <linux/input.h>
#include <notification-shell-unstable-v1-server-protocol.h> #include <notification-shell-unstable-v1-server-protocol.h>
#include <pointer-gestures-unstable-v1-server-protocol.h> #include <pointer-gestures-unstable-v1-server-protocol.h>
#include <presentation-time-server-protocol.h> #include <presentation-time-server-protocol.h>
#include <relative-pointer-unstable-v1-server-protocol.h> #include <relative-pointer-unstable-v1-server-protocol.h>
#include <remote-shell-unstable-v1-server-protocol.h> #include <remote-shell-unstable-v1-server-protocol.h>
#include <secure-output-unstable-v1-server-protocol.h> #include <secure-output-unstable-v1-server-protocol.h>
#include <stddef.h>
#include <stdint.h>
#include <stylus-tools-unstable-v1-server-protocol.h> #include <stylus-tools-unstable-v1-server-protocol.h>
#include <stylus-unstable-v2-server-protocol.h> #include <stylus-unstable-v2-server-protocol.h>
#include <text-input-unstable-v1-server-protocol.h> #include <text-input-unstable-v1-server-protocol.h>
...@@ -32,40 +29,14 @@ ...@@ -32,40 +29,14 @@
#include <wayland-server-protocol-core.h> #include <wayland-server-protocol-core.h>
#include <xdg-shell-unstable-v6-server-protocol.h> #include <xdg-shell-unstable-v6-server-protocol.h>
#include <algorithm>
#include <cstdlib>
#include <iterator>
#include <map>
#include <memory> #include <memory>
#include <string> #include <string>
#include <utility> #include <utility>
#include <vector>
#include "base/atomic_sequence_num.h"
#include "base/bind.h"
#include "base/cancelable_callback.h"
#include "base/command_line.h" #include "base/command_line.h"
#include "base/files/file_path.h" #include "base/files/file_path.h"
#include "base/memory/free_deleter.h"
#include "base/memory/ptr_util.h"
#include "base/memory/weak_ptr.h"
#include "base/stl_util.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/threading/thread.h"
#include "base/threading/thread_task_runner_handle.h"
#include "components/exo/buffer.h"
#include "components/exo/display.h" #include "components/exo/display.h"
#include "components/exo/gamepad_delegate.h"
#include "components/exo/gaming_seat.h"
#include "components/exo/gaming_seat_delegate.h"
#include "components/exo/notification.h"
#include "components/exo/surface.h"
#include "components/exo/wayland/server_util.h"
#include "components/exo/wayland/wayland_display_output.h" #include "components/exo/wayland/wayland_display_output.h"
#include "components/exo/wayland/wayland_input_delegate.h"
#include "components/exo/wayland/wayland_touch_delegate.h"
#include "components/exo/wayland/wl_compositor.h" #include "components/exo/wayland/wl_compositor.h"
#include "components/exo/wayland/wl_data_device_manager.h" #include "components/exo/wayland/wl_data_device_manager.h"
#include "components/exo/wayland/wl_output.h" #include "components/exo/wayland/wl_output.h"
...@@ -78,28 +49,10 @@ ...@@ -78,28 +49,10 @@
#include "components/exo/wayland/zcr_secure_output.h" #include "components/exo/wayland/zcr_secure_output.h"
#include "components/exo/wayland/zcr_stylus.h" #include "components/exo/wayland/zcr_stylus.h"
#include "components/exo/wayland/zcr_vsync_feedback.h" #include "components/exo/wayland/zcr_vsync_feedback.h"
#include "components/exo/wm_helper.h" #include "ui/display/display.h"
#include "services/viz/public/interfaces/compositing/compositor_frame_sink.mojom.h"
#include "third_party/skia/include/core/SkRegion.h"
#include "ui/base/buildflags.h"
#include "ui/base/class_property.h"
#include "ui/base/hit_test.h"
#include "ui/compositor/compositor_vsync_manager.h"
#include "ui/display/display_switches.h"
#include "ui/display/manager/display_util.h"
#include "ui/display/manager/managed_display_info.h"
#include "ui/display/screen.h" #include "ui/display/screen.h"
#include "ui/events/keycodes/dom/keycode_converter.h"
#include "ui/gfx/buffer_types.h"
#include "ui/views/widget/widget.h"
#include "ui/views/widget/widget_observer.h"
#include "ui/wm/core/coordinate_conversion.h"
#include "ui/wm/core/window_animations.h"
#include "ui/wm/public/activation_change_observer.h"
#if defined(OS_CHROMEOS) #if defined(OS_CHROMEOS)
#include "components/exo/wayland/wayland_keyboard_delegate.h"
#include "components/exo/wayland/wayland_pointer_delegate.h"
#include "components/exo/wayland/wl_shell.h" #include "components/exo/wayland/wl_shell.h"
#include "components/exo/wayland/zaura_shell.h" #include "components/exo/wayland/zaura_shell.h"
#include "components/exo/wayland/zcr_cursor_shapes.h" #include "components/exo/wayland/zcr_cursor_shapes.h"
...@@ -115,16 +68,11 @@ ...@@ -115,16 +68,11 @@
#include "components/exo/wayland/zwp_relative_pointer_manager.h" #include "components/exo/wayland/zwp_relative_pointer_manager.h"
#include "components/exo/wayland/zwp_text_input_manager.h" #include "components/exo/wayland/zwp_text_input_manager.h"
#include "components/exo/wayland/zxdg_shell.h" #include "components/exo/wayland/zxdg_shell.h"
#include "components/exo/wm_helper_chromeos.h"
#endif #endif
#if defined(USE_OZONE) #if defined(USE_OZONE)
#include <linux-dmabuf-unstable-v1-server-protocol.h> #include <linux-dmabuf-unstable-v1-server-protocol.h>
#include "components/exo/wayland/zwp_linux_dmabuf.h" #include "components/exo/wayland/zwp_linux_dmabuf.h"
#if defined(OS_CHROMEOS)
#include "ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h"
#endif
#endif #endif
#if defined(USE_FULLSCREEN_SHELL) #if defined(USE_FULLSCREEN_SHELL)
...@@ -132,13 +80,6 @@ ...@@ -132,13 +80,6 @@
#include "components/exo/wayland/zwp_fullscreen_shell.h" #include "components/exo/wayland/zwp_fullscreen_shell.h"
#endif #endif
#if BUILDFLAG(USE_XKBCOMMON)
#include <xkbcommon/xkbcommon.h>
#include "ui/events/keycodes/scoped_xkb.h" // nogncheck
#endif
DEFINE_UI_CLASS_PROPERTY_TYPE(wl_resource*)
namespace exo { namespace exo {
namespace wayland { namespace wayland {
namespace switches { namespace switches {
......
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
#include "ui/gfx/geometry/rect.h" #include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h" #include "ui/gfx/geometry/size.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(wl_resource*)
namespace exo { namespace exo {
namespace wayland { namespace wayland {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment