Lines Matching refs:storage
281 STGMEDIUM* storage = GetStorageForString(std::string());
283 GetRendererTaintCustomType().ToFormatEtc(), storage));
291 STGMEDIUM* storage = GetStorageForString(data);
293 Clipboard::GetPlainTextWFormatType().ToFormatEtc(), storage));
296 storage = GetStorageForString(base::UTF16ToUTF8(data));
298 Clipboard::GetPlainTextFormatType().ToFormatEtc(), storage));
313 STGMEDIUM* storage = GetStorageForString(x_moz_url_str);
315 Clipboard::GetMozUrlFormatType().ToFormatEtc(), storage));
325 storage = GetStorageForString(base::UTF8ToUTF16(url.spec()));
327 Clipboard::GetUrlWFormatType().ToFormatEtc(), storage));
328 storage = GetStorageForString(url.spec());
330 Clipboard::GetUrlFormatType().ToFormatEtc(), storage));
341 STGMEDIUM* storage = GetStorageForFileName(path);
343 Clipboard::GetCFHDropFormatType().ToFormatEtc(), storage);
346 storage = GetIDListStorageForFileName(path);
347 if (!storage)
350 Clipboard::GetIDListFormatType().ToFormatEtc(), storage);
357 STGMEDIUM* storage = GetStorageForFileName(filenames[i].path);
359 Clipboard::GetCFHDropFormatType().ToFormatEtc(), storage);
367 STGMEDIUM* storage = GetStorageForBytes(data.data(), data.size());
369 new DataObjectImpl::StoredDataInfo(format.ToFormatEtc(), storage));
376 STGMEDIUM* storage = GetStorageForFileDescriptor(filename);
378 Clipboard::GetFileDescriptorFormatType().ToFormatEtc(), storage));
381 storage = GetStorageForBytes(file_contents.data(), file_contents.length());
383 Clipboard::GetFileContentZeroFormatType().ToFormatEtc(), storage));
393 STGMEDIUM* storage = GetStorageForBytes(cf_html.c_str(), cf_html.size());
395 Clipboard::GetHtmlFormatType().ToFormatEtc(), storage));
522 // If the filename is not provided, set storage to NULL to indicate that
526 STGMEDIUM* storage = NULL;
528 storage = GetStorageForFileName(download.filename);
532 Clipboard::GetCFHDropFormatType().ToFormatEtc(), storage);
670 // Release the old storage.
676 // Update the storage.
882 STGMEDIUM* storage = new STGMEDIUM;
883 storage->hGlobal = handle;
884 storage->tymed = TYMED_HGLOBAL;
885 storage->pUnkForRelease = NULL;
886 return storage;
945 STGMEDIUM* storage = new STGMEDIUM;
946 storage->tymed = TYMED_HGLOBAL;
947 storage->hGlobal = hdata;
948 storage->pUnkForRelease = NULL;
949 return storage;
1022 STGMEDIUM* storage = new STGMEDIUM;
1023 storage->tymed = TYMED_HGLOBAL;
1024 storage->hGlobal = hdata;
1025 storage->pUnkForRelease = NULL;
1026 return storage;
1042 STGMEDIUM* storage = new STGMEDIUM;
1043 storage->tymed = TYMED_HGLOBAL;
1044 storage->hGlobal = hdata;
1045 storage->pUnkForRelease = NULL;
1046 return storage;