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

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

Issue 1837483003: Move base::FreeDeleter into its own header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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>
11 #include <stddef.h> 11 #include <stddef.h>
12 #include <stdint.h> 12 #include <stdint.h>
13 #include <wayland-server-core.h> 13 #include <wayland-server-core.h>
14 #include <wayland-server-protocol-core.h> 14 #include <wayland-server-protocol-core.h>
15 #include <xdg-shell-unstable-v5-server-protocol.h> 15 #include <xdg-shell-unstable-v5-server-protocol.h>
16 16
17 #include <algorithm> 17 #include <algorithm>
18 #include <iterator> 18 #include <iterator>
19 #include <string> 19 #include <string>
20 #include <utility> 20 #include <utility>
21 21
22 #include "ash/display/display_info.h" 22 #include "ash/display/display_info.h"
23 #include "ash/display/display_manager.h" 23 #include "ash/display/display_manager.h"
24 #include "ash/display/screen_ash.h" 24 #include "ash/display/screen_ash.h"
25 #include "ash/shell.h" 25 #include "ash/shell.h"
26 #include "base/bind.h" 26 #include "base/bind.h"
27 #include "base/cancelable_callback.h" 27 #include "base/cancelable_callback.h"
28 #include "base/files/file_path.h" 28 #include "base/files/file_path.h"
29 #include "base/macros.h" 29 #include "base/macros.h"
30 #include "base/memory/free_deleter.h"
30 #include "base/strings/stringprintf.h" 31 #include "base/strings/stringprintf.h"
31 #include "base/strings/utf_string_conversions.h" 32 #include "base/strings/utf_string_conversions.h"
32 #include "components/exo/buffer.h" 33 #include "components/exo/buffer.h"
33 #include "components/exo/display.h" 34 #include "components/exo/display.h"
34 #include "components/exo/keyboard.h" 35 #include "components/exo/keyboard.h"
35 #include "components/exo/keyboard_delegate.h" 36 #include "components/exo/keyboard_delegate.h"
36 #include "components/exo/pointer.h" 37 #include "components/exo/pointer.h"
37 #include "components/exo/pointer_delegate.h" 38 #include "components/exo/pointer_delegate.h"
38 #include "components/exo/shared_memory.h" 39 #include "components/exo/shared_memory.h"
39 #include "components/exo/shell_surface.h" 40 #include "components/exo/shell_surface.h"
(...skipping 2088 matching lines...) Expand 10 before | Expand all | Expand 10 after
2128 DCHECK(event_loop); 2129 DCHECK(event_loop);
2129 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds()); 2130 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds());
2130 } 2131 }
2131 2132
2132 void Server::Flush() { 2133 void Server::Flush() {
2133 wl_display_flush_clients(wl_display_.get()); 2134 wl_display_flush_clients(wl_display_.get());
2134 } 2135 }
2135 2136
2136 } // namespace wayland 2137 } // namespace wayland
2137 } // namespace exo 2138 } // namespace exo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698