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

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: Fix bad rebase. 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
« no previous file with comments | « components/exo/wayland/BUILD.gn ('k') | media/media.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "ui/views/widget/widget_observer.h" 53 #include "ui/views/widget/widget_observer.h"
54 54
55 #if defined(USE_OZONE) 55 #if defined(USE_OZONE)
56 #include <drm_fourcc.h> 56 #include <drm_fourcc.h>
57 #include <linux-dmabuf-unstable-v1-server-protocol.h> 57 #include <linux-dmabuf-unstable-v1-server-protocol.h>
58 #include <wayland-drm-server-protocol.h> 58 #include <wayland-drm-server-protocol.h>
59 #endif 59 #endif
60 60
61 #if defined(USE_XKBCOMMON) 61 #if defined(USE_XKBCOMMON)
62 #include <xkbcommon/xkbcommon.h> 62 #include <xkbcommon/xkbcommon.h>
63 #include "ui/events/keycodes/scoped_xkb.h" 63 #include "ui/events/keycodes/scoped_xkb.h" // nogncheck
64 #endif 64 #endif
65 65
66 DECLARE_WINDOW_PROPERTY_TYPE(wl_resource*); 66 DECLARE_WINDOW_PROPERTY_TYPE(wl_resource*);
67 67
68 namespace exo { 68 namespace exo {
69 namespace wayland { 69 namespace wayland {
70 namespace { 70 namespace {
71 71
72 // Default wayland socket name. 72 // Default wayland socket name.
73 const base::FilePath::CharType kSocketName[] = FILE_PATH_LITERAL("wayland-0"); 73 const base::FilePath::CharType kSocketName[] = FILE_PATH_LITERAL("wayland-0");
(...skipping 2067 matching lines...) Expand 10 before | Expand all | Expand 10 after
2141 DCHECK(event_loop); 2141 DCHECK(event_loop);
2142 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds()); 2142 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds());
2143 } 2143 }
2144 2144
2145 void Server::Flush() { 2145 void Server::Flush() {
2146 wl_display_flush_clients(wl_display_.get()); 2146 wl_display_flush_clients(wl_display_.get());
2147 } 2147 }
2148 2148
2149 } // namespace wayland 2149 } // namespace wayland
2150 } // namespace exo 2150 } // namespace exo
OLDNEW
« no previous file with comments | « components/exo/wayland/BUILD.gn ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698