Index: chrome/common/render_messages_internal.h |
=================================================================== |
--- chrome/common/render_messages_internal.h (revision 76768) |
+++ chrome/common/render_messages_internal.h (working copy) |
@@ -569,6 +569,11 @@ |
IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, |
std::vector<FilePath> /* selected files */) |
+// Provides the results of directory enumeration. |
+IPC_MESSAGE_ROUTED2(ViewMsg_EnumerateDirectoryResponse, |
+ int /* request_id */, |
+ std::vector<FilePath> /* files_in_directory */) |
+ |
// Used to instruct the RenderView to go into "view source" mode. |
IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) |
@@ -1654,6 +1659,14 @@ |
IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, |
ViewHostMsg_RunFileChooser_Params) |
+// Asks the browser to enumerate a directory. This is equivalent to running |
+// the file chooser in directory-enumeration mode and having the user select |
+// the given directory. The result is returned in a |
+// ViewHost_EnumerateDirectoryResponse message. |
+IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, |
+ int /* request_id */, |
+ FilePath /* file_path */); |
+ |
// Used to tell the parent the user started dragging in the content area. The |
// WebDropData struct contains contextual information about the pieces of the |
// page the user dragged. The parent uses this notification to initiate a |