Fixing an off by one error in screenshot manager code.
[chromium-blink-merge.git] / win8 / metro_driver / file_picker.h
blobef56cb390828860d46184659c7eb78b52920b804
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_
7 #include <commdlg.h>
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);
14 extern "C" __declspec(dllexport)
15 BOOL MetroGetSaveFileName(OPENFILENAME* open_file_name);
17 #endif // CHROME_BROWSER_UI_METRO_DRIVER_FILE_PICKER_H_