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

Unified Diff: ui/metro_viewer/metro_viewer_messages.h

Issue 14282002: Added support for displaying the select folder picker in Chrome ASH on Windows 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 | « ui/aura/remote_root_window_host_win.cc ('k') | ui/shell_dialogs/select_file_dialog_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/metro_viewer/metro_viewer_messages.h
===================================================================
--- ui/metro_viewer/metro_viewer_messages.h (revision 194196)
+++ ui/metro_viewer/metro_viewer_messages.h (working copy)
@@ -73,18 +73,22 @@
// Informs the browser of the result of a file save as operation.
IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_FileSaveAsDone,
bool, /* success */
- string16, /* filename */
+ base::FilePath, /* filename */
int) /* filter_index */
// Informs the browser of the result of a file open operation.
IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_FileOpenDone,
bool, /* success */
- string16) /* filename */
+ base::FilePath) /* filename */
IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_MultiFileOpenDone,
bool, /* success */
std::vector<base::FilePath>) /* filenames */
+// Informs the browser of the result of a select folder operation.
+IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_SelectFolderDone,
+ bool, /* success */
+ base::FilePath) /* filepath*/
// Messages sent from the browser to the viewer:
@@ -100,7 +104,7 @@
IPC_STRUCT_MEMBER(string16, title)
// The suggested file name.
- IPC_STRUCT_MEMBER(string16, suggested_name)
+ IPC_STRUCT_MEMBER(base::FilePath, suggested_name)
// The save as filter to be used.
IPC_STRUCT_MEMBER(string16, filter)
@@ -119,8 +123,11 @@
// Requests the viewer to display the file open dialog.
IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_DisplayFileOpen,
- string16, /* title */
- string16, /* filter */
- string16, /* Default path */
- bool) /* allow_multi_select */
+ string16, /* title */
+ string16, /* filter */
+ base::FilePath, /* Default path */
+ bool) /* allow_multi_select */
+// Requests the viewer to display the select folder dialog.
+IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_DisplaySelectFolder,
+ string16) /* title */
« no previous file with comments | « ui/aura/remote_root_window_host_win.cc ('k') | ui/shell_dialogs/select_file_dialog_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698