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

Unified Diff: ui/wayland/wayland_shm_buffer.h

Issue 10009024: Remove WAYLAND port (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/wayland/wayland_screen.cc ('k') | ui/wayland/wayland_shm_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wayland/wayland_shm_buffer.h
diff --git a/ui/wayland/wayland_shm_buffer.h b/ui/wayland/wayland_shm_buffer.h
deleted file mode 100644
index 7712be310909e50f3dd4ad3fe2722162c3d0b7f6..0000000000000000000000000000000000000000
--- a/ui/wayland/wayland_shm_buffer.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// 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 UI_WAYLAND_WAYLAND_SHM_BUFFER_H_
-#define UI_WAYLAND_WAYLAND_SHM_BUFFER_H_
-
-#include <stdint.h>
-
-#include "base/basictypes.h"
-#include "ui/wayland/wayland_buffer.h"
-
-typedef struct _cairo_surface cairo_surface_t;
-
-namespace ui {
-
-class WaylandDisplay;
-
-// A SHM implementation for the WaylandBuffer.
-class WaylandShmBuffer : public WaylandBuffer {
- public:
- // Creates a Wayland buffer with the given width and height.
- WaylandShmBuffer(WaylandDisplay* display, uint32_t width, uint32_t height);
- virtual ~WaylandShmBuffer();
-
- // Returns a pointer to the surface associated with the buffer.
- // This object maintains ownership of the surface.
- cairo_surface_t* data_surface() const { return data_surface_; }
-
- private:
- // The surface associated with the Wayland buffer.
- cairo_surface_t* data_surface_;
-
- DISALLOW_COPY_AND_ASSIGN(WaylandShmBuffer);
-};
-
-} // namespace ui
-
-#endif // UI_WAYLAND_WAYLAND_SHM_BUFFER_H_
« no previous file with comments | « ui/wayland/wayland_screen.cc ('k') | ui/wayland/wayland_shm_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698