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

Unified Diff: chrome/common/render_messages.h

Issue 2737893002: Mojoify the RequestThumbnailForContextNode IPC message and reply (Closed)
Patch Set: Remove watcher; use ContextMenuWaiter Created 3 years, 9 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/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 5eab22a8ac49bc00889b2d787cc059b5a6e7e5a7..49c72a528e06b0c6a6a1030c5103663594ff9d76 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -137,16 +137,6 @@ IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection,
// (if there indeed is an image at that location).
IPC_MESSAGE_ROUTED0(ChromeViewMsg_RequestReloadImageForContextNode)
-// Asks the renderer for a thumbnail of the image selected by the most
-// recently opened context menu, if there is one. If the image's area
-// is greater than thumbnail_min_area it will be downscaled to
-// be within thumbnail_max_size. The possibly downsampled image will be
-// returned in a ChromeViewHostMsg_RequestThumbnailForContextNode_ACK message.
-IPC_MESSAGE_ROUTED3(ChromeViewMsg_RequestThumbnailForContextNode,
- int /* thumbnail_min_area_pixels */,
- gfx::Size /* thumbnail_max_size_pixels */,
- int /* ID of the callback */)
-
// Notifies the renderer whether hiding/showing the browser controls is enabled,
// what the current state should be, and whether or not to animate to the
// proper state.
@@ -159,13 +149,6 @@ IPC_MESSAGE_ROUTED3(ChromeViewMsg_UpdateBrowserControlsState,
IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetWindowFeatures,
blink::mojom::WindowFeatures /* window_features */)
-// Responds to the request for a thumbnail.
-// Thumbnail data will be empty is a thumbnail could not be produced.
-IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_RequestThumbnailForContextNode_ACK,
- std::string /* JPEG-encoded thumbnail data */,
- gfx::Size /* original size of the image */,
- int /* ID of the callback */)
-
// Requests application info for the page. The renderer responds back with
// ChromeViewHostMsg_DidGetWebApplicationInfo.
IPC_MESSAGE_ROUTED0(ChromeViewMsg_GetWebApplicationInfo)

Powered by Google App Engine
This is Rietveld 408576698