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

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

Issue 1717573002: ozone: Fix the way platform tests link ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: exists Created 4 years, 10 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
« no previous file with comments | « ui/ozone/platform/wayland/wayland_surface_factory.h ('k') | no next file » | 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/gfx/geometry/rect.h" 8 #include "ui/gfx/geometry/rect.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "ui/ozone/ozone_export.h"
11 #include "ui/ozone/platform/wayland/wayland_object.h" 10 #include "ui/ozone/platform/wayland/wayland_object.h"
12 #include "ui/platform_window/platform_window.h" 11 #include "ui/platform_window/platform_window.h"
13 12
14 namespace ui { 13 namespace ui {
15 14
16 class WaylandDisplay; 15 class WaylandDisplay;
17 16
18 class OZONE_EXPORT WaylandWindow : public PlatformWindow { 17 class WaylandWindow : public PlatformWindow {
19 public: 18 public:
20 WaylandWindow(PlatformWindowDelegate* delegate, 19 WaylandWindow(PlatformWindowDelegate* delegate,
21 WaylandDisplay* display, 20 WaylandDisplay* display,
22 const gfx::Rect& bounds); 21 const gfx::Rect& bounds);
23 ~WaylandWindow() override; 22 ~WaylandWindow() override;
24 23
25 bool Initialize(); 24 bool Initialize();
26 25
27 wl_surface* GetSurface(); 26 wl_surface* GetSurface();
28 gfx::AcceleratedWidget GetWidget(); 27 gfx::AcceleratedWidget GetWidget();
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 gfx::Rect bounds_; 67 gfx::Rect bounds_;
69 gfx::Rect pending_bounds_; 68 gfx::Rect pending_bounds_;
70 uint32_t pending_configure_serial_; 69 uint32_t pending_configure_serial_;
71 70
72 DISALLOW_COPY_AND_ASSIGN(WaylandWindow); 71 DISALLOW_COPY_AND_ASSIGN(WaylandWindow);
73 }; 72 };
74 73
75 } // namespace ui 74 } // namespace ui
76 75
77 #endif // UI_OZONE_PLATFORM_WAYLAND_WAYLAND_WINDOW_H_ 76 #endif // UI_OZONE_PLATFORM_WAYLAND_WAYLAND_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/wayland/wayland_surface_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698