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

Side by Side Diff: ui/ozone/platform/wayland/wayland_window.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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 | « ui/ozone/platform/drm/mus_thread_proxy.h ('k') | ui/ozone/public/system_input_injector.h » ('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 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 #ifndef UI_OZONE_PLATFORM_WAYLAND_WAYLAND_WINDOW_H_ 5 #ifndef UI_OZONE_PLATFORM_WAYLAND_WAYLAND_WINDOW_H_
6 #define UI_OZONE_PLATFORM_WAYLAND_WAYLAND_WINDOW_H_ 6 #define UI_OZONE_PLATFORM_WAYLAND_WAYLAND_WINDOW_H_
7 7
8 #include "ui/events/platform/platform_event_dispatcher.h" 8 #include "ui/events/platform/platform_event_dispatcher.h"
9 #include "ui/gfx/geometry/rect.h" 9 #include "ui/gfx/geometry/rect.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
11 #include "ui/ozone/platform/wayland/wayland_object.h" 11 #include "ui/ozone/platform/wayland/wayland_object.h"
12 #include "ui/platform_window/platform_window.h" 12 #include "ui/platform_window/platform_window.h"
13 13
14 namespace ui { 14 namespace ui {
15 15
16 class PlatformWindowDelegate;
16 class WaylandConnection; 17 class WaylandConnection;
17 18
18 class WaylandWindow : public PlatformWindow, public PlatformEventDispatcher { 19 class WaylandWindow : public PlatformWindow, public PlatformEventDispatcher {
19 public: 20 public:
20 WaylandWindow(PlatformWindowDelegate* delegate, 21 WaylandWindow(PlatformWindowDelegate* delegate,
21 WaylandConnection* connection, 22 WaylandConnection* connection,
22 const gfx::Rect& bounds); 23 const gfx::Rect& bounds);
23 ~WaylandWindow() override; 24 ~WaylandWindow() override;
24 25
25 static WaylandWindow* FromSurface(wl_surface* surface); 26 static WaylandWindow* FromSurface(wl_surface* surface);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 gfx::Rect pending_bounds_; 78 gfx::Rect pending_bounds_;
78 uint32_t pending_configure_serial_; 79 uint32_t pending_configure_serial_;
79 bool has_pointer_focus_ = false; 80 bool has_pointer_focus_ = false;
80 81
81 DISALLOW_COPY_AND_ASSIGN(WaylandWindow); 82 DISALLOW_COPY_AND_ASSIGN(WaylandWindow);
82 }; 83 };
83 84
84 } // namespace ui 85 } // namespace ui
85 86
86 #endif // UI_OZONE_PLATFORM_WAYLAND_WAYLAND_WINDOW_H_ 87 #endif // UI_OZONE_PLATFORM_WAYLAND_WAYLAND_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/mus_thread_proxy.h ('k') | ui/ozone/public/system_input_injector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698