Chromium Code Reviews| Index: ppapi/cpp/instance.h |
| diff --git a/ppapi/cpp/instance.h b/ppapi/cpp/instance.h |
| index 5e7931cb16926eb05e3090ddc46b1d48e904f681..383ff960816c71830ca284aa4d0e5c82bb3e63b0 100644 |
| --- a/ppapi/cpp/instance.h |
| +++ b/ppapi/cpp/instance.h |
| @@ -14,6 +14,7 @@ |
| #include "ppapi/c/pp_instance.h" |
| #include "ppapi/c/pp_resource.h" |
| #include "ppapi/c/pp_stdint.h" |
| +#include "ppapi/c/ppb_console.h" |
| #include "ppapi/cpp/instance_handle.h" |
| #include "ppapi/cpp/view.h" |
| @@ -472,6 +473,19 @@ class Instance { |
| /// @} |
| + // @{ |
| + /// @name PPB_Console methods for logging to the console: |
| + |
| + /// See PPB_Console.Log. |
| + void LogToConsole(PP_LogLevel level, const Var& value); |
| + |
| + /// See PPB_Console.LogWithSource. |
| + void LogToConsoleWithSource(PP_LogLevel level, |
| + const Var& source, |
| + const Var& value); |
|
dmichael (off chromium)
2012/12/04 15:32:33
For public APIs, we try to keep the documentation
Nick Bray (chromium)
2012/12/04 23:14:56
Done.
|
| + |
| + // @} |
| + |
| /// AddPerInstanceObject() associates an instance with an interface, |
| /// creating an object. |
| /// |