/external/chromium_org/chrome/utility/importer/ |
H A D | favicon_reencode.h | 19 std::vector<unsigned char>* png_data);
|
H A D | favicon_reencode.cc | 17 std::vector<unsigned char>* png_data) { 37 gfx::PNGCodec::EncodeBGRASkBitmap(decoded, false, png_data); 15 ReencodeFavicon(const unsigned char* src_data, size_t src_len, std::vector<unsigned char>* png_data) argument
|
/external/chromium_org/cc/test/ |
H A D | pixel_test_utils.cc | 19 std::vector<unsigned char> png_data; local 22 &png_data) && 24 char* data = reinterpret_cast<char*>(&png_data[0]); 25 int size = static_cast<int>(png_data.size()); 33 std::string png_data; local 34 return base::ReadFileToString(file_path, &png_data) && 35 gfx::PNGCodec::Decode(reinterpret_cast<unsigned char*>(&png_data[0]), 36 png_data.length(),
|
/external/chromium_org/chrome/common/importer/ |
H A D | imported_favicon_usage.h | 22 std::vector<unsigned char> png_data; member in struct:ImportedFaviconUsage
|
H A D | profile_import_process_messages.h | 175 WriteParam(m, p.png_data); 181 ReadParam(m, iter, &p->png_data) && 188 LogParam(p.png_data, l);
|
/external/chromium_org/components/favicon_base/ |
H A D | favicon_util.h | 35 const std::vector<favicon_base::FaviconRawBitmapResult>& png_data,
|
H A D | favicon_util.cc | 32 const std::vector<favicon_base::FaviconRawBitmapResult>& png_data, 36 if (png_data.empty()) 43 for (size_t i = 0; i < png_data.size(); ++i) { 44 int area = png_data[i].pixel_size.GetArea(); 47 best_candidate = png_data[i].bitmap_data; 62 for (size_t i = 0; i < png_data.size(); ++i) { 63 if (!png_data[i].is_valid()) 66 const gfx::Size& pixel_size = png_data[i].pixel_size; 75 png_reps.push_back(gfx::ImagePNGRep(png_data[i].bitmap_data, it->second)); 164 const std::vector<favicon_base::FaviconRawBitmapResult>& png_data, 31 SelectFaviconFramesFromPNGsWithoutResizing( const std::vector<favicon_base::FaviconRawBitmapResult>& png_data, const std::vector<float>& favicon_scales, int favicon_size) argument 163 SelectFaviconFramesFromPNGs( const std::vector<favicon_base::FaviconRawBitmapResult>& png_data, const std::vector<float>& favicon_scales, int favicon_size) argument [all...] |
/external/chromium_org/ui/ozone/platform/test/ |
H A D | file_surface_factory.cc | 24 std::vector<unsigned char> png_data; local 25 gfx::PNGCodec::FastEncodeBGRASkBitmap(bitmap, true, &png_data); 27 reinterpret_cast<const char*>(vector_as_array(&png_data)), 28 png_data.size());
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | gpu_state_tracer.cc | 79 std::vector<unsigned char> png_data; local 87 &png_data); 90 base::StringPiece base64_input(reinterpret_cast<const char*>(&png_data[0]), 91 png_data.size());
|
/external/chromium_org/chrome/browser/ui/ash/ |
H A D | screenshot_taker.cc | 68 void CopyScreenshotToClipboard(scoped_refptr<base::RefCountedString> png_data) { argument 72 base::Base64Encode(png_data->data(), &encoded); 91 scoped_refptr<base::RefCountedString> png_data(new base::RefCountedString()); 92 if (!base::ReadFileToString(screenshot_path, &(png_data->data()))) { 100 base::Bind(CopyScreenshotToClipboard, png_data)); 188 scoped_refptr<base::RefCountedBytes> png_data) { 195 reinterpret_cast<char*>(&(png_data->data()[0])), 196 png_data->size())) != png_data->size()) { 207 scoped_refptr<base::RefCountedBytes> png_data) { 185 SaveScreenshotInternal(const ShowNotificationCallback& callback, const base::FilePath& screenshot_path, const base::FilePath& local_path, scoped_refptr<base::RefCountedBytes> png_data) argument 205 SaveScreenshot(const ShowNotificationCallback& callback, const base::FilePath& screenshot_path, scoped_refptr<base::RefCountedBytes> png_data) argument 226 SaveScreenshotToDrive(const ShowNotificationCallback& callback, const base::FilePath& screenshot_path, scoped_refptr<base::RefCountedBytes> png_data, drive::FileError error, const base::FilePath& local_path) argument 246 EnsureDirectoryExistsCallback( const ShowNotificationCallback& callback, Profile* profile, const base::FilePath& screenshot_path, scoped_refptr<base::RefCountedBytes> png_data, drive::FileError error) argument 271 PostSaveScreenshotTask(const ShowNotificationCallback& callback, Profile* profile, const base::FilePath& screenshot_path, scoped_refptr<base::RefCountedBytes> png_data) argument 293 PostSaveScreenshotTask(const ShowNotificationCallback& callback, Profile* profile, const base::FilePath& screenshot_path, scoped_refptr<base::RefCountedBytes> png_data) argument 551 GrabWindowSnapshotAsyncCallback( base::FilePath screenshot_path, bool is_partial, int window_idx, scoped_refptr<base::RefCountedBytes> png_data) argument 575 png_data); local [all...] |
H A D | screenshot_taker.h | 79 scoped_refptr<base::RefCountedBytes> png_data);
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
H A D | app_indicator_icon.cc | 160 const scoped_refptr<base::RefCountedMemory>& png_data) { 164 base::MD5Sum(png_data->front_as<char>(), png_data->size(), &digest); 189 scoped_refptr<base::RefCountedMemory> png_data = local 191 if (png_data->size() == 0) { 213 GetImageFileNameForKDE4(png_data) : 218 png_data->front_as<char>(), png_data->size()); 220 if (bytes_written != static_cast<int>(png_data->size())) 159 GetImageFileNameForKDE4( const scoped_refptr<base::RefCountedMemory>& png_data) argument
|
/external/chromium_org/ui/snapshot/ |
H A D | snapshot_async.cc | 38 scoped_refptr<base::RefCountedBytes> png_data(new base::RefCountedBytes); 54 &png_data->data())) { 57 return png_data;
|
H A D | snapshot.h | 55 typedef base::Callback<void(scoped_refptr<base::RefCountedBytes> png_data)>
|
H A D | snapshot_aura_unittest.cc | 161 void SnapshotCallback(scoped_refptr<base::RefCountedBytes> png_data) { argument 163 image_ = gfx::Image::CreateFrom1xPNGBytes(&(png_data->data()[0]), 164 png_data->size());
|
/external/chromium_org/content/browser/web_contents/aura/ |
H A D | overscroll_navigation_overlay_unittest.cc | 38 std::vector<unsigned char> png_data; local 39 gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, true, &png_data); 41 base::RefCountedBytes::TakeVector(&png_data);
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | clipboard_message_filter.cc | 267 std::vector<unsigned char> png_data; local 268 if (gfx::PNGCodec::FastEncodeBGRASkBitmap(bitmap, false, &png_data)) { 270 if (buffer.CreateAndMapAnonymous(png_data.size())) { 271 memcpy(buffer.memory(), vector_as_array(&png_data), png_data.size()); 273 image_size = png_data.size();
|
/external/chromium_org/content/browser/devtools/ |
H A D | renderer_overrides_handler.h | 48 const std::vector<unsigned char>& png_data); 87 scoped_refptr<base::RefCountedBytes> png_data);
|
H A D | renderer_overrides_handler.cc | 267 const std::vector<unsigned char>& png_data) { 270 base::StringPiece(reinterpret_cast<const char*>(&png_data[0]), 271 png_data.size()), 481 std::vector<unsigned char> png_data; local 483 &png_data, 485 if (png_data.size()) 486 return command->SuccessResponse(CreateScreenshotResponse(png_data)); 502 scoped_refptr<base::RefCountedBytes> png_data) { 503 if (png_data) { 505 command->SuccessResponse(CreateScreenshotResponse(png_data 266 CreateScreenshotResponse( const std::vector<unsigned char>& png_data) argument 500 ScreenshotCaptured( scoped_refptr<DevToolsProtocol::Command> command, scoped_refptr<base::RefCountedBytes> png_data) argument [all...] |
/external/chromium_org/chrome/browser/ui/pdf/ |
H A D | pdf_browsertest.cc | 185 std::vector<unsigned char> png_data; local 186 gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &png_data); 189 reinterpret_cast<char*>(&png_data[0]), png_data.size());
|
/external/chromium_org/content/renderer/ |
H A D | webclipboard_impl.cc | 119 std::string png_data; 120 client_->ReadImage(clipboard_type, &png_data); 121 return WebData(png_data);
|
/external/chromium_org/content/browser/frame_host/ |
H A D | navigation_entry_impl.cc | 353 scoped_refptr<base::RefCountedBytes> png_data) { 354 screenshot_ = png_data; 352 SetScreenshotPNGData( scoped_refptr<base::RefCountedBytes> png_data) argument
|
/external/chromium_org/chrome/test/base/ |
H A D | ui_test_utils.cc | 530 std::vector<unsigned char> png_data; local 533 if (ui::GrabDesktopSnapshot(bounds, &png_data) && 534 png_data.size() <= INT_MAX) { 535 int bytes = static_cast<int>(png_data.size()); 537 out_path, reinterpret_cast<char*>(&png_data[0]), bytes);
|
/external/chromium_org/ui/gfx/ |
H A D | icon_util.cc | 289 void* png_data = NULL; local 292 &png_data, &png_size)) { 295 DCHECK(png_data); 299 new base::RefCountedStaticMemory(png_data, png_size));
|
/external/chromium_org/chrome/browser/ |
H A D | shell_integration_linux.cc | 107 scoped_refptr<base::RefCountedMemory> png_data = it->As1xPNGBytes(); local 108 if (png_data->size() == 0) { 115 png_data->front_as<char>(), 116 png_data->size()); 118 if (bytes_written != static_cast<int>(png_data->size()))
|