Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Side by Side Diff: components/exo/wayland/server.cc

Issue 1880313004: Remove X11 deps from //ui/events:events_base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@device_refactor
Patch Set: Maybe GYP actually works now? Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/exo/wayland/server.h" 5 #include "components/exo/wayland/server.h"
6 6
7 #include <grp.h> 7 #include <grp.h>
8 #include <linux/input.h> 8 #include <linux/input.h>
9 #include <scaler-server-protocol.h> 9 #include <scaler-server-protocol.h>
10 #include <secure-output-unstable-v1-server-protocol.h> 10 #include <secure-output-unstable-v1-server-protocol.h>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 #include "ui/views/widget/widget_observer.h" 52 #include "ui/views/widget/widget_observer.h"
53 53
54 #if defined(USE_OZONE) 54 #if defined(USE_OZONE)
55 #include <drm_fourcc.h> 55 #include <drm_fourcc.h>
56 #include <linux-dmabuf-unstable-v1-server-protocol.h> 56 #include <linux-dmabuf-unstable-v1-server-protocol.h>
57 #include <wayland-drm-server-protocol.h> 57 #include <wayland-drm-server-protocol.h>
58 #endif 58 #endif
59 59
60 #if defined(USE_XKBCOMMON) 60 #if defined(USE_XKBCOMMON)
61 #include <xkbcommon/xkbcommon.h> 61 #include <xkbcommon/xkbcommon.h>
62 #include "ui/events/keycodes/scoped_xkb.h" 62 #include "ui/events/keycodes/scoped_xkb.h" // nogncheck
63 #endif 63 #endif
64 64
65 DECLARE_WINDOW_PROPERTY_TYPE(wl_resource*); 65 DECLARE_WINDOW_PROPERTY_TYPE(wl_resource*);
66 66
67 namespace exo { 67 namespace exo {
68 namespace wayland { 68 namespace wayland {
69 namespace { 69 namespace {
70 70
71 // Default wayland socket name. 71 // Default wayland socket name.
72 const base::FilePath::CharType kSocketName[] = FILE_PATH_LITERAL("wayland-0"); 72 const base::FilePath::CharType kSocketName[] = FILE_PATH_LITERAL("wayland-0");
(...skipping 2067 matching lines...) Expand 10 before | Expand all | Expand 10 after
2140 DCHECK(event_loop); 2140 DCHECK(event_loop);
2141 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds()); 2141 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds());
2142 } 2142 }
2143 2143
2144 void Server::Flush() { 2144 void Server::Flush() {
2145 wl_display_flush_clients(wl_display_.get()); 2145 wl_display_flush_clients(wl_display_.get());
2146 } 2146 }
2147 2147
2148 } // namespace wayland 2148 } // namespace wayland
2149 } // namespace exo 2149 } // namespace exo
OLDNEW
« no previous file with comments | « components/exo/wayland/BUILD.gn ('k') | media/media.gyp » ('j') | ui/events/keycodes/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698