Searched refs:instance (Results 251 - 275 of 2104) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/ppapi/proxy/
H A Dppp_graphics_3d_proxy.cc19 void ContextLost(PP_Instance instance) { argument
20 HostDispatcher::GetForInstance(instance)->Send(
21 new PpapiMsg_PPPGraphics3D_ContextLost(API_ID_PPP_GRAPHICS_3D, instance));
64 void PPP_Graphics3D_Proxy::OnMsgContextLost(PP_Instance instance) { argument
66 CallWhileUnlocked(ppp_graphics_3d_impl_->Graphics3DContextLost, instance);
H A Dppp_instance_proxy.h44 void OnPluginMsgDidCreate(PP_Instance instance,
48 void OnPluginMsgDidDestroy(PP_Instance instance);
49 void OnPluginMsgDidChangeView(PP_Instance instance,
52 void OnPluginMsgDidChangeFocus(PP_Instance instance, PP_Bool has_focus);
53 void OnPluginMsgHandleDocumentLoad(PP_Instance instance,
H A Dppp_mouse_lock_proxy.cc18 void MouseLockLost(PP_Instance instance) { argument
19 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance);
27 API_ID_PPP_MOUSE_LOCK, instance));
70 void PPP_MouseLock_Proxy::OnMsgMouseLockLost(PP_Instance instance) { argument
72 CallWhileUnlocked(ppp_mouse_lock_impl_->MouseLockLost, instance);
H A Dppp_printing_proxy.h34 void OnPluginMsgQuerySupportedFormats(PP_Instance instance, uint32_t* result);
35 void OnPluginMsgBegin(PP_Instance instance,
39 PP_Instance instance,
42 void OnPluginMsgEnd(PP_Instance instance);
43 void OnPluginMsgIsScalingDisabled(PP_Instance instance, bool* result);
H A Dppp_text_input_proxy.cc18 void RequestSurroundingText(PP_Instance instance, argument
21 proxy::HostDispatcher::GetForInstance(instance);
29 API_ID_PPP_TEXT_INPUT, instance, desired_number_of_characters));
73 PP_Instance instance, uint32_t desired_number_of_characters) {
76 instance, desired_number_of_characters);
72 OnMsgRequestSurroundingText( PP_Instance instance, uint32_t desired_number_of_characters) argument
H A Dppp_input_event_proxy.cc24 PP_Bool HandleInputEvent(PP_Instance instance, PP_Resource input_event) { argument
31 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance);
41 API_ID_PPP_INPUT_EVENT, instance, data, &result));
44 API_ID_PPP_INPUT_EVENT, instance, data));
91 void PPP_InputEvent_Proxy::OnMsgHandleInputEvent(PP_Instance instance, argument
94 OBJECT_IS_PROXY, instance, data));
96 instance,
101 PP_Instance instance,
105 OBJECT_IS_PROXY, instance, data));
107 instance,
100 OnMsgHandleFilteredInputEvent( PP_Instance instance, const InputEventData& data, PP_Bool* result) argument
[all...]
H A Dppp_content_decryptor_private_proxy.cc79 bool InitializePppDecryptorBuffer(PP_Instance instance, argument
96 host_resource.SetHostResource(instance, resource);
114 void Initialize(PP_Instance instance, argument
116 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance);
125 instance,
129 void SetServerCertificate(PP_Instance instance, argument
132 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance);
158 instance,
163 void CreateSession(PP_Instance instance, argument
168 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance);
183 LoadSession(PP_Instance instance, uint32_t promise_id, PP_Var web_session_id) argument
199 UpdateSession(PP_Instance instance, uint32_t promise_id, PP_Var web_session_id, PP_Var response) argument
217 CloseSession(PP_Instance instance, uint32_t promise_id, PP_Var web_session_id) argument
240 RemoveSession(PP_Instance instance, uint32_t promise_id, PP_Var web_session_id) argument
263 GetUsableKeyIds(PP_Instance instance, uint32_t promise_id, PP_Var web_session_id) argument
286 Decrypt(PP_Instance instance, PP_Resource encrypted_block, const PP_EncryptedBlockInfo* encrypted_block_info) argument
323 InitializeAudioDecoder( PP_Instance instance, const PP_AudioDecoderConfig* decoder_config, PP_Resource extra_data_buffer) argument
361 InitializeVideoDecoder( PP_Instance instance, const PP_VideoDecoderConfig* decoder_config, PP_Resource extra_data_buffer) argument
400 DeinitializeDecoder(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) argument
417 ResetDecoder(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) argument
434 DecryptAndDecode(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, const PP_EncryptedBlockInfo* encrypted_block_info) argument
553 OnMsgInitialize( PP_Instance instance, SerializedVarReceiveInput key_system) argument
564 OnMsgSetServerCertificate( PP_Instance instance, uint32_t promise_id, std::vector<uint8_t> server_certificate) argument
588 OnMsgCreateSession( PP_Instance instance, uint32_t promise_id, SerializedVarReceiveInput init_data_type, SerializedVarReceiveInput init_data, PP_SessionType session_type) argument
605 OnMsgLoadSession( PP_Instance instance, uint32_t promise_id, SerializedVarReceiveInput web_session_id) argument
618 OnMsgUpdateSession( PP_Instance instance, uint32_t promise_id, SerializedVarReceiveInput web_session_id, SerializedVarReceiveInput response) argument
633 OnMsgCloseSession( PP_Instance instance, uint32_t promise_id, const std::string& web_session_id) argument
647 OnMsgRemoveSession( PP_Instance instance, uint32_t promise_id, const std::string& web_session_id) argument
661 OnMsgGetUsableKeyIds( PP_Instance instance, uint32_t promise_id, const std::string& web_session_id) argument
675 OnMsgDecrypt( PP_Instance instance, const PPPDecryptor_Buffer& encrypted_buffer, const std::string& serialized_block_info) argument
695 OnMsgInitializeAudioDecoder( PP_Instance instance, const std::string& serialized_decoder_config, const PPPDecryptor_Buffer& extra_data_buffer) argument
721 OnMsgInitializeVideoDecoder( PP_Instance instance, const std::string& serialized_decoder_config, const PPPDecryptor_Buffer& extra_data_buffer) argument
747 OnMsgDeinitializeDecoder( PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) argument
760 OnMsgResetDecoder( PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) argument
773 OnMsgDecryptAndDecode( PP_Instance instance, PP_DecryptorStreamType decoder_type, const PPPDecryptor_Buffer& encrypted_buffer, const std::string& serialized_block_info) argument
[all...]
H A Dppp_messaging_proxy.cc28 PP_Instance instance) {
35 InstanceData* instance_data = plugin_dispatcher->GetInstanceData(instance);
42 void ResetMessageHandler(Dispatcher* dispatcher, PP_Instance instance) { argument
49 InstanceData* instance_data = plugin_dispatcher->GetInstanceData(instance);
87 PP_Instance instance, SerializedVarReceiveInput message_data) {
88 PP_Var received_var(message_data.GetForInstance(dispatcher(), instance));
89 MessageHandler* message_handler = GetMessageHandler(dispatcher(), instance);
100 ResetMessageHandler(dispatcher(), instance); local
104 // we send to the default PPP_Messaging one for the instance.
110 instance,
27 GetMessageHandler(Dispatcher* dispatcher, PP_Instance instance) argument
86 OnMsgHandleMessage( PP_Instance instance, SerializedVarReceiveInput message_data) argument
114 OnMsgHandleBlockingMessage( PP_Instance instance, SerializedVarReceiveInput message_data, IPC::Message* reply_msg) argument
128 ResetMessageHandler(dispatcher(), instance); local
[all...]
/external/chromium_org/ppapi/thunk/
H A Dppb_flash_clipboard_api.h19 virtual uint32_t RegisterCustomFormat(PP_Instance instance,
21 virtual PP_Bool IsFormatAvailable(PP_Instance instance,
24 virtual PP_Var ReadData(PP_Instance instance,
27 virtual int32_t WriteData(PP_Instance instance,
33 PP_Instance instance,
H A Dppb_platform_verification_private_thunk.cc21 PP_Resource Create(PP_Instance instance) { argument
23 EnterResourceCreation enter(instance);
26 return enter.functions()->CreatePlatformVerificationPrivate(instance);
35 int32_t ChallengePlatform(PP_Resource instance, argument
43 EnterResource<PPB_PlatformVerification_API> enter(instance, callback, true);
H A Dppb_char_set_thunk.cc15 char* UTF16ToCharSetDeprecated(PP_Instance instance, argument
20 // We validate the instance just to make sure we can make changes in the
22 EnterInstance enter(instance);
37 // (GetDefaultCharSet) that must be called on the instance object and
42 // functions, and then have the instance impl and proxy call through to the
51 uint16_t* CharSetToUTF16Deprecated(PP_Instance instance, argument
56 // We validate the instance just to make sure we can make changes in the
58 EnterInstance enter(instance);
77 PP_Var GetDefaultCharSet(PP_Instance instance) { argument
78 EnterInstance enter(instance);
[all...]
/external/chromium-trace/trace-viewer/src/cc/
H A Dpicture_test.js18 var instance = p.objects.getAllInstancesNamed('cc::Picture')[0];
19 var snapshot = instance.snapshots[0];
22 instance.wasDeleted(150);
29 var instance = p.objects.getAllInstancesNamed('cc::Picture')[0];
30 var snapshot = instance.snapshots[0];
/external/chromium-trace/trace-viewer/src/tracing/trace_model/
H A Dobject_collection.js38 var instance = new constructor(parent, id, category, name, creationTs);
39 var typeName = instance.typeName;
45 instancesOfTypeName.push(instance);
46 return instance;
114 var instance = this.getObjectInstanceAt(id, ts);
115 if (!instance)
117 return instance.getSnapshotAt(ts);
142 this.iterObjectInstances(function(instance) {
143 instance.preInitialize();
148 this.iterObjectInstances(function(instance) {
[all...]
/external/chromium_org/components/pdf/renderer/
H A Dppb_pdf_impl.cc41 PrivateFontFile(PP_Instance instance, int fd) argument
42 : Resource(ppapi::OBJECT_IS_IMPL, instance), fd_(fd) {}
65 content::PepperPluginInstance* instance = local
67 if (!instance)
79 // Validate the instance before using it below.
124 void SearchString(PP_Instance instance, argument
181 content::PepperPluginInstance* instance = local
183 if (!instance)
185 instance->GetRenderView()->DidStartLoading();
189 content::PepperPluginInstance* instance local
197 content::PepperPluginInstance* instance = local
205 HistogramPDFPageCount(PP_Instance instance, int count) argument
209 UserMetricsRecordAction(PP_Instance instance, PP_Var action) argument
217 content::PepperPluginInstance* instance = local
234 content::PepperPluginInstance* instance = local
249 Print(PP_Instance instance) argument
253 IsFeatureEnabled(PP_Instance instance, PP_PDFFeature feature) argument
269 content::PepperPluginInstance* instance = local
288 content::PepperPluginInstance* instance = local
316 content::PepperPluginInstance* instance = local
[all...]
H A Dpepper_pdf_host.cc40 PP_Instance instance,
42 : ppapi::host::ResourceHost(host->GetPpapiHost(), instance, resource),
84 content::PepperPluginInstance* instance = local
86 if (!instance)
88 instance->GetRenderView()->DidStartLoading();
94 content::PepperPluginInstance* instance = local
96 if (!instance)
98 instance->GetRenderView()->DidStopLoading();
105 content::PepperPluginInstance* instance = local
107 if (!instance)
39 PepperPDFHost(content::RendererPpapiHost* host, PP_Instance instance, PP_Resource resource) argument
125 content::PepperPluginInstance* instance = local
146 content::PepperPluginInstance* instance = local
215 content::PepperPluginInstance* instance = local
226 content::PepperPluginInstance* instance = local
238 CreateImageData( PP_Instance instance, PP_ImageDataFormat format, const PP_Size& size, const SkBitmap& pixels_to_write, ppapi::HostResource* result, PP_ImageDataDesc* out_image_data_desc, IPC::PlatformFileForTransit* out_image_handle, uint32_t* out_byte_count) argument
[all...]
/external/chromium_org/extensions/renderer/resources/
H A Djson_schema.js44 function isInstanceOfClass(instance, className) {
45 while ((instance = instance.__proto__)) {
46 if (instance.constructor.name == className)
64 * Validates an instance against a schema and accumulates errors. Usage:
105 notInstance: "Object must be an instance of *."
232 * Validates an instance against a schema. The instance can be any JavaScript
236 JSONSchemaValidator.prototype.validate = function(instance, schema, opt_path) {
248 // If the schema has an extends property, the instance mus
[all...]
/external/chromium_org/third_party/npapi/npspy/common/
H A Dnpp_gate.cpp62 NPP instance,
72 if(instance == NULL)
76 logger->logCall(action_npp_new, (DWORD)pluginType, (DWORD)instance, (DWORD)mode, (DWORD)argc, (DWORD)argn, (DWORD)argv, (DWORD)saved);
172 NPError rv = epManager->callNPP_New(pluginType, instance, mode, argc, argn, argv, saved);
180 NPError NPP_Destroy (NPP instance, NPSavedData** save) argument
185 if(instance == NULL)
191 logger->logCall(action_npp_destroy, (DWORD)instance, (DWORD)save);
193 NPError rv = epManager->callNPP_Destroy(instance, save, &last);
201 epManager->callNP_Shutdown(instance);
205 epManager->removeEntryPointsForPlugin(instance,
61 NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char* argn[], char* argv[], NPSavedData* saved) argument
212 NPP_SetWindow(NPP instance, NPWindow* pNPWindow) argument
231 NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* stype) argument
254 NPP_WriteReady(NPP instance, NPStream *stream) argument
273 NPP_Write(NPP instance, NPStream *stream, int32 offset, int32 len, void *buffer) argument
292 NPP_DestroyStream(NPP instance, NPStream *stream, NPError reason) argument
311 NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname) argument
325 NPP_Print(NPP instance, NPPrint* printInfo) argument
336 NPP_URLNotify(NPP instance, const char* url, NPReason reason, void* notifyData) argument
350 NPP_GetValue(NPP instance, NPPVariable variable, void *value) argument
369 NPP_SetValue(NPP instance, NPNVariable variable, void *value) argument
388 NPP_HandleEvent(NPP instance, void* event) argument
[all...]
H A Depmanager.cpp47 instance(_instance)
127 void NPPEntryPointManager::removeEntryPointsForPlugin(NPP instance, XP_HLIB * lib) argument
129 NPPluginFuncs * eptoremove = findEntryPointsForInstance(instance);
162 NPPluginFuncs * NPPEntryPointManager::findEntryPointsForInstance(NPP instance) argument
168 if(instances->instance == instance)
189 void NPPEntryPointManager::callNP_Shutdown(NPP instance) argument
195 if(instances->instance == instance)
208 NPError NPPEntryPointManager::callNPP_New(NPMIMEType pluginType, NPP instance, uint1 argument
236 callNPP_Destroy(NPP instance, NPSavedData** save, BOOL * last) argument
281 callNPP_SetWindow(NPP instance, NPWindow* window) argument
290 callNPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* stype) argument
299 callNPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason) argument
308 callNPP_WriteReady(NPP instance, NPStream* stream) argument
317 callNPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer) argument
326 callNPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname) argument
335 callNPP_Print(NPP instance, NPPrint* platformPrint) argument
344 callNPP_URLNotify(NPP instance, const char* url, NPReason reason, void* notifyData) argument
353 callNPP_GetValue(NPP instance, NPPVariable variable, void *value) argument
362 callNPP_SetValue(NPP instance, NPNVariable variable, void *value) argument
371 callNPP_HandleEvent(NPP instance, void* event) argument
[all...]
/external/chromium_org/content/renderer/pepper/
H A Drenderer_ppapi_host_impl.h56 // or NULL if the instance is invalid.
67 // plugin instance. This object will reference the host impl, so the
69 // creation object is associated with the instance, this will generally
72 CreateInProcessResourceCreationAPI(PepperPluginInstanceImpl* instance);
74 PepperPluginInstanceImpl* GetPluginInstanceImpl(PP_Instance instance) const;
80 virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE;
81 virtual PepperPluginInstance* GetPluginInstance(PP_Instance instance) const
83 virtual RenderFrame* GetRenderFrameForInstance(PP_Instance instance) const
85 virtual RenderView* GetRenderViewForInstance(PP_Instance instance) const
88 PP_Instance instance) cons
[all...]
/external/chromium_org/ppapi/cpp/private/
H A Dflash.cc88 void Flash::SetInstanceAlwaysOnTop(const InstanceHandle& instance, argument
93 instance.pp_instance(), PP_FromBool(on_top));
96 instance.pp_instance(), PP_FromBool(on_top));
101 bool Flash::DrawGlyphs(const InstanceHandle& instance, argument
115 instance.pp_instance(),
129 instance.pp_instance(),
145 Var Flash::GetProxyForURL(const InstanceHandle& instance, argument
150 instance.pp_instance(), url.c_str()));
154 instance.pp_instance(), url.c_str()));
180 double Flash::GetLocalTimeZoneOffset(const InstanceHandle& instance, argument
219 IsRectTopmost(const InstanceHandle& instance, const Rect& rect) argument
233 UpdateActivity(const InstanceHandle& instance) argument
242 GetSetting(const InstanceHandle& instance, PP_FlashSetting setting) argument
258 SetCrashData(const InstanceHandle& instance, PP_FlashCrashKey key, const pp::Var& value) argument
275 EnumerateVideoCaptureDevices( const InstanceHandle& instance, const VideoCapture_Dev& video_capture, std::vector<DeviceRef_Dev>* devices_out) argument
298 InvokePrinting(const InstanceHandle& instance) argument
[all...]
H A Dflash_file.h28 static PP_FileHandle OpenFile(const InstanceHandle& instance,
31 static bool RenameFile(const InstanceHandle& instance,
34 static bool DeleteFileOrDir(const InstanceHandle& instance,
37 static bool CreateDir(const InstanceHandle& instance,
39 static bool QueryFile(const InstanceHandle& instance,
47 static bool GetDirContents(const InstanceHandle& instance,
52 static PP_FileHandle CreateTemporaryFile(const InstanceHandle& instance);
/external/chromium_org/ppapi/api/private/
H A Dppb_nacl_private.idl180 void LaunchSelLdr([in] PP_Instance instance,
197 PP_Bool StartPpapiProxy(PP_Instance instance);
232 PP_FileHandle CreateTemporaryFile([in] PP_Instance instance);
240 /* Report to the browser that translation of the pexe for |instance|
243 * must first have called GetNexeFd for the same instance. (The browser is
249 void ReportTranslationFinished([in] PP_Instance instance,
255 /* Dispatch a progress event on the DOM element where the given instance is
258 void DispatchEvent([in] PP_Instance instance,
266 void ReportLoadSuccess([in] PP_Instance instance,
271 void ReportLoadError([in] PP_Instance instance,
[all...]
H A Dppb_flash.idl55 * Specifies if the given instance is in private/incognito/off-the-record mode
57 * PP_Var on invalid instance.
74 * Returns an undefined PP_Var on invalid instance.
104 * Specifies the document URL which contains the flash instance.
120 * Sets or clears the rendering hint that the given plugin instance is always
125 [in] PP_Instance instance,
137 [in] PP_Instance instance,
154 [in] PP_Instance instance,
171 [in] PP_Instance instance);
178 [in] PP_Instance instance);
[all...]
/external/chromium_org/content/child/npapi/
H A Dplugin_stream_url.cc23 PluginInstance *instance,
26 : PluginStream(instance, url.spec().c_str(), notify_needed, notify_data),
39 instance()->webplugin()->URLRedirectResponse(allow, id_);
58 // Protect the stream against it being destroyed or the whole plugin instance
63 instance()->RemoveStream(this);
76 if (instance()->webplugin()) {
77 instance()->webplugin()->CancelResource(id_);
82 if (instance()->webplugin()) {
84 instance()->webplugin()->CancelResource(range_requests_[i]);
96 instance()
20 PluginStreamUrl( unsigned long resource_id, const GURL &url, PluginInstance *instance, bool notify_needed, void *notify_data) argument
[all...]
/external/chromium_org/ppapi/cpp/
H A Daudio_config.cc30 AudioConfig::AudioConfig(const InstanceHandle& instance, argument
38 instance.pp_instance(), sample_rate, sample_frame_count));
42 instance.pp_instance(), sample_rate, sample_frame_count));
48 const InstanceHandle& instance) {
51 RecommendSampleRate(instance.pp_instance());
58 const InstanceHandle& instance,
63 RecommendSampleFrameCount(instance.pp_instance(),
47 RecommendSampleRate( const InstanceHandle& instance) argument
57 RecommendSampleFrameCount( const InstanceHandle& instance, PP_AudioSampleRate sample_rate, uint32_t requested_sample_frame_count) argument

Completed in 411 milliseconds

<<11121314151617181920>>