blob: 1feff61719d89b0cd18432d13ebab6053a151b43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_
#define PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_
#include "ppapi/cpp/resource.h"
struct PP_FileChooserOptions_Dev;
namespace pp {
class CompletionCallback;
class FileRef_Dev;
class Instance;
class FileChooser_Dev : public Resource {
public:
// Creates an is_null() FileChooser object.
FileChooser_Dev() {}
FileChooser_Dev(const Instance& instance,
const PP_FileChooserOptions_Dev& options);
FileChooser_Dev(const FileChooser_Dev& other);
// PPB_FileChooser methods:
int32_t Show(const CompletionCallback& cc);
FileRef_Dev GetNextChosenFile() const;
};
} // namespace pp
#endif // PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_
|