Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Side by Side Diff: ppapi/cpp/dev/file_chooser_dev.h

Issue 7387011: Clean up the file dev interfaces. The combination of some dev and some non (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DEV_FILE_CHOOSER_DEV_H_ 5 #ifndef PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_
6 #define PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_ 6 #define PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_
7 7
8 #include "ppapi/cpp/resource.h" 8 #include "ppapi/cpp/resource.h"
9 9
10 struct PP_FileChooserOptions_Dev; 10 struct PP_FileChooserOptions_Dev;
11 11
12 namespace pp { 12 namespace pp {
13 13
14 class CompletionCallback; 14 class CompletionCallback;
15 class FileRef_Dev; 15 class FileRef;
16 class Instance; 16 class Instance;
17 17
18 class FileChooser_Dev : public Resource { 18 class FileChooser_Dev : public Resource {
19 public: 19 public:
20 // Creates an is_null() FileChooser object. 20 // Creates an is_null() FileChooser object.
21 FileChooser_Dev() {} 21 FileChooser_Dev() {}
22 22
23 FileChooser_Dev(const Instance& instance, 23 FileChooser_Dev(const Instance& instance,
24 const PP_FileChooserOptions_Dev& options); 24 const PP_FileChooserOptions_Dev& options);
25 25
26 FileChooser_Dev(const FileChooser_Dev& other); 26 FileChooser_Dev(const FileChooser_Dev& other);
27 27
28 // PPB_FileChooser methods: 28 // PPB_FileChooser methods:
29 int32_t Show(const CompletionCallback& cc); 29 int32_t Show(const CompletionCallback& cc);
30 FileRef_Dev GetNextChosenFile() const; 30 FileRef GetNextChosenFile() const;
31 }; 31 };
32 32
33 } // namespace pp 33 } // namespace pp
34 34
35 #endif // PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_ 35 #endif // PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698