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

Side by Side Diff: ppapi/proxy/ppb_graphics_2d_proxy.h

Issue 7629017: Add a unified resource tracker shared between the proxy and the impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments 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
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 #ifndef PPAPI_PPB_GRAPHICS_2D_PROXY_H_ 5 #ifndef PPAPI_PPB_GRAPHICS_2D_PROXY_H_
6 #define PPAPI_PPB_GRAPHICS_2D_PROXY_H_ 6 #define PPAPI_PPB_GRAPHICS_2D_PROXY_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_completion_callback.h" 9 #include "ppapi/c/pp_completion_callback.h"
10 #include "ppapi/c/pp_module.h" 10 #include "ppapi/c/pp_module.h"
11 #include "ppapi/c/pp_module.h" 11 #include "ppapi/c/pp_module.h"
12 #include "ppapi/c/pp_resource.h" 12 #include "ppapi/c/pp_resource.h"
13 #include "ppapi/c/pp_size.h" 13 #include "ppapi/c/pp_size.h"
14 #include "ppapi/c/pp_var.h" 14 #include "ppapi/c/pp_var.h"
15 #include "ppapi/cpp/completion_callback.h" 15 #include "ppapi/cpp/completion_callback.h"
16 #include "ppapi/proxy/interface_proxy.h" 16 #include "ppapi/proxy/interface_proxy.h"
17 #include "ppapi/proxy/plugin_resource.h"
18 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" 17 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h"
19 #include "ppapi/shared_impl/host_resource.h" 18 #include "ppapi/shared_impl/host_resource.h"
20 19
21 struct PPB_Graphics2D; 20 struct PPB_Graphics2D;
22 struct PP_Point; 21 struct PP_Point;
23 struct PP_Rect; 22 struct PP_Rect;
24 23
25 namespace pp { 24 namespace pp {
26 namespace proxy { 25 namespace proxy {
27 26
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 const ppapi::HostResource& graphics_2d); 66 const ppapi::HostResource& graphics_2d);
68 67
69 CompletionCallbackFactory<PPB_Graphics2D_Proxy, 68 CompletionCallbackFactory<PPB_Graphics2D_Proxy,
70 ProxyNonThreadSafeRefCount> callback_factory_; 69 ProxyNonThreadSafeRefCount> callback_factory_;
71 }; 70 };
72 71
73 } // namespace proxy 72 } // namespace proxy
74 } // namespace pp 73 } // namespace pp
75 74
76 #endif // PPAPI_PPB_GRAPHICS_2D_PROXY_H_ 75 #endif // PPAPI_PPB_GRAPHICS_2D_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698