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

Unified Diff: chrome/common/render_messages.h

Issue 792903002: Image Search: Move thumbnail JPEG encoding to the renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: two unused includes Created 6 years 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/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 9e388bcd199b8dbe945d0cd6f9c33f9e6c1414b5..63347ef2e034e9bc283932beb153672e61e5b2d1 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -337,8 +337,10 @@ IPC_MESSAGE_ROUTED3(ChromeViewMsg_UpdateTopControlsState,
IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetWindowFeatures,
blink::WebWindowFeatures /* window_features */)
+// Responds to the request for a thumbnail.
+// Thumbnail data will be empty is a thumbnail could not be produced.
IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_RequestThumbnailForContextNode_ACK,
- SkBitmap /* thumbnail */,
+ std::string /* JPEG-encoded thumbnail data */,
gfx::Size /* original size of the image */)
// Requests application info for the page. The renderer responds back with

Powered by Google App Engine
This is Rietveld 408576698