1 // Copyright 2014 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef OZONE_WAYLAND_SHELL_WL_SHELL_SURFACE_H_
6 #define OZONE_WAYLAND_SHELL_WL_SHELL_SURFACE_H_
8 #include "ozone/wayland/shell/shell_surface.h"
10 namespace ozonewayland {
15 class WLShellSurface : public WaylandShellSurface {
18 virtual ~WLShellSurface();
20 virtual void InitializeShellSurface(WaylandWindow* window,
21 WaylandWindow::ShellType type) OVERRIDE;
22 virtual void UpdateShellSurface(WaylandWindow::ShellType type,
23 WaylandShellSurface* shell_parent,
26 virtual void SetWindowTitle(const base::string16& title) OVERRIDE;
27 virtual void Maximize() OVERRIDE;
28 virtual void Minimize() OVERRIDE;
29 virtual void Unminimize() OVERRIDE;
30 virtual bool IsMinimized() const OVERRIDE;
32 static void HandleConfigure(void* data,
33 struct wl_shell_surface* shell_surface,
37 static void HandlePopupDone(void* data,
38 struct wl_shell_surface* shell_surface);
39 static void HandlePing(void* data,
40 struct wl_shell_surface* shell_surface,
44 wl_shell_surface* shell_surface_;
45 DISALLOW_COPY_AND_ASSIGN(WLShellSurface);
48 } // namespace ozonewayland
50 #endif // OZONE_WAYLAND_SHELL_WL_SHELL_SURFACE_H_