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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 174318: Introduce new async IPC message to get file icons (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 IPC_MESSAGE_ROUTED0(ViewMsg_InstallMissingPlugin) 502 IPC_MESSAGE_ROUTED0(ViewMsg_InstallMissingPlugin)
503 503
504 // Tells the renderer to empty its plugin list cache, optional reloading 504 // Tells the renderer to empty its plugin list cache, optional reloading
505 // pages containing plugins. 505 // pages containing plugins.
506 IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache, 506 IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache,
507 bool /* reload_pages */) 507 bool /* reload_pages */)
508 508
509 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, 509 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse,
510 std::vector<FilePath> /* selected files */) 510 std::vector<FilePath> /* selected files */)
511 511
512 IPC_MESSAGE_ROUTED2(ViewMsg_ChooseIconForFilesResponse,
513 int /* ID passed in ViewHostMsg_ChooseIconForFiles() */,
514 /* An icon for the selected files in PNG */
515 std::vector<unsigned char>)
516
512 // Used to instruct the RenderView to go into "view source" mode. 517 // Used to instruct the RenderView to go into "view source" mode.
513 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) 518 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode)
514 519
515 // Retreive information from the MSAA DOM subtree, for accessibility purposes. 520 // Retreive information from the MSAA DOM subtree, for accessibility purposes.
516 IPC_SYNC_MESSAGE_ROUTED1_1(ViewMsg_GetAccessibilityInfo, 521 IPC_SYNC_MESSAGE_ROUTED1_1(ViewMsg_GetAccessibilityInfo,
517 webkit_glue::WebAccessibility::InParams 522 webkit_glue::WebAccessibility::InParams
518 /* input parameters */, 523 /* input parameters */,
519 webkit_glue::WebAccessibility::OutParams 524 webkit_glue::WebAccessibility::OutParams
520 /* output parameters */) 525 /* output parameters */)
521 526
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 1438
1434 // Notification that the text selection has changed. 1439 // Notification that the text selection has changed.
1435 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionChanged, 1440 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionChanged,
1436 std::string /* currently selected text */) 1441 std::string /* currently selected text */)
1437 1442
1438 // Asks the browser to display the file chooser. The result is returned in a 1443 // Asks the browser to display the file chooser. The result is returned in a
1439 // ViewHost_RunFileChooserResponse message. 1444 // ViewHost_RunFileChooserResponse message.
1440 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, 1445 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser,
1441 ViewHostMsg_RunFileChooser_Params) 1446 ViewHostMsg_RunFileChooser_Params)
1442 1447
1448 // Requests to load an icon for the specified files, and return the icon
1449 // in a ViewHost_ChooseIconForFilesResponse message.
1450 IPC_MESSAGE_ROUTED2(ViewHostMsg_ChooseIconForFiles,
1451 int /* Request identifier */,
1452 std::vector<FilePath> /* file names */)
1453
1443 // Notification that forms have been seen that are candidates for 1454 // Notification that forms have been seen that are candidates for
1444 // filling/submitting by the AutoFillManager. 1455 // filling/submitting by the AutoFillManager.
1445 IPC_MESSAGE_ROUTED1(ViewHostMsg_FormsSeen, 1456 IPC_MESSAGE_ROUTED1(ViewHostMsg_FormsSeen,
1446 std::vector<webkit_glue::FormData> /* forms */) 1457 std::vector<webkit_glue::FormData> /* forms */)
1447 1458
1448 // Notification that password forms have been seen that are candidates for 1459 // Notification that password forms have been seen that are candidates for
1449 // filling/submitting by the password manager. 1460 // filling/submitting by the password manager.
1450 IPC_MESSAGE_ROUTED1(ViewHostMsg_PasswordFormsFound, 1461 IPC_MESSAGE_ROUTED1(ViewHostMsg_PasswordFormsFound,
1451 std::vector<webkit_glue::PasswordForm> /* forms */) 1462 std::vector<webkit_glue::PasswordForm> /* forms */)
1452 1463
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
2338 int /* render_view_id */, 2349 int /* render_view_id */,
2339 int /* bridge_id */) 2350 int /* bridge_id */)
2340 2351
2341 // The |render_view_id| and |bridge_id| requests Geolocation service to 2352 // The |render_view_id| and |bridge_id| requests Geolocation service to
2342 // resume. 2353 // resume.
2343 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, 2354 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume,
2344 int /* render_view_id */, 2355 int /* render_view_id */,
2345 int /* bridge_id */) 2356 int /* bridge_id */)
2346 2357
2347 IPC_END_MESSAGES(ViewHost) 2358 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698