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

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

Issue 9111008: Introduce PPB_ResourceArray_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 11 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
« no previous file with comments | « ppapi/c/dev/ppb_resource_array_dev.h ('k') | ppapi/cpp/dev/resource_array_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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_CPP_DEV_RESOURCE_ARRAY_DEV_H_
6 #define PPAPI_CPP_DEV_RESOURCE_ARRAY_DEV_H_
7
8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/cpp/resource.h"
10
11 namespace pp {
12
13 class Instance;
14
15 class ResourceArray_Dev : public Resource {
16 public:
17 ResourceArray_Dev();
18
19 struct PassRef {};
20
21 ResourceArray_Dev(PassRef, PP_Resource resource);
22
23 ResourceArray_Dev(const ResourceArray_Dev& other);
24
25 ResourceArray_Dev(Instance* instance,
26 const PP_Resource elements[],
27 uint32_t size);
28
29 virtual ~ResourceArray_Dev();
30
31 ResourceArray_Dev& operator=(const ResourceArray_Dev& other);
32
33 uint32_t size() const;
34
35 PP_Resource operator[](uint32_t index) const;
36 };
37
38 } // namespace pp
39
40 #endif // PPAPI_CPP_DEV_RESOURCE_ARRAY_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_resource_array_dev.h ('k') | ppapi/cpp/dev/resource_array_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698