Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7618)

Unified Diff: chrome/common/thumbnail_capturer.mojom

Issue 2943363003: Fixing transparent pixels appearing black when rendered for the context menu. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/thumbnail_capturer.mojom
diff --git a/chrome/common/thumbnail_capturer.mojom b/chrome/common/thumbnail_capturer.mojom
index 71bf82c2777c403aa95c1ad8b3fed1626c8be20b..92f06a967c5b5f59a9bccd71e7c963a28908000f 100644
--- a/chrome/common/thumbnail_capturer.mojom
+++ b/chrome/common/thumbnail_capturer.mojom
@@ -7,12 +7,9 @@ module chrome.mojom;
import "ui/gfx/geometry/mojo/geometry.mojom";
interface ThumbnailCapturer {
- // Requests a JPEG encoded thumbnail of the image selected by the most
- // recently opened context menu. If no image is selected or there's an error
- // capturing a thumbnail, |thumbnail_data| will be empty. If the image area is
- // larger than |thumbnail_min_area_pixels| it will be downscaled to fit within
- // |thumbnail_max_size_pixels|.
+ // Requests an encoded thumbnail of the image selected by the most recently opened context menu. The encoding format is specified as a parameter. If no image is selected or there's an error capturing a thumbnail, |thumbnail_data| will be empty. If the image area is larger than |thumbnail_min_area_pixels| it will be downscaled to fit within |thumbnail_max_size_pixels|.
gone 2017/06/20 18:30:36 Not sure what's going on here.
Daniel Park 2017/06/22 01:11:35 i updated the documentation to include the use of
Daniel Park 2017/06/22 01:17:33 woops. you weren't referring to that. apparently '
RequestThumbnailForContextNode(int32 thumbnail_min_area_pixels,
- gfx.mojom.Size thumbnail_max_size_pixels)
+ gfx.mojom.Size thumbnail_max_size_pixels,
+ bool use_png_codec)
=> (array<uint8> thumbnail_data, gfx.mojom.Size original_size);
};

Powered by Google App Engine
This is Rietveld 408576698