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

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

Issue 5539001: Remove all the swap() stuff in the PPAPI C++ wrappers.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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
« no previous file with comments | « ppapi/cpp/dev/directory_reader_dev.cc ('k') | ppapi/cpp/dev/file_chooser_dev.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_Dev;
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 FileChooser_Dev& operator=(const FileChooser_Dev& other); 28 FileChooser_Dev& operator=(const FileChooser_Dev& other);
29 void swap(FileChooser_Dev& other);
30 29
31 // PPB_FileChooser methods: 30 // PPB_FileChooser methods:
32 int32_t Show(const CompletionCallback& cc); 31 int32_t Show(const CompletionCallback& cc);
33 FileRef_Dev GetNextChosenFile() const; 32 FileRef_Dev GetNextChosenFile() const;
34 }; 33 };
35 34
36 } // namespace pp 35 } // namespace pp
37 36
38 #endif // PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_ 37 #endif // PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/directory_reader_dev.cc ('k') | ppapi/cpp/dev/file_chooser_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698