OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "ui/ozone/platform/wayland/wayland_window.h" | 5 #include "ui/ozone/platform/wayland/wayland_window.h" |
6 | 6 |
7 #include <xdg-shell-unstable-v5-client-protocol.h> | 7 #include <xdg-shell-unstable-v5-client-protocol.h> |
8 | 8 |
| 9 #include "base/bind.h" |
9 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
10 #include "ui/events/event.h" | 11 #include "ui/events/event.h" |
11 #include "ui/events/ozone/events_ozone.h" | 12 #include "ui/events/ozone/events_ozone.h" |
12 #include "ui/ozone/platform/wayland/wayland_connection.h" | 13 #include "ui/ozone/platform/wayland/wayland_connection.h" |
13 #include "ui/platform_window/platform_window_delegate.h" | 14 #include "ui/platform_window/platform_window_delegate.h" |
14 | 15 |
15 namespace ui { | 16 namespace ui { |
16 | 17 |
17 WaylandWindow::WaylandWindow(PlatformWindowDelegate* delegate, | 18 WaylandWindow::WaylandWindow(PlatformWindowDelegate* delegate, |
18 WaylandConnection* connection, | 19 WaylandConnection* connection, |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 window->pending_bounds_ = gfx::Rect(0, 0, width, height); | 175 window->pending_bounds_ = gfx::Rect(0, 0, width, height); |
175 window->pending_configure_serial_ = serial; | 176 window->pending_configure_serial_ = serial; |
176 } | 177 } |
177 | 178 |
178 // static | 179 // static |
179 void WaylandWindow::Close(void* data, xdg_surface* obj) { | 180 void WaylandWindow::Close(void* data, xdg_surface* obj) { |
180 NOTIMPLEMENTED(); | 181 NOTIMPLEMENTED(); |
181 } | 182 } |
182 | 183 |
183 } // namespace ui | 184 } // namespace ui |
OLD | NEW |