| 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 <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> |
| (...skipping 3881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3892 display_, bind_secure_output); | 3892 display_, bind_secure_output); |
| 3893 wl_global_create(wl_display_.get(), &zwp_secure_output_v1_interface, 1, | 3893 wl_global_create(wl_display_.get(), &zwp_secure_output_v1_interface, 1, |
| 3894 display_, bind_secure_output_DEPRECATED); | 3894 display_, bind_secure_output_DEPRECATED); |
| 3895 wl_global_create(wl_display_.get(), &zcr_alpha_compositing_v1_interface, 1, | 3895 wl_global_create(wl_display_.get(), &zcr_alpha_compositing_v1_interface, 1, |
| 3896 display_, bind_alpha_compositing); | 3896 display_, bind_alpha_compositing); |
| 3897 wl_global_create(wl_display_.get(), &zwp_alpha_compositing_v1_interface, 1, | 3897 wl_global_create(wl_display_.get(), &zwp_alpha_compositing_v1_interface, 1, |
| 3898 display_, bind_alpha_compositing_DEPRECATED); | 3898 display_, bind_alpha_compositing_DEPRECATED); |
| 3899 wl_global_create(wl_display_.get(), &zcr_remote_shell_v1_interface, | 3899 wl_global_create(wl_display_.get(), &zcr_remote_shell_v1_interface, |
| 3900 remote_shell_version, display_, bind_remote_shell); | 3900 remote_shell_version, display_, bind_remote_shell); |
| 3901 wl_global_create(wl_display_.get(), &zwp_remote_shell_v1_interface, | 3901 wl_global_create(wl_display_.get(), &zwp_remote_shell_v1_interface, |
| 3902 remote_shell_version, display_, | 3902 remote_shell_version_DEPRECATED, display_, |
| 3903 bind_remote_shell_DEPRECATED); | 3903 bind_remote_shell_DEPRECATED); |
| 3904 wl_global_create(wl_display_.get(), &zcr_gaming_input_v1_interface, 1, | 3904 wl_global_create(wl_display_.get(), &zcr_gaming_input_v1_interface, 1, |
| 3905 display_, bind_gaming_input); | 3905 display_, bind_gaming_input); |
| 3906 wl_global_create(wl_display_.get(), &zwp_gaming_input_v1_interface, 1, | 3906 wl_global_create(wl_display_.get(), &zwp_gaming_input_v1_interface, 1, |
| 3907 display_, bind_gaming_input_DEPRECATED); | 3907 display_, bind_gaming_input_DEPRECATED); |
| 3908 wl_global_create(wl_display_.get(), &zcr_stylus_v1_interface, 1, display_, | 3908 wl_global_create(wl_display_.get(), &zcr_stylus_v1_interface, 1, display_, |
| 3909 bind_stylus); | 3909 bind_stylus); |
| 3910 wl_global_create(wl_display_.get(), &zwp_stylus_v1_interface, 1, display_, | 3910 wl_global_create(wl_display_.get(), &zwp_stylus_v1_interface, 1, display_, |
| 3911 bind_stylus_DEPRECATED); | 3911 bind_stylus_DEPRECATED); |
| 3912 } | 3912 } |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3973 DCHECK(event_loop); | 3973 DCHECK(event_loop); |
| 3974 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds()); | 3974 wl_event_loop_dispatch(event_loop, timeout.InMilliseconds()); |
| 3975 } | 3975 } |
| 3976 | 3976 |
| 3977 void Server::Flush() { | 3977 void Server::Flush() { |
| 3978 wl_display_flush_clients(wl_display_.get()); | 3978 wl_display_flush_clients(wl_display_.get()); |
| 3979 } | 3979 } |
| 3980 | 3980 |
| 3981 } // namespace wayland | 3981 } // namespace wayland |
| 3982 } // namespace exo | 3982 } // namespace exo |
| OLD | NEW |