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

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

Issue 8989006: Update PPAPI IDL generator to define versioned structs, and unversioned typedef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ppapi/tests/ forward declares to includes. Created 9 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 | 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_CORE_PROXY_H_ 5 #ifndef PPAPI_PPB_CORE_PROXY_H_
6 #define PPAPI_PPB_CORE_PROXY_H_ 6 #define PPAPI_PPB_CORE_PROXY_H_
7 7
8 #include "ppapi/c/pp_completion_callback.h" 8 #include "ppapi/c/pp_completion_callback.h"
9 #include "ppapi/c/pp_resource.h" 9 #include "ppapi/c/pp_resource.h"
10 #include "ppapi/c/pp_var.h" 10 #include "ppapi/c/pp_var.h"
11 #include "ppapi/c/ppb_core.h" 11 #include "ppapi/c/ppb_core.h"
12 #include "ppapi/proxy/interface_proxy.h" 12 #include "ppapi/proxy/interface_proxy.h"
13 #include "ppapi/shared_impl/host_resource.h" 13 #include "ppapi/shared_impl/host_resource.h"
14 14
15 struct PPB_Core;
16
17 namespace ppapi { 15 namespace ppapi {
18 namespace proxy { 16 namespace proxy {
19 17
20 class PPB_Core_Proxy : public InterfaceProxy { 18 class PPB_Core_Proxy : public InterfaceProxy {
21 public: 19 public:
22 PPB_Core_Proxy(Dispatcher* dispatcher); 20 PPB_Core_Proxy(Dispatcher* dispatcher);
23 virtual ~PPB_Core_Proxy(); 21 virtual ~PPB_Core_Proxy();
24 22
25 static const PPB_Core* GetPPB_Core_Interface(); 23 static const PPB_Core* GetPPB_Core_Interface();
26 24
(...skipping 10 matching lines...) Expand all
37 // When this proxy is in the host side, this value caches the interface 35 // When this proxy is in the host side, this value caches the interface
38 // pointer so we don't have to retrieve it from the dispatcher each time. 36 // pointer so we don't have to retrieve it from the dispatcher each time.
39 // In the plugin, this value is always NULL. 37 // In the plugin, this value is always NULL.
40 const PPB_Core* ppb_core_impl_; 38 const PPB_Core* ppb_core_impl_;
41 }; 39 };
42 40
43 } // namespace proxy 41 } // namespace proxy
44 } // namespace ppapi 42 } // namespace ppapi
45 43
46 #endif // PPAPI_PPB_CORE_PROXY_H_ 44 #endif // PPAPI_PPB_CORE_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698