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

Side by Side Diff: ppapi/c/pp_size.h

Issue 7399016: More trivial cleanupi of ppapi/c headers (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/c/pp_resource.h ('k') | ppapi/c/pp_time.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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
6 /* From pp_size.idl modified Sat Jul 16 16:50:26 2011. */
7
5 #ifndef PPAPI_C_PP_SIZE_H_ 8 #ifndef PPAPI_C_PP_SIZE_H_
6 #define PPAPI_C_PP_SIZE_H_ 9 #define PPAPI_C_PP_SIZE_H_
7 10
11 #include "ppapi/c/pp_macros.h"
12 #include "ppapi/c/pp_stdint.h"
13
8 /** 14 /**
9 * @file 15 * @file
10 * This file defines the width and height of a 2D rectangle. 16 * This file defines the width and height of a 2D rectangle.
11 */ 17 */
12 18
13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_stdint.h"
15 19
16 /** 20 /**
17 * @addtogroup Structs 21 * @addtogroup Structs
18 * @{ 22 * @{
19 */ 23 */
20
21 /** 24 /**
22 * The <code>PP_Size</code> struct contains the size of a 2D rectangle. 25 * The <code>PP_Size</code> struct contains the size of a 2D rectangle.
23 */ 26 */
24 struct PP_Size { 27 struct PP_Size {
25 /** This value represents the width of the rectangle. */ 28 /** This value represents the width of the rectangle. */
26 int32_t width; 29 int32_t width;
27 /** This value represents the height of the rectangle. */ 30 /** This value represents the height of the rectangle. */
28 int32_t height; 31 int32_t height;
29 }; 32 };
30 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_Size, 8); 33 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_Size, 8);
(...skipping 19 matching lines...) Expand all
50 struct PP_Size ret; 53 struct PP_Size ret;
51 ret.width = w; 54 ret.width = w;
52 ret.height = h; 55 ret.height = h;
53 return ret; 56 return ret;
54 } 57 }
55 /** 58 /**
56 * @} 59 * @}
57 */ 60 */
58 #endif /* PPAPI_C_PP_SIZE_H_ */ 61 #endif /* PPAPI_C_PP_SIZE_H_ */
59 62
OLDNEW
« no previous file with comments | « ppapi/c/pp_resource.h ('k') | ppapi/c/pp_time.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698