1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 #ifndef CHROME_BROWSER_UI_METRO_DRIVER_FILE_PICKER_H_ 5 #define CHROME_BROWSER_UI_METRO_DRIVER_FILE_PICKER_H_ 6 7 #include <commdlg.h> 8 9 // This function behaves similarly to GetOpenFileName, except it uses a 10 // Metro file picker to pick a single or multiple file names. 11 extern "C" __declspec(dllexport) 12 BOOL MetroGetOpenFileName(OPENFILENAME* open_file_name); 13 14 extern "C" __declspec(dllexport) 15 BOOL MetroGetSaveFileName(OPENFILENAME* open_file_name); 16 17 #endif // CHROME_BROWSER_UI_METRO_DRIVER_FILE_PICKER_H_ 18 19