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

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

Issue 8333004: Rename InterfaceID to ApiID and move the file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years, 2 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_font_api.h ('k') | ppapi/thunk/ppb_text_input_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 #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 "ppapi/c/dev/ppb_url_util_dev.h" 8 #include "ppapi/c/dev/ppb_url_util_dev.h"
9 #include "ppapi/c/pp_completion_callback.h" 9 #include "ppapi/c/pp_completion_callback.h"
10 #include "ppapi/c/ppb_instance.h" 10 #include "ppapi/c/ppb_instance.h"
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_size.h" 12 #include "ppapi/c/pp_size.h"
13 #include "ppapi/c/private/ppb_instance_private.h" 13 #include "ppapi/c/private/ppb_instance_private.h"
14 #include "ppapi/proxy/interface_id.h" 14 #include "ppapi/shared_impl/api_id.h"
15 15
16 namespace ppapi { 16 namespace ppapi {
17 namespace thunk { 17 namespace thunk {
18 18
19 class PPB_Instance_FunctionAPI { 19 class PPB_Instance_FunctionAPI {
20 public: 20 public:
21 virtual ~PPB_Instance_FunctionAPI() {} 21 virtual ~PPB_Instance_FunctionAPI() {}
22 22
23 virtual PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) = 0; 23 virtual PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) = 0;
24 virtual PP_Bool IsFullFrame(PP_Instance instance) = 0; 24 virtual PP_Bool IsFullFrame(PP_Instance instance) = 0;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 PP_Var relative, 89 PP_Var relative,
90 PP_URLComponents_Dev* components) = 0; 90 PP_URLComponents_Dev* components) = 0;
91 virtual PP_Bool DocumentCanRequest(PP_Instance instance, PP_Var url) = 0; 91 virtual PP_Bool DocumentCanRequest(PP_Instance instance, PP_Var url) = 0;
92 virtual PP_Bool DocumentCanAccessDocument(PP_Instance instance, 92 virtual PP_Bool DocumentCanAccessDocument(PP_Instance instance,
93 PP_Instance target) = 0; 93 PP_Instance target) = 0;
94 virtual PP_Var GetDocumentURL(PP_Instance instance, 94 virtual PP_Var GetDocumentURL(PP_Instance instance,
95 PP_URLComponents_Dev* components) = 0; 95 PP_URLComponents_Dev* components) = 0;
96 virtual PP_Var GetPluginInstanceURL(PP_Instance instance, 96 virtual PP_Var GetPluginInstanceURL(PP_Instance instance,
97 PP_URLComponents_Dev* components) = 0; 97 PP_URLComponents_Dev* components) = 0;
98 98
99 static const proxy::InterfaceID interface_id = 99 static const ApiID kApiID = API_ID_PPB_INSTANCE;
100 proxy::INTERFACE_ID_PPB_INSTANCE;
101 }; 100 };
102 101
103 } // namespace thunk 102 } // namespace thunk
104 } // namespace ppapi 103 } // namespace ppapi
105 104
106 #endif // PPAPI_THUNK_INSTANCE_API_H_ 105 #endif // PPAPI_THUNK_INSTANCE_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_font_api.h ('k') | ppapi/thunk/ppb_text_input_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698