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_CPP_TRUSTED_FILE_CHOOSER_TRUSTED_H_ | 5 #ifndef PPAPI_CPP_TRUSTED_FILE_CHOOSER_TRUSTED_H_ |
6 #define PPAPI_CPP_TRUSTED_FILE_CHOOSER_TRUSTED_H_ | 6 #define PPAPI_CPP_TRUSTED_FILE_CHOOSER_TRUSTED_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "ppapi/cpp/dev/file_chooser_dev.h" | 12 #include "ppapi/cpp/dev/file_chooser_dev.h" |
11 | 13 |
12 namespace pp { | 14 namespace pp { |
13 | 15 |
14 class FileChooser_Trusted : public FileChooser_Dev { | 16 class FileChooser_Trusted : public FileChooser_Dev { |
15 public: | 17 public: |
16 /// Creates an is_null() FileChooser_Trusted object. | 18 /// Creates an is_null() FileChooser_Trusted object. |
17 FileChooser_Trusted(); | 19 FileChooser_Trusted(); |
(...skipping 14 matching lines...) Expand all Loading... |
32 const CompletionCallbackWithOutput< std::vector<FileRef> >& callback); | 34 const CompletionCallbackWithOutput< std::vector<FileRef> >& callback); |
33 | 35 |
34 private: | 36 private: |
35 bool save_as_; | 37 bool save_as_; |
36 std::string suggested_file_name_; | 38 std::string suggested_file_name_; |
37 }; | 39 }; |
38 | 40 |
39 } // namespace pp | 41 } // namespace pp |
40 | 42 |
41 #endif // PPAPI_CPP_TRUSTED_FILE_CHOOSER_TRUSTED_H_ | 43 #endif // PPAPI_CPP_TRUSTED_FILE_CHOOSER_TRUSTED_H_ |
OLD | NEW |