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

Side by Side Diff: components/mus/public/interfaces/cursor.mojom

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module mus.mojom; 5 module mus.mojom;
6 6
7 // Standard Cursor numbers. These are the same as Chrome's ui::Cursor and 7 // Standard Cursor numbers. These are the same as Chrome's ui::Cursor and
8 // blink's WebCursorInfo. 8 // blink's WebCursorInfo.
9 enum Cursor { 9 enum Cursor {
10 // NULL is kept for compatibility with chrome declarations. In chrome code, it 10 // NULL is kept for compatibility with chrome declarations. In chrome code, it
11 // is treated exactly like POINTER, the default pointer. 11 // is treated exactly like POINTER, the default pointer.
12 NULL = 0, 12 CURSOR_NULL = 0,
13 POINTER, 13 POINTER,
14 CROSS, 14 CROSS,
15 HAND, 15 HAND,
16 IBEAM, 16 IBEAM,
17 WAIT, 17 WAIT,
18 HELP, 18 HELP,
19 EAST_RESIZE, 19 EAST_RESIZE,
20 NORTH_RESIZE, 20 NORTH_RESIZE,
21 NORTH_EAST_RESIZE, 21 NORTH_EAST_RESIZE,
22 NORTH_WEST_RESIZE, 22 NORTH_WEST_RESIZE,
(...skipping 25 matching lines...) Expand all
48 NO_DROP, 48 NO_DROP,
49 COPY, 49 COPY,
50 NONE, 50 NONE,
51 NOT_ALLOWED, 51 NOT_ALLOWED,
52 ZOOM_IN, 52 ZOOM_IN,
53 ZOOM_OUT, 53 ZOOM_OUT,
54 GRAB, 54 GRAB,
55 GRABBING, 55 GRABBING,
56 CUSTOM 56 CUSTOM
57 }; 57 };
OLDNEW
« no previous file with comments | « components/mus/public/cpp/tests/window_unittest.cc ('k') | components/mus/public/interfaces/input_event_constants.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698