OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PPAPI_THUNK_PPB_FILE_CHOOSER_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_FILE_CHOOSER_API_H_ |
6 #define PPAPI_THUNK_PPB_FILE_CHOOSER_API_H_ | 6 #define PPAPI_THUNK_PPB_FILE_CHOOSER_API_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 11 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
10 | 12 |
11 namespace ppapi { | 13 namespace ppapi { |
12 | 14 |
13 class TrackedCallback; | 15 class TrackedCallback; |
14 | 16 |
15 namespace thunk { | 17 namespace thunk { |
16 | 18 |
17 class PPB_FileChooser_API { | 19 class PPB_FileChooser_API { |
(...skipping 18 matching lines...) Expand all Loading... |
36 virtual int32_t ShowWithoutUserGesture0_5( | 38 virtual int32_t ShowWithoutUserGesture0_5( |
37 PP_Bool save_as, | 39 PP_Bool save_as, |
38 PP_Var suggested_file_name, | 40 PP_Var suggested_file_name, |
39 scoped_refptr<TrackedCallback> callback) = 0; | 41 scoped_refptr<TrackedCallback> callback) = 0; |
40 }; | 42 }; |
41 | 43 |
42 } // namespace thunk | 44 } // namespace thunk |
43 } // namespace ppapi | 45 } // namespace ppapi |
44 | 46 |
45 #endif // PPAPI_THUNK_PPB_FILE_CHOOSER_API_H_ | 47 #endif // PPAPI_THUNK_PPB_FILE_CHOOSER_API_H_ |
OLD | NEW |