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

Side by Side Diff: ppapi/thunk/ppb_graphics_2d_thunk.cc

Issue 7687005: Create ppapi_proxy.dll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/thunk/ppb_file_ref_api.h ('k') | ppapi/thunk/ppb_graphics_3d_api.h » ('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) 2011 The Chromium Authors. All rights reserved. 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 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 #include "ppapi/c/pp_completion_callback.h" 5 #include "ppapi/c/pp_completion_callback.h"
6 #include "ppapi/c/pp_errors.h" 6 #include "ppapi/c/pp_errors.h"
7 #include "ppapi/c/ppb_graphics_2d.h" 7 #include "ppapi/c/ppb_graphics_2d.h"
8 #include "ppapi/thunk/common.h" 8 #include "ppapi/thunk/common.h"
9 #include "ppapi/thunk/enter.h" 9 #include "ppapi/thunk/enter.h"
10 #include "ppapi/thunk/ppb_graphics_2d_api.h" 10 #include "ppapi/thunk/ppb_graphics_2d_api.h"
11 #include "ppapi/thunk/resource_creation_api.h" 11 #include "ppapi/thunk/resource_creation_api.h"
12 #include "ppapi/thunk/thunk.h"
12 13
13 namespace ppapi { 14 namespace ppapi {
14 namespace thunk { 15 namespace thunk {
15 16
16 namespace { 17 namespace {
17 18
18 PP_Resource Create(PP_Instance instance, 19 PP_Resource Create(PP_Instance instance,
19 const PP_Size* size, 20 const PP_Size* size,
20 PP_Bool is_always_opaque) { 21 PP_Bool is_always_opaque) {
21 EnterFunction<ResourceCreationAPI> enter(instance, true); 22 EnterFunction<ResourceCreationAPI> enter(instance, true);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 }; 89 };
89 90
90 } // namespace 91 } // namespace
91 92
92 const PPB_Graphics2D* GetPPB_Graphics2D_Thunk() { 93 const PPB_Graphics2D* GetPPB_Graphics2D_Thunk() {
93 return &g_ppb_graphics_2d_thunk; 94 return &g_ppb_graphics_2d_thunk;
94 } 95 }
95 96
96 } // namespace thunk 97 } // namespace thunk
97 } // namespace ppapi 98 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_file_ref_api.h ('k') | ppapi/thunk/ppb_graphics_3d_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698