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

Unified Diff: chrome/browser/search/suggestions/image_decoder_impl.h

Issue 2715153006: Set desired_image_size when decoding images for NTP Tile icons. (Closed)
Patch Set: ax Created 3 years, 10 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/browser/search/suggestions/image_decoder_impl.h
diff --git a/chrome/browser/search/suggestions/image_decoder_impl.h b/chrome/browser/search/suggestions/image_decoder_impl.h
index 658b7c4fcaa79ffe6b343716739917ac5cccecf0..3e21eb59fb85300882b3e36ce72273ce437d1c37 100644
--- a/chrome/browser/search/suggestions/image_decoder_impl.h
+++ b/chrome/browser/search/suggestions/image_decoder_impl.h
@@ -21,6 +21,7 @@ class ImageDecoderImpl : public image_fetcher::ImageDecoder {
void DecodeImage(
const std::string& image_data,
+ const gfx::Size& desired_image_frame_size,
const image_fetcher::ImageDecodedCallback& callback) override;
Marc Treib 2017/03/01 09:17:26 Hm, one high-level comment: This returns a gfx::Im
tschumann 2017/03/01 09:37:43 I totally agree -- just that's how the whole image
Marc Treib 2017/03/01 09:41:56 I think in terms of API, it would actually be a sm
tschumann 2017/03/01 11:36:36 I agree. I'm mostly concerned about changing seman
private:

Powered by Google App Engine
This is Rietveld 408576698