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

Side by Side Diff: webkit/plugins/ppapi/resource_creation_impl.h

Issue 6905088: New thunk system for Pepper proxy and implementation (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
7
8 #include "base/basictypes.h"
9 #include "ppapi/shared_impl/function_group_base.h"
10 #include "ppapi/thunk/resource_creation_api.h"
11
12 namespace webkit {
13 namespace ppapi {
14
15 class ResourceCreationImpl : public ::ppapi::shared_impl::FunctionGroupBase,
16 public ::ppapi::thunk::ResourceCreationAPI {
17 public:
18 ResourceCreationImpl();
19 virtual ~ResourceCreationImpl();
20
21 // FunctionGroupBase implementation.
22 virtual ::ppapi::thunk::ResourceCreationAPI* AsResourceCreation();
23
24 // ResourceCreationAPI implementation.
25 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance,
26 const PP_Size& size,
27 PP_Bool is_always_opaque);
28 virtual PP_Resource CreateImageData(PP_Instance instance,
29 PP_ImageDataFormat format,
30 const PP_Size& size,
31 PP_Bool init_to_zero);
32
33 private:
34 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl);
35 };
36
37 } // namespace ppapi
38 } // namespace webkit
39
40 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698