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

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

Issue 2430593002: mash: Use ash shell window container ids instead of ash::mojom::Container (Closed)
Patch Set: rebase Created 4 years, 2 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') | mash/DEPS » ('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 <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 <gaming-input-unstable-v1-server-protocol.h> // NOLINT 17 #include <gaming-input-unstable-v1-server-protocol.h> // NOLINT
18 #include <remote-shell-unstable-v1-server-protocol.h> // NOLINT 18 #include <remote-shell-unstable-v1-server-protocol.h> // NOLINT
19 #include <secure-output-unstable-v1-server-protocol.h> // NOLINT 19 #include <secure-output-unstable-v1-server-protocol.h> // NOLINT
20 #include <stylus-unstable-v1-server-protocol.h> // NOLINT 20 #include <stylus-unstable-v1-server-protocol.h> // NOLINT
21 #include <vsync-feedback-unstable-v1-server-protocol.h> // NOLINT
21 #include <xdg-shell-unstable-v5-server-protocol.h> // NOLINT 22 #include <xdg-shell-unstable-v5-server-protocol.h> // NOLINT
22 #include <vsync-feedback-unstable-v1-server-protocol.h> // NOLINT
23 23
24 #include <algorithm> 24 #include <algorithm>
25 #include <cstdlib> 25 #include <cstdlib>
26 #include <iterator> 26 #include <iterator>
27 #include <string> 27 #include <string>
28 #include <utility> 28 #include <utility>
29 29
30 #include "ash/common/shell_observer.h" 30 #include "ash/common/shell_observer.h"
31 #include "ash/common/shell_window_ids.h" 31 #include "ash/public/cpp/shell_window_ids.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/memory/weak_ptr.h" 39 #include "base/memory/weak_ptr.h"
40 #include "base/strings/stringprintf.h" 40 #include "base/strings/stringprintf.h"
41 #include "base/strings/utf_string_conversions.h" 41 #include "base/strings/utf_string_conversions.h"
(...skipping 3030 matching lines...) Expand 10 before | Expand all | Expand 10 after
3072 DCHECK(event_loop); 3072 DCHECK(event_loop);
3073 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds()); 3073 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds());
3074 } 3074 }
3075 3075
3076 void Server::Flush() { 3076 void Server::Flush() {
3077 wl_display_flush_clients(wl_display_.get()); 3077 wl_display_flush_clients(wl_display_.get());
3078 } 3078 }
3079 3079
3080 } // namespace wayland 3080 } // namespace wayland
3081 } // namespace exo 3081 } // namespace exo
OLDNEW
« no previous file with comments | « components/exo/wayland/BUILD.gn ('k') | mash/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698