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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 46794)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -509,6 +509,11 @@
IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse,
std::vector<FilePath> /* selected files */)
+ IPC_MESSAGE_ROUTED2(ViewMsg_ChooseIconForFilesResponse,
+ int /* ID passed in ViewHostMsg_ChooseIconForFiles() */,
+ /* An icon for the selected files in PNG */
+ std::vector<unsigned char>)
+
// Used to instruct the RenderView to go into "view source" mode.
IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode)
@@ -1440,6 +1445,12 @@
IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser,
ViewHostMsg_RunFileChooser_Params)
+ // Requests to load an icon for the specified files, and return the icon
+ // in a ViewHost_ChooseIconForFilesResponse message.
+ IPC_MESSAGE_ROUTED2(ViewHostMsg_ChooseIconForFiles,
+ int /* Request identifier */,
+ std::vector<FilePath> /* file names */)
+
// Notification that forms have been seen that are candidates for
// filling/submitting by the AutoFillManager.
IPC_MESSAGE_ROUTED1(ViewHostMsg_FormsSeen,
« 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