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

Unified Diff: ppapi/c/ppb_instance.h

Issue 7399016: More trivial cleanupi of ppapi/c headers (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
« no previous file with comments | « ppapi/c/ppb_input_event.h ('k') | ppapi/c/ppb_messaging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_instance.h
===================================================================
--- ppapi/c/ppb_instance.h (revision 92804)
+++ ppapi/c/ppb_instance.h (working copy)
@@ -2,32 +2,38 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
+/* From ppb_instance.idl modified Mon Jul 18 12:54:08 2011. */
+
#ifndef PPAPI_C_PPB_INSTANCE_H_
#define PPAPI_C_PPB_INSTANCE_H_
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
+#include "ppapi/c/pp_macros.h"
#include "ppapi/c/pp_resource.h"
+#include "ppapi/c/pp_stdint.h"
+#include "ppapi/c/pp_var.h"
-#define PPB_INSTANCE_INTERFACE_0_5 "PPB_Instance;0.5"
-#define PPB_INSTANCE_INTERFACE_1_0 "PPB_Instance;1.0"
-#define PPB_INSTANCE_INTERFACE PPB_INSTANCE_INTERFACE_1_0
-
/**
* @file
* This file defines the PPB_Instance interface implemented by the
* browser and containing pointers to functions related to
* the module instance on a web page.
- *
+ */
+
+
+/**
* @addtogroup Interfaces
* @{
*/
-
/**
* The PPB_Instance interface contains pointers to functions
* related to the module instance on a web page.
- *
*/
+#define PPB_INSTANCE_INTERFACE_0_5 "PPB_Instance;0.5"
+#define PPB_INSTANCE_INTERFACE_1_0 "PPB_Instance;1.0"
+#define PPB_INSTANCE_INTERFACE PPB_INSTANCE_INTERFACE_1_0
struct PPB_Instance {
/**
@@ -58,7 +64,6 @@
* instance, so the caller can release its reference if it chooses.
*/
PP_Bool (*BindGraphics)(PP_Instance instance, PP_Resource device);
-
/**
* IsFullFrame() determines if the module instance is full-frame (repr).
* Such a module represents the entire document in a frame rather than an
@@ -73,11 +78,7 @@
* instance is full-frame.
*/
PP_Bool (*IsFullFrame)(PP_Instance instance);
-
};
-
-typedef struct PPB_Instance PPB_Instance_1_0;
-
/**
* @}
*/
« no previous file with comments | « ppapi/c/ppb_input_event.h ('k') | ppapi/c/ppb_messaging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698