Home | History | Annotate | Download | only in c

Lines Matching full:instance

44    * DidCreate() is a creation handler that is called when a new instance is
49 * your module associates with an instance and creating a mapping from the
52 * identify which instance the call pertains to.
54 * It's possible for more than one instance to be created in a single module.
57 * multiple states associated with each instance.
60 * the instance will be deleted.
62 * @param[in] instance A new <code>PP_Instance</code> identifying one
63 * instance of a module. This is an opaque handle.
82 PP_Bool (*DidCreate)(PP_Instance instance,
87 * DidDestroy() is an instance destruction handler. This function is called
88 * in many cases (see below) when a module instance is destroyed. It will be
94 * instance but this isn't required; all resources associated with the deleted
95 * instance will be automatically freed when this function returns.
97 * The instance identifier will still be valid during this call, so the module
110 * @param[in] instance A <code>PP_Instance</code> identifying one instance
113 void (*DidDestroy)(PP_Instance instance);
116 * attributes of the instance has changed.
118 void (*DidChangeView)(PP_Instance instance, PP_Resource view);
120 * DidChangeFocus() is called when an instance has gained or lost focus.
121 * Having focus means that keyboard events will be sent to the instance.
122 * An instance's default condition is that it will not have focus.
127 * selected in the window, and the instance must be the focused element on
141 * @param[in] instance A <code>PP_Instance</code> identifying the instance
144 * @param[in] has_focus Indicates the new focused state of the instance.
146 void (*DidChangeFocus)(PP_Instance instance, PP_Bool has_focus);
149 * instance that was instantiated based on the MIME type of a DOMWindow
156 * <code>PPB_URLLoader</code> instance that is already opened. Its response
166 * @param[in] instance A <code>PP_Instance</code> identifying the instance
169 * @param[in] url_loader An open <code>PPB_URLLoader</code> instance.
175 PP_Bool (*HandleDocumentLoad)(PP_Instance instance, PP_Resource url_loader);
181 PP_Bool (*DidCreate)(PP_Instance instance,
185 void (*DidDestroy)(PP_Instance instance);
186 void (*DidChangeView)(PP_Instance instance,
189 void (*DidChangeFocus)(PP_Instance instance, PP_Bool has_focus);
190 PP_Bool (*HandleDocumentLoad)(PP_Instance instance, PP_Resource url_loader);