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

<<11121314151617181920>>

/external/chromium_org/ppapi/proxy/
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_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_org/content/browser/renderer_host/pepper/
H A Dcontent_browser_pepper_host_factory.cc58 PP_Instance instance,
62 // Make sure the plugin is giving us a valid instance for this resource.
63 if (!host_->IsValidInstance(instance))
70 new PepperFileIOHost(host_, instance, params.pp_resource()));
80 host_, instance, params.pp_resource(), file_system_type));
84 new PepperGamepadHost(host_, instance, params.pp_resource()));
88 new PepperNetworkProxyHost(host_, instance, params.pp_resource()));
92 new PepperHostResolverMessageFilter(host_, instance, false));
95 instance,
108 host_, instance, param
55 CreateResourceHost( ppapi::host::PpapiHost* host, const ppapi::proxy::ResourceMessageCallParams& params, PP_Instance instance, const IPC::Message& message) argument
222 CreateAcceptedTCPSocket( PP_Instance instance, ppapi::TCPSocketVersion version, scoped_ptr<net::TCPSocket> socket) argument
236 CreateNewTCPSocket( PP_Instance instance, PP_Resource resource, ppapi::TCPSocketVersion version) argument
[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/third_party/WebKit/Source/platform/graphics/
H A DImageFrameGeneratorTest.cpp50 ImageDecodingStore::instance()->setCacheLimitInBytes(1024 * 1024);
51 ImageDecodingStore::instance()->setImageCachingEnabled(true);
62 ImageDecodingStore::instance()->clear();
135 const ScaledImageFragment* fullImage = ImageDecodingStore::instance()->insertAndLockCache(
138 ImageDecodingStore::instance()->unlockCache(m_generator.get(), fullImage);
144 ImageDecodingStore::instance()->unlockCache(m_generator.get(), tempImage);
155 ImageDecodingStore::instance()->unlockCache(m_generator.get(), tempImage);
156 EXPECT_EQ(2, ImageDecodingStore::instance()->cacheEntries());
157 EXPECT_EQ(1, ImageDecodingStore::instance()->imageCacheEntries());
158 EXPECT_EQ(1, ImageDecodingStore::instance()
[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...]
H A Dhost_globals.h37 PP_Instance instance) OVERRIDE;
38 virtual ppapi::thunk::PPB_Instance_API* GetInstanceAPI(PP_Instance instance)
41 PP_Instance instance) OVERRIDE;
42 virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE;
45 virtual void LogWithSource(PP_Instance instance,
74 // Adds a new plugin instance to the list of tracked instances, and returns a
75 // new instance handle to identify it.
76 PP_Instance AddInstance(PepperPluginInstanceImpl* instance);
78 // Called when a plugin instance was deleted and should no longer be tracked.
80 void InstanceDeleted(PP_Instance instance);
[all...]
/external/chromium_org/ppapi/c/private/
H A Dppb_nacl_private.h253 PP_Instance instance,
270 PP_Bool (*StartPpapiProxy)(PP_Instance instance);
299 PP_FileHandle (*CreateTemporaryFile)(PP_Instance instance);
316 int32_t (*GetNexeFd)(PP_Instance instance,
325 /* Report to the browser that translation of the pexe for |instance|
328 * must first have called GetNexeFd for the same instance. (The browser is
334 void (*ReportTranslationFinished)(PP_Instance instance,
340 /* Dispatch a progress event on the DOM element where the given instance is
343 void (*DispatchEvent)(PP_Instance instance,
350 void (*ReportLoadSuccess)(PP_Instance instance,
[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);
H A Dfind_private.cc8 #include "ppapi/cpp/instance.h"
23 PP_Bool StartFind(PP_Instance instance, argument
26 void* object = Instance::GetPerInstanceObject(instance, kPPPFindInterface);
34 void SelectFindResult(PP_Instance instance, PP_Bool forward) { argument
35 void* object = Instance::GetPerInstanceObject(instance, kPPPFindInterface);
40 void StopFind(PP_Instance instance) { argument
41 void* object = Instance::GetPerInstanceObject(instance, kPPPFindInterface);
54 Find_Private::Find_Private(Instance* instance) argument
55 : associated_instance_(instance) {
57 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/api/private/
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/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
/external/chromium_org/chrome/browser/extensions/api/cloud_print_private/
H A Dcloud_print_private_api.cc20 CloudPrintTestsDelegate* CloudPrintTestsDelegate::instance() { function in class:extensions::CloudPrintTestsDelegate
44 if (CloudPrintTestsDelegate::instance()) {
45 CloudPrintTestsDelegate::instance()->SetupConnector(
77 CloudPrintTestsDelegate::instance() ?
78 CloudPrintTestsDelegate::instance()->GetHostName() :
99 if (CloudPrintTestsDelegate::instance()) {
100 SendResults(CloudPrintTestsDelegate::instance()->GetPrinters());
124 CloudPrintTestsDelegate::instance() ?
125 CloudPrintTestsDelegate::instance()->GetClientId() :
/external/chromium_org/chrome/renderer/pepper/
H A Dchrome_renderer_pepper_host_factory.cc33 PP_Instance instance,
37 // Make sure the plugin is giving us a valid instance for this resource.
38 if (!host_->IsValidInstance(instance))
46 new PepperFlashRendererHost(host_, instance, params.pp_resource()));
50 host_, instance, params.pp_resource()));
57 host_, instance, params.pp_resource(), serialized_menu));
78 host_, instance, params.pp_resource(), description, charset));
84 host_, instance, params.pp_resource()));
93 new PepperPDFHost(host_, instance, params.pp_resource()));
99 // time of the corresponding instance'
30 CreateResourceHost( ppapi::host::PpapiHost* host, const ppapi::proxy::ResourceMessageCallParams& params, PP_Instance instance, const IPC::Message& message) argument
[all...]
/external/chromium_org/ppapi/c/dev/
H A Dppb_url_util_dev.h115 * URL of the document containing the given plugin instance.
123 PP_Instance instance,
132 * Checks whether the document hosting the given plugin instance can access
134 * PP_FALSE if the instance or the URL is invalid.
136 PP_Bool (*DocumentCanRequest)(PP_Instance instance, struct PP_Var url);
138 * Checks whether the document containing the |active| plugin instance can
139 * access the document containing the |target| plugin instance according to
152 struct PP_Var (*GetDocumentURL)(PP_Instance instance,
165 PP_Instance instance,
176 PP_Instance instance,
[all...]

Completed in 844 milliseconds

<<11121314151617181920>>