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

Side by Side Diff: ppapi/native_client/tests/ppapi_test_lib/test_interface.h

Issue 7740062: NaCl PPAPI Test Lib: Make PPP_Instance function defaults available via the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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/native_client/tests/ppapi_test_lib/module_instance.cc ('k') | no next file » | 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 Native Client 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 // Functions and constants for test registration and setup. 5 // Functions and constants for test registration and setup.
6 // 6 //
7 // NOTE: These must be implemented by the tester: 7 // NOTE: These must be implemented by the tester:
8 // - SetupTests() 8 // - SetupTests()
9 // - SetupPluginInterfaces() 9 // - SetupPluginInterfaces()
10 // 10 //
11 // Sample Usage: 11 // Sample Usage:
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 // Interface pointers and ids corresponding to this plugin; 165 // Interface pointers and ids corresponding to this plugin;
166 // set at initialization/creation. 166 // set at initialization/creation.
167 PP_Instance pp_instance(); 167 PP_Instance pp_instance();
168 PP_Module pp_module(); 168 PP_Module pp_module();
169 169
170 // If you are providing your own version of PPP_Instance::DidCreate 170 // If you are providing your own version of PPP_Instance::DidCreate
171 // call this function to ensure proper test set-up. 171 // call this function to ensure proper test set-up.
172 PP_Bool DidCreateDefault(PP_Instance instance, 172 PP_Bool DidCreateDefault(PP_Instance instance,
173 uint32_t argc, const char* argn[], const char* argv[]); 173 uint32_t argc, const char* argn[], const char* argv[]);
174 // Other default implementations of the required PPP_Instance functions.
175 void DidDestroyDefault(PP_Instance instance);
176 void DidChangeViewDefault(PP_Instance instance,
177 const struct PP_Rect* position,
178 const struct PP_Rect* clip);
179 void DidChangeFocusDefault(PP_Instance instance, PP_Bool has_focus);
180 PP_Bool HandleDocumentLoadDefault(PP_Instance instance, PP_Resource url_loader);
174 181
175 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_TEST_INTERFACE_H 182 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_TEST_INTERFACE_H
OLDNEW
« no previous file with comments | « ppapi/native_client/tests/ppapi_test_lib/module_instance.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698