diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-20 22:04:32 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-20 22:04:32 +0000 |
commit | d912c698831fee8a5dd35ec603c2127663f593ed (patch) | |
tree | 2652decd8a67ee8dfe1b409006665ad21cdd0919 /ppapi/api/ppb_instance.idl | |
parent | 45cce16952513f09dc045533d16e0135094fc3e3 (diff) | |
download | chromium_src-d912c698831fee8a5dd35ec603c2127663f593ed.zip chromium_src-d912c698831fee8a5dd35ec603c2127663f593ed.tar.gz chromium_src-d912c698831fee8a5dd35ec603c2127663f593ed.tar.bz2 |
Convert input event to interface version 1.0. Rename some of the mouse and
wheel events to remove the redundant "Mouse" and "Wheel" in the getters.
Rename PP_INPUTEVENT_TYPE_MOUSEWHEEL to .._WHEEL so that it doesn't look
like a mouse event (it's its own type).
Add documentation to the C++ wrapper from the C wrappers. Do some minor
documentation updates.
Update IDL for some of the recent changes we've made. Update the way points
are passed for resource creation since IDL wanted to do it by pointer.
TEST=it compiles.
Review URL: http://codereview.chromium.org/7464003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93263 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api/ppb_instance.idl')
-rw-r--r-- | ppapi/api/ppb_instance.idl | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/ppapi/api/ppb_instance.idl b/ppapi/api/ppb_instance.idl index fefc785..12bf46f 100644 --- a/ppapi/api/ppb_instance.idl +++ b/ppapi/api/ppb_instance.idl @@ -28,15 +28,14 @@ interface PPB_Instance { PP_Var GetOwnerElementObject([in] PP_Instance instance); /** - * BindGraphics() binds the given graphics as the current drawing surface. - * The contents of this device is what will be displayed in the module's + * BindGraphics() binds the given graphics as the current display surface. + * The contents of this device is what will be displayed in the instance's * area on the web page. The device must be a 2D or a 3D device. * * You can pass a <code>NULL</code> resource as the device parameter to * unbind all devices from the given instance. The instance will then appear * transparent. Re-binding the same device will return <code>PP_TRUE</code> - * and will do nothing. Unbinding a device will drop any pending flush - * callbacks. + * and will do nothing. * * Any previously-bound device will be released. It is an error to bind * a device when it is already bound to another instance. If you want @@ -59,11 +58,11 @@ interface PPB_Instance { [in] 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 - * embedded resource. This can happen if the user does a top-level - * navigation or the page specifies an iframe to a resource with a MIME - * type registered by the module. + * IsFullFrame() determines if the instance is full-frame. Such an instance + * represents the entire document in a frame rather than an embedded + * resource. This can happen if the user does a top-level navigation or the + * page specifies an iframe to a resource with a MIME type registered by the + * module. * * @param[in] instance A <code>PP_Instance</code> indentifying one instance * of a module. |