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

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

Issue 2084533008: mash: Migrate tray audio and deps to common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. Created 4 years, 6 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/pointer.cc ('k') | no next file » | 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 <stddef.h> 9 #include <stddef.h>
10 #include <stdint.h> 10 #include <stdint.h>
11 #include <viewporter-server-protocol.h> 11 #include <viewporter-server-protocol.h>
12 #include <wayland-server-core.h> 12 #include <wayland-server-core.h>
13 #include <wayland-server-protocol-core.h> 13 #include <wayland-server-protocol-core.h>
14 14
15 // Note: core wayland headers need to be included before protocol headers. 15 // Note: core wayland headers need to be included before protocol headers.
16 #include <alpha-compositing-unstable-v1-server-protocol.h> // NOLINT 16 #include <alpha-compositing-unstable-v1-server-protocol.h> // NOLINT
17 #include <remote-shell-unstable-v1-server-protocol.h> // NOLINT 17 #include <remote-shell-unstable-v1-server-protocol.h> // NOLINT
18 #include <secure-output-unstable-v1-server-protocol.h> // NOLINT 18 #include <secure-output-unstable-v1-server-protocol.h> // NOLINT
19 #include <xdg-shell-unstable-v5-server-protocol.h> // NOLINT 19 #include <xdg-shell-unstable-v5-server-protocol.h> // NOLINT
20 #include <vsync-feedback-unstable-v1-server-protocol.h> // NOLINT 20 #include <vsync-feedback-unstable-v1-server-protocol.h> // NOLINT
21 21
22 #include <algorithm> 22 #include <algorithm>
23 #include <iterator> 23 #include <iterator>
24 #include <string> 24 #include <string>
25 #include <utility> 25 #include <utility>
26 26
27 #include "ash/common/display/display_info.h"
27 #include "ash/common/shell_observer.h" 28 #include "ash/common/shell_observer.h"
28 #include "ash/common/shell_window_ids.h" 29 #include "ash/common/shell_window_ids.h"
29 #include "ash/common/wm_shell.h" 30 #include "ash/common/wm_shell.h"
30 #include "ash/display/display_info.h"
31 #include "ash/display/display_manager.h" 31 #include "ash/display/display_manager.h"
32 #include "ash/shell.h" 32 #include "ash/shell.h"
33 #include "base/bind.h" 33 #include "base/bind.h"
34 #include "base/cancelable_callback.h" 34 #include "base/cancelable_callback.h"
35 #include "base/files/file_path.h" 35 #include "base/files/file_path.h"
36 #include "base/macros.h" 36 #include "base/macros.h"
37 #include "base/memory/free_deleter.h" 37 #include "base/memory/free_deleter.h"
38 #include "base/memory/ptr_util.h" 38 #include "base/memory/ptr_util.h"
39 #include "base/strings/stringprintf.h" 39 #include "base/strings/stringprintf.h"
40 #include "base/strings/utf_string_conversions.h" 40 #include "base/strings/utf_string_conversions.h"
(...skipping 2724 matching lines...) Expand 10 before | Expand all | Expand 10 after
2765 DCHECK(event_loop); 2765 DCHECK(event_loop);
2766 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds()); 2766 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds());
2767 } 2767 }
2768 2768
2769 void Server::Flush() { 2769 void Server::Flush() {
2770 wl_display_flush_clients(wl_display_.get()); 2770 wl_display_flush_clients(wl_display_.get());
2771 } 2771 }
2772 2772
2773 } // namespace wayland 2773 } // namespace wayland
2774 } // namespace exo 2774 } // namespace exo
OLDNEW
« no previous file with comments | « components/exo/pointer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698