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

Side by Side Diff: ppapi/api/dev/ppb_console_dev.idl

Issue 8522002: Add values to all dev Pepper .idl enumerations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/api/dev/pp_video_dev.idl ('k') | ppapi/api/dev/ppb_file_chooser_dev.idl » ('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 5
6 /** 6 /**
7 * This file defines the <code>PPB_Console_Dev</code> interface. 7 * This file defines the <code>PPB_Console_Dev</code> interface.
8 */ 8 */
9 9
10 label Chrome { 10 label Chrome {
11 M14 = 0.1 11 M14 = 0.1
12 }; 12 };
13 13
14 [assert_size(4)] 14 [assert_size(4)]
15 enum PP_LogLevel_Dev { 15 enum PP_LogLevel_Dev {
16 PP_LOGLEVEL_TIP = 0, 16 PP_LOGLEVEL_TIP = 0,
17 PP_LOGLEVEL_LOG, 17 PP_LOGLEVEL_LOG = 1,
18 PP_LOGLEVEL_WARNING, 18 PP_LOGLEVEL_WARNING = 2,
19 PP_LOGLEVEL_ERROR 19 PP_LOGLEVEL_ERROR = 3
20 }; 20 };
21 21
22 interface PPB_Console_Dev { 22 interface PPB_Console_Dev {
23 /** 23 /**
24 * Logs the given message to the JavaScript console associated with the 24 * Logs the given message to the JavaScript console associated with the
25 * given plugin instance with the given logging level. The name of the plugin 25 * given plugin instance with the given logging level. The name of the plugin
26 * issuing the log message will be automatically prepended to the message. 26 * issuing the log message will be automatically prepended to the message.
27 * The value may be any type of Var. 27 * The value may be any type of Var.
28 */ 28 */
29 void Log( 29 void Log(
(...skipping 10 matching lines...) Expand all
40 * wish to override this. For example, if your plugin is a Python 40 * wish to override this. For example, if your plugin is a Python
41 * interpreter, you would want log messages to contain the source .py file 41 * interpreter, you would want log messages to contain the source .py file
42 * doing the log statement rather than have "python" show up in the console. 42 * doing the log statement rather than have "python" show up in the console.
43 */ 43 */
44 void LogWithSource( 44 void LogWithSource(
45 [in] PP_Instance instance, 45 [in] PP_Instance instance,
46 [in] PP_LogLevel_Dev level, 46 [in] PP_LogLevel_Dev level,
47 [in] PP_Var source, 47 [in] PP_Var source,
48 [in] PP_Var value); 48 [in] PP_Var value);
49 }; 49 };
OLDNEW
« no previous file with comments | « ppapi/api/dev/pp_video_dev.idl ('k') | ppapi/api/dev/ppb_file_chooser_dev.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698