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

Unified Diff: components/mus/public/interfaces/cursor.mojom

Issue 1465803003: mus: Let clients set the cursor of their window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync pass the nacl breakage Created 5 years 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
Index: components/mus/public/interfaces/cursor.mojom
diff --git a/components/mus/public/interfaces/cursor.mojom b/components/mus/public/interfaces/cursor.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..c92aef24aa7c909175a33dd82314204c5b2a4126
--- /dev/null
+++ b/components/mus/public/interfaces/cursor.mojom
@@ -0,0 +1,57 @@
+// Copyright 2015 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.
+
+module mus.mojom;
+
+// Standard Cursor numbers. These are the same as Chrome's ui::Cursor and
+// blink's WebCursorInfo.
+enum Cursor {
+ // NULL is kept for compatibility with chrome declarations. In chrome code, it
+ // is treated exactly like POINTER, the default pointer.
+ NULL = 0,
+ POINTER,
+ CROSS,
+ HAND,
+ IBEAM,
+ WAIT,
+ HELP,
+ EAST_RESIZE,
+ NORTH_RESIZE,
+ NORTH_EAST_RESIZE,
+ NORTH_WEST_RESIZE,
+ SOUTH_RESIZE,
+ SOUTH_EAST_RESIZE,
+ SOUTH_WEST_RESIZE,
+ WEST_RESIZE,
+ NORTH_SOUTH_RESIZE,
+ EAST_WEST_RESIZE,
+ NORTH_EAST_SOUTH_WEST_RESIZE,
+ NORTH_WEST_SOUTH_EAST_RESIZE,
+ COLUMN_RESIZE,
+ ROW_RESIZE,
+ MIDDLE_PANNING,
+ EAST_PANNING,
+ NORTH_PANNING,
+ NORTH_EAST_PANNING,
+ NORTH_WEST_PANNING,
+ SOUTH_PANNING,
+ SOUTH_EAST_PANNING,
+ SOUTH_WEST_PANNING,
+ WEST_PANNING,
+ MOVE,
+ VERTICAL_TEXT,
+ CELL,
+ CONTEXT_MENU,
+ ALIAS,
+ PROGRESS,
+ NO_DROP,
+ COPY,
+ NONE,
+ NOT_ALLOWED,
+ ZOOM_IN,
+ ZOOM_OUT,
+ GRAB,
+ GRABBING,
+ CUSTOM
+};

Powered by Google App Engine
This is Rietveld 408576698