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

Side by Side Diff: ppapi/c/dev/pp_cursor_type_dev.h

Issue 5674004: Add compile assertions to enforce the sizes of all structs and enums in the C... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/c/dev/pp_file_info_dev.h » ('j') | ppapi/c/dev/pp_video_dev.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef PPAPI_C_DEV_PP_CURSORTYPE_DEV_H_ 5 #ifndef PPAPI_C_DEV_PP_CURSORTYPE_DEV_H_
6 #define PPAPI_C_DEV_PP_CURSORTYPE_DEV_H_ 6 #define PPAPI_C_DEV_PP_CURSORTYPE_DEV_H_
7 7
8 #include "ppapi/c/pp_macros.h"
9
8 enum PP_CursorType_Dev { 10 enum PP_CursorType_Dev {
9 PP_CURSORTYPE_POINTER = 0, 11 PP_CURSORTYPE_POINTER = 0,
10 PP_CURSORTYPE_CROSS = 1, 12 PP_CURSORTYPE_CROSS = 1,
11 PP_CURSORTYPE_HAND = 2, 13 PP_CURSORTYPE_HAND = 2,
12 PP_CURSORTYPE_IBEAM = 3, 14 PP_CURSORTYPE_IBEAM = 3,
13 PP_CURSORTYPE_WAIT = 4, 15 PP_CURSORTYPE_WAIT = 4,
14 PP_CURSORTYPE_HELP = 5, 16 PP_CURSORTYPE_HELP = 5,
15 PP_CURSORTYPE_EASTRESIZE = 6, 17 PP_CURSORTYPE_EASTRESIZE = 6,
16 PP_CURSORTYPE_NORTHRESIZE = 7, 18 PP_CURSORTYPE_NORTHRESIZE = 7,
17 PP_CURSORTYPE_NORTHEASTRESIZE = 8, 19 PP_CURSORTYPE_NORTHEASTRESIZE = 8,
(...skipping 24 matching lines...) Expand all
42 PP_CURSORTYPE_ALIAS = 33, 44 PP_CURSORTYPE_ALIAS = 33,
43 PP_CURSORTYPE_PROGRESS = 34, 45 PP_CURSORTYPE_PROGRESS = 34,
44 PP_CURSORTYPE_NODROP = 35, 46 PP_CURSORTYPE_NODROP = 35,
45 PP_CURSORTYPE_COPY = 36, 47 PP_CURSORTYPE_COPY = 36,
46 PP_CURSORTYPE_NONE = 37, 48 PP_CURSORTYPE_NONE = 37,
47 PP_CURSORTYPE_NOTALLOWED = 38, 49 PP_CURSORTYPE_NOTALLOWED = 38,
48 PP_CURSORTYPE_ZOOMIN = 39, 50 PP_CURSORTYPE_ZOOMIN = 39,
49 PP_CURSORTYPE_ZOOMOUT = 40, 51 PP_CURSORTYPE_ZOOMOUT = 40,
50 PP_CURSORTYPE_CUSTOM = 41 52 PP_CURSORTYPE_CUSTOM = 41
51 }; 53 };
54 PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(PP_CursorType_Dev, 4);
52 55
53 #endif // PPAPI_C_DEV_PP_CURSORTYPE_DEV_H_ 56 #endif // PPAPI_C_DEV_PP_CURSORTYPE_DEV_H_
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/dev/pp_file_info_dev.h » ('j') | ppapi/c/dev/pp_video_dev.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698