| OLD | NEW |
| 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 <alpha-compositing-unstable-v1-server-protocol.h> | 7 #include <alpha-compositing-unstable-v1-server-protocol.h> |
| 8 #include <gaming-input-unstable-v1-server-protocol.h> | 8 #include <gaming-input-unstable-v1-server-protocol.h> |
| 9 #include <gaming-input-unstable-v2-server-protocol.h> | 9 #include <gaming-input-unstable-v2-server-protocol.h> |
| 10 #include <grp.h> | 10 #include <grp.h> |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 #include "ash/public/cpp/shell_window_ids.h" | 33 #include "ash/public/cpp/shell_window_ids.h" |
| 34 #include "ash/public/interfaces/window_pin_type.mojom.h" | 34 #include "ash/public/interfaces/window_pin_type.mojom.h" |
| 35 #include "ash/shell.h" | 35 #include "ash/shell.h" |
| 36 #include "base/bind.h" | 36 #include "base/bind.h" |
| 37 #include "base/cancelable_callback.h" | 37 #include "base/cancelable_callback.h" |
| 38 #include "base/files/file_path.h" | 38 #include "base/files/file_path.h" |
| 39 #include "base/macros.h" | 39 #include "base/macros.h" |
| 40 #include "base/memory/free_deleter.h" | 40 #include "base/memory/free_deleter.h" |
| 41 #include "base/memory/ptr_util.h" | 41 #include "base/memory/ptr_util.h" |
| 42 #include "base/memory/weak_ptr.h" | 42 #include "base/memory/weak_ptr.h" |
| 43 #include "base/message_loop/message_loop.h" |
| 43 #include "base/strings/stringprintf.h" | 44 #include "base/strings/stringprintf.h" |
| 44 #include "base/strings/utf_string_conversions.h" | 45 #include "base/strings/utf_string_conversions.h" |
| 45 #include "base/threading/thread.h" | 46 #include "base/threading/thread.h" |
| 46 #include "base/threading/thread_task_runner_handle.h" | 47 #include "base/threading/thread_task_runner_handle.h" |
| 47 #include "components/exo/buffer.h" | 48 #include "components/exo/buffer.h" |
| 48 #include "components/exo/display.h" | 49 #include "components/exo/display.h" |
| 49 #include "components/exo/gamepad_delegate.h" | 50 #include "components/exo/gamepad_delegate.h" |
| 50 #include "components/exo/gaming_seat.h" | 51 #include "components/exo/gaming_seat.h" |
| 51 #include "components/exo/gaming_seat_delegate.h" | 52 #include "components/exo/gaming_seat_delegate.h" |
| 52 #include "components/exo/keyboard.h" | 53 #include "components/exo/keyboard.h" |
| (...skipping 3901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3954 DCHECK(event_loop); | 3955 DCHECK(event_loop); |
| 3955 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds()); | 3956 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds()); |
| 3956 } | 3957 } |
| 3957 | 3958 |
| 3958 void Server::Flush() { | 3959 void Server::Flush() { |
| 3959 wl_display_flush_clients(wl_display_.get()); | 3960 wl_display_flush_clients(wl_display_.get()); |
| 3960 } | 3961 } |
| 3961 | 3962 |
| 3962 } // namespace wayland | 3963 } // namespace wayland |
| 3963 } // namespace exo | 3964 } // namespace exo |
| OLD | NEW |