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

Unified Diff: ui/wayland/wayland_cursor.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_buffer.cc ('k') | ui/wayland/wayland_cursor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wayland/wayland_cursor.h
diff --git a/ui/wayland/wayland_cursor.h b/ui/wayland/wayland_cursor.h
deleted file mode 100644
index 748252b79cc568d2e980e38b7f6bb44ec7e2a971..0000000000000000000000000000000000000000
--- a/ui/wayland/wayland_cursor.h
+++ /dev/null
@@ -1,42 +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_CURSOR_H_
-#define UI_WAYLAND_WAYLAND_CURSOR_H_
-
-#include "base/basictypes.h"
-
-namespace ui {
-
-class WaylandDisplay;
-class WaylandShmBuffer;
-
-// This class allows applications to change the currently displaying cursor.
-class WaylandCursor {
- public:
- // Types of Wayland cursors supported
- enum Type {
- ARROW_CURSOR,
- HAND_CURSOR,
- };
-
- explicit WaylandCursor(WaylandDisplay* display);
- ~WaylandCursor();
-
- // Used to change the current type to the type specified in 'type'
- void ChangeCursor(Type type);
-
- private:
- // Pointer to the current display. This is not owned by this class.
- WaylandDisplay* display_;
- // The currently set cursor image.
- // This class should dispose of this on deletion.
- WaylandShmBuffer* buffer_;
-
- DISALLOW_COPY_AND_ASSIGN(WaylandCursor);
-};
-
-} // namespace ui
-
-#endif // UI_WAYLAND_WAYLAND_CURSOR_H_
« no previous file with comments | « ui/wayland/wayland_buffer.cc ('k') | ui/wayland/wayland_cursor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698