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

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

Issue 6893022: Add version-specific defines for each C interface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/dev/ppb_surface_3d_dev.h ('k') | ppapi/c/dev/ppb_transport_dev.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) 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_PPB_TESTING_DEV_H_ 5 #ifndef PPAPI_C_DEV_PPB_TESTING_DEV_H_
6 #define PPAPI_C_DEV_PPB_TESTING_DEV_H_ 6 #define PPAPI_C_DEV_PPB_TESTING_DEV_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_resource.h" 10 #include "ppapi/c/pp_resource.h"
11 #include "ppapi/c/pp_stdint.h" 11 #include "ppapi/c/pp_stdint.h"
12 12
13 struct PP_Point; 13 struct PP_Point;
14 14
15 #define PPB_TESTING_DEV_INTERFACE "PPB_Testing(Dev);0.6" 15 #define PPB_TESTING_DEV_INTERFACE_0_6 "PPB_Testing(Dev);0.6"
16 #define PPB_TESTING_DEV_INTERFACE PPB_TESTING_DEV_INTERFACE_0_6
16 17
17 // This interface contains functions used for unit testing. Do not use in 18 // This interface contains functions used for unit testing. Do not use in
18 // production code. They are not guaranteed to be available in normal plugin 19 // production code. They are not guaranteed to be available in normal plugin
19 // environments so you should not depend on them. 20 // environments so you should not depend on them.
20 struct PPB_Testing_Dev { 21 struct PPB_Testing_Dev {
21 // Reads the bitmap data out of the backing store for the given 22 // Reads the bitmap data out of the backing store for the given
22 // DeviceContext2D and into the given image. If the data was successfully 23 // DeviceContext2D and into the given image. If the data was successfully
23 // read, it will return PP_TRUE. 24 // read, it will return PP_TRUE.
24 // 25 //
25 // This function should not generally be necessary for normal plugin 26 // This function should not generally be necessary for normal plugin
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void (*QuitMessageLoop)(PP_Instance instance); 65 void (*QuitMessageLoop)(PP_Instance instance);
65 66
66 // Returns the number of live objects (resources + strings + objects) 67 // Returns the number of live objects (resources + strings + objects)
67 // associated with this plugin instance. Used for detecting leaks. Returns 68 // associated with this plugin instance. Used for detecting leaks. Returns
68 // (uint32_t)-1 on failure. 69 // (uint32_t)-1 on failure.
69 uint32_t (*GetLiveObjectsForInstance)(PP_Instance instance); 70 uint32_t (*GetLiveObjectsForInstance)(PP_Instance instance);
70 }; 71 };
71 72
72 #endif /* PPAPI_C_DEV_PPB_TESTING_DEV_H_ */ 73 #endif /* PPAPI_C_DEV_PPB_TESTING_DEV_H_ */
73 74
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_surface_3d_dev.h ('k') | ppapi/c/dev/ppb_transport_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698