| Index: ui/wayland/wayland_shm_buffer.h
|
| diff --git a/ui/wayland/wayland_shm_buffer.h b/ui/wayland/wayland_shm_buffer.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3a3fd04dd75fde877f0191de1c768e8127f52594
|
| --- /dev/null
|
| +++ b/ui/wayland/wayland_shm_buffer.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WAYLAND_SHM_BUFFER_H_
|
| +#define WAYLAND_SHM_BUFFER_H_
|
| +
|
| +#include "wayland_buffer.h"
|
| +#include "wayland_display.h"
|
| +
|
| +#include <stdint.h>
|
| +
|
| +typedef struct _cairo_surface cairo_surface_t;
|
| +
|
| +class WaylandShmBuffer : public WaylandBuffer {
|
| + public:
|
| + WaylandShmBuffer(WaylandDisplay* display, uint32_t width, uint32_t height);
|
| + virtual ~WaylandShmBuffer();
|
| +
|
| + cairo_surface_t* GetDataSurface() const;
|
| + private:
|
| + cairo_surface_t* cairo_data_surface_;
|
| +};
|
| +
|
| +#endif
|
|
|