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

Side by Side Diff: ppapi/c/dev/ppb_console_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, 8 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_char_set_dev.h ('k') | ppapi/c/dev/ppb_context_3d_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) 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 #ifndef PPAPI_C_DEV_PPB_CONSOLE_DEV_H_ 5 #ifndef PPAPI_C_DEV_PPB_CONSOLE_DEV_H_
6 #define PPAPI_C_DEV_PPB_CONSOLE_DEV_H_ 6 #define PPAPI_C_DEV_PPB_CONSOLE_DEV_H_
7 7
8 #include "ppapi/c/pp_instance.h" 8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/c/pp_var.h" 9 #include "ppapi/c/pp_var.h"
10 10
11 #define PPB_CONSOLE_DEV_INTERFACE "PPB_Console(Dev);0.1" 11 #define PPB_CONSOLE_DEV_INTERFACE_0_1 "PPB_Console(Dev);0.1"
12 #define PPB_CONSOLE_DEV_INTERFACE PPB_CONSOLE_DEV_INTERFACE_0_1
12 13
13 typedef enum { 14 typedef enum {
14 PP_LOGLEVEL_TIP = 0, 15 PP_LOGLEVEL_TIP = 0,
15 PP_LOGLEVEL_LOG, 16 PP_LOGLEVEL_LOG,
16 PP_LOGLEVEL_WARNING, 17 PP_LOGLEVEL_WARNING,
17 PP_LOGLEVEL_ERROR 18 PP_LOGLEVEL_ERROR
18 } PP_LogLevel_Dev; 19 } PP_LogLevel_Dev;
19 20
20 struct PPB_Console_Dev { 21 struct PPB_Console_Dev {
21 /** 22 /**
(...skipping 14 matching lines...) Expand all
36 * interpreter, you would want log messages to contain the source .py file 37 * interpreter, you would want log messages to contain the source .py file
37 * doing the log statement rather than have "python" show up in the console. 38 * doing the log statement rather than have "python" show up in the console.
38 */ 39 */
39 void (*LogWithSource)(PP_Instance instance, 40 void (*LogWithSource)(PP_Instance instance,
40 PP_LogLevel_Dev level, 41 PP_LogLevel_Dev level,
41 struct PP_Var source, 42 struct PP_Var source,
42 struct PP_Var value); 43 struct PP_Var value);
43 }; 44 };
44 45
45 #endif // PPAPI_C_DEV_PPB_CONSOLE_DEV_H_ 46 #endif // PPAPI_C_DEV_PPB_CONSOLE_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_char_set_dev.h ('k') | ppapi/c/dev/ppb_context_3d_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698