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

Unified Diff: win8/metro_driver/file_picker_ash.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 | « win8/metro_driver/chrome_app_view_ash.cc ('k') | win8/metro_driver/file_picker_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/file_picker_ash.h
===================================================================
--- win8/metro_driver/file_picker_ash.h (revision 194196)
+++ win8/metro_driver/file_picker_ash.h (working copy)
@@ -144,5 +144,23 @@
DISALLOW_COPY_AND_ASSIGN(SaveFilePickerSession);
};
+// Provides functionality to display the folder picker.
+class FolderPickerSession : public FilePickerSessionBase {
+ public:
+ explicit FolderPickerSession(ChromeAppViewAsh* app_view,
+ const string16& title);
+
+ private:
+ virtual HRESULT StartFilePicker() OVERRIDE;
+
+ typedef winfoundtn::IAsyncOperation<winstorage::StorageFolder*>
+ FolderPickerAsyncOp;
+
+ // Called asynchronously when the folder picker is done.
+ HRESULT FolderPickerDone(FolderPickerAsyncOp* async, AsyncStatus status);
+
+ DISALLOW_COPY_AND_ASSIGN(FolderPickerSession);
+};
+
#endif // CHROME_BROWSER_UI_METRO_DRIVER_FILE_PICKER_ASH_H_
« no previous file with comments | « win8/metro_driver/chrome_app_view_ash.cc ('k') | win8/metro_driver/file_picker_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698