| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 [generate_thunk] |
| 11 |
| 10 label Chrome { | 12 label Chrome { |
| 11 M14 = 0.1 | 13 M14 = 0.1 |
| 12 }; | 14 }; |
| 13 | 15 |
| 14 [assert_size(4)] | 16 [assert_size(4)] |
| 15 enum PP_LogLevel_Dev { | 17 enum PP_LogLevel_Dev { |
| 16 PP_LOGLEVEL_TIP = 0, | 18 PP_LOGLEVEL_TIP = 0, |
| 17 PP_LOGLEVEL_LOG = 1, | 19 PP_LOGLEVEL_LOG = 1, |
| 18 PP_LOGLEVEL_WARNING = 2, | 20 PP_LOGLEVEL_WARNING = 2, |
| 19 PP_LOGLEVEL_ERROR = 3 | 21 PP_LOGLEVEL_ERROR = 3 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 40 * wish to override this. For example, if your plugin is a Python | 42 * 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 | 43 * 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. | 44 * doing the log statement rather than have "python" show up in the console. |
| 43 */ | 45 */ |
| 44 void LogWithSource( | 46 void LogWithSource( |
| 45 [in] PP_Instance instance, | 47 [in] PP_Instance instance, |
| 46 [in] PP_LogLevel_Dev level, | 48 [in] PP_LogLevel_Dev level, |
| 47 [in] PP_Var source, | 49 [in] PP_Var source, |
| 48 [in] PP_Var value); | 50 [in] PP_Var value); |
| 49 }; | 51 }; |
| OLD | NEW |