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

Unified Diff: ppapi/c/private/ppp_instance_private.h

Issue 11013014: Convert InstancePrivate to IDL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/c/private/ppp_instance_private.h
diff --git a/ppapi/c/private/ppp_instance_private.h b/ppapi/c/private/ppp_instance_private.h
index e587d26e3f6cb5b53ae3736a6f42426b67cb7d3f..aa439a017206aa6681749dff93e0f122f0e55428 100644
--- a/ppapi/c/private/ppp_instance_private.h
+++ b/ppapi/c/private/ppp_instance_private.h
@@ -1,35 +1,40 @@
-/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
+/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
+/* From private/ppp_instance_private.idl modified Tue Oct 2 13:42:46 2012. */
+
#ifndef PPAPI_C_PRIVATE_PPP_INSTANCE_PRIVATE_H_
#define PPAPI_C_PRIVATE_PPP_INSTANCE_PRIVATE_H_
+#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
+#include "ppapi/c/pp_macros.h"
+#include "ppapi/c/pp_stdint.h"
+#include "ppapi/c/pp_var.h"
-struct PP_Var;
-
-#define PPP_INSTANCE_PRIVATE_INTERFACE "PPP_Instance_Private;0.1"
+#define PPP_INSTANCE_PRIVATE_INTERFACE_0_1 "PPP_Instance_Private;0.1"
+#define PPP_INSTANCE_PRIVATE_INTERFACE PPP_INSTANCE_PRIVATE_INTERFACE_0_1
/**
* @file
* This file defines the PPP_InstancePrivate structure; a series of functions
* that a trusted plugin may implement to provide capabilities only available
* to trusted plugins.
- *
*/
-/** @addtogroup Interfaces
+
+/**
+ * @addtogroup Interfaces
* @{
*/
-
/**
* The PPP_Instance_Private interface contains pointers to a series of
* functions that may be implemented in a trusted plugin to provide capabilities
* that aren't possible in untrusted modules.
*/
-
-struct PPP_Instance_Private {
+struct PPP_Instance_Private_0_1 {
/**
* GetInstanceObject returns a PP_Var representing the scriptable object for
* the given instance. Normally this will be a PPP_Class_Deprecated object
@@ -46,6 +51,8 @@ struct PPP_Instance_Private {
*/
struct PP_Var (*GetInstanceObject)(PP_Instance instance);
};
+
+typedef struct PPP_Instance_Private_0_1 PPP_Instance_Private;
/**
* @}
*/
« no previous file with comments | « ppapi/api/private/ppp_instance_private.idl ('k') | ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698