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

Unified Diff: chrome/common/render_messages.h

Issue 2737893002: Mojoify the RequestThumbnailForContextNode IPC message and reply (Closed)
Patch Set: change swap() call and rebase 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
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/thumbnail_capturer.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index e3fd984d7f8faf042c272fd7bc1ea5cb82963c98..961412418b06065938415b7d1bc5849f898ba61e 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -139,16 +139,6 @@ IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection,
// TODO(nigeltao): delete this when tab_android.cc's use is converted to Mojo.
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.
@@ -161,13 +151,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)
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/thumbnail_capturer.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698