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

Side by Side 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: ipc macros unused 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 IPC_MESSAGE_ROUTED3(ChromeViewMsg_UpdateTopControlsState, 330 IPC_MESSAGE_ROUTED3(ChromeViewMsg_UpdateTopControlsState,
331 content::TopControlsState /* constraints */, 331 content::TopControlsState /* constraints */,
332 content::TopControlsState /* current */, 332 content::TopControlsState /* current */,
333 bool /* animate */) 333 bool /* animate */)
334 334
335 335
336 // Updates the window features of the render view. 336 // Updates the window features of the render view.
337 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetWindowFeatures, 337 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetWindowFeatures,
338 blink::WebWindowFeatures /* window_features */) 338 blink::WebWindowFeatures /* window_features */)
339 339
340 // Responds to the request for a thumbnail.
341 // Thumbnail data will be empty is a thumbnail could not be produced.
340 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_RequestThumbnailForContextNode_ACK, 342 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_RequestThumbnailForContextNode_ACK,
341 SkBitmap /* thumbnail */, 343 std::string /* JPEG-encoded thumbnail data */,
342 gfx::Size /* original size of the image */) 344 gfx::Size /* original size of the image */)
343 345
344 // Requests application info for the page. The renderer responds back with 346 // Requests application info for the page. The renderer responds back with
345 // ChromeViewHostMsg_DidGetWebApplicationInfo. 347 // ChromeViewHostMsg_DidGetWebApplicationInfo.
346 IPC_MESSAGE_ROUTED0(ChromeViewMsg_GetWebApplicationInfo) 348 IPC_MESSAGE_ROUTED0(ChromeViewMsg_GetWebApplicationInfo)
347 349
348 #if defined(OS_ANDROID) 350 #if defined(OS_ANDROID)
349 // Asks the renderer to return information about the given meta tag. 351 // Asks the renderer to return information about the given meta tag.
350 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent, 352 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent,
351 GURL /* expected_url */, 353 GURL /* expected_url */,
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 // process so that they can be assigned to an Instant renderer. 665 // process so that they can be assigned to an Instant renderer.
664 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, 666 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs,
665 std::vector<GURL> /* search_urls */, 667 std::vector<GURL> /* search_urls */,
666 GURL /* new_tab_page_url */) 668 GURL /* new_tab_page_url */)
667 669
668 #if defined(ENABLE_PLUGINS) 670 #if defined(ENABLE_PLUGINS)
669 // Sent by the renderer to check if crash reporting is enabled. 671 // Sent by the renderer to check if crash reporting is enabled.
670 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, 672 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled,
671 bool /* enabled */) 673 bool /* enabled */)
672 #endif 674 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698