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

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

Issue 2539033005: ppapi: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing forward declaration in content/renderer/pepper Created 4 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
OLDNEW
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_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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 12 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
13 #include "ppapi/cpp/completion_callback.h" 13 #include "ppapi/cpp/completion_callback.h"
14 #include "ppapi/cpp/file_ref.h" 14 #include "ppapi/cpp/file_ref.h"
15 #include "ppapi/cpp/resource.h" 15 #include "ppapi/cpp/resource.h"
16 16
17 namespace pp { 17 namespace pp {
18 18
19 class CompletionCallback;
20 class FileRef; 19 class FileRef;
21 class InstanceHandle; 20 class InstanceHandle;
22 class Var; 21 class Var;
23 22
24 class FileChooser_Dev : public Resource { 23 class FileChooser_Dev : public Resource {
25 public: 24 public:
26 /// Creates an is_null() FileChooser object. 25 /// Creates an is_null() FileChooser object.
27 FileChooser_Dev() {} 26 FileChooser_Dev() {}
28 27
29 /// This function creates a file chooser dialog resource. The chooser is 28 /// This function creates a file chooser dialog resource. The chooser is
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // the caller is expecting. 92 // the caller is expecting.
94 // 93 //
95 // This takes a heap-allocated ChooseCallbackData0_5 struct passed as the 94 // This takes a heap-allocated ChooseCallbackData0_5 struct passed as the
96 // user data and deletes it when the call completes. 95 // user data and deletes it when the call completes.
97 static void CallbackConverter(void* user_data, int32_t result); 96 static void CallbackConverter(void* user_data, int32_t result);
98 }; 97 };
99 98
100 } // namespace pp 99 } // namespace pp
101 100
102 #endif // PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_ 101 #endif // PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_instance_impl.h ('k') | ppapi/cpp/dev/video_decoder_client_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698