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

Side by Side Diff: ppapi/thunk/ppb_instance_api.h

Issue 2539033005: ppapi: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing forward declaration in content/renderer/pepper Created 4 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
« no previous file with comments | « ppapi/tests/test_url_request.h ('k') | ppapi/thunk/ppb_url_loader_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) 2012 The Chromium Authors. All rights reserved. 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 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_THUNK_INSTANCE_API_H_ 5 #ifndef PPAPI_THUNK_INSTANCE_API_H_
6 #define PPAPI_THUNK_INSTANCE_API_H_ 6 #define PPAPI_THUNK_INSTANCE_API_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 25 matching lines...) Expand all
36 struct PPP_MessageHandler_0_2; 36 struct PPP_MessageHandler_0_2;
37 37
38 namespace ppapi { 38 namespace ppapi {
39 39
40 class Resource; 40 class Resource;
41 class TrackedCallback; 41 class TrackedCallback;
42 struct ViewData; 42 struct ViewData;
43 43
44 namespace thunk { 44 namespace thunk {
45 45
46 class PPB_Flash_API;
47
48 class PPB_Instance_API { 46 class PPB_Instance_API {
49 public: 47 public:
50 virtual ~PPB_Instance_API() {} 48 virtual ~PPB_Instance_API() {}
51 49
52 virtual PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) = 0; 50 virtual PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) = 0;
53 virtual PP_Bool IsFullFrame(PP_Instance instance) = 0; 51 virtual PP_Bool IsFullFrame(PP_Instance instance) = 0;
54 52
55 // Unexposed PPAPI functions for proxying. 53 // Unexposed PPAPI functions for proxying.
56 // Returns the internal view data struct. 54 // Returns the internal view data struct.
57 virtual const ViewData* GetViewData(PP_Instance instance) = 0; 55 virtual const ViewData* GetViewData(PP_Instance instance) = 0;
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 PP_URLComponents_Dev* components) = 0; 211 PP_URLComponents_Dev* components) = 0;
214 #endif // !defined(OS_NACL) 212 #endif // !defined(OS_NACL)
215 213
216 static const ApiID kApiID = API_ID_PPB_INSTANCE; 214 static const ApiID kApiID = API_ID_PPB_INSTANCE;
217 }; 215 };
218 216
219 } // namespace thunk 217 } // namespace thunk
220 } // namespace ppapi 218 } // namespace ppapi
221 219
222 #endif // PPAPI_THUNK_INSTANCE_API_H_ 220 #endif // PPAPI_THUNK_INSTANCE_API_H_
OLDNEW
« no previous file with comments | « ppapi/tests/test_url_request.h ('k') | ppapi/thunk/ppb_url_loader_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698