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

Unified Diff: ppapi/cpp/instance.h

Issue 11416214: PPAPI: Move PPB_Console out of dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
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.
///

Powered by Google App Engine
This is Rietveld 408576698