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

Side by Side Diff: chrome/test/data/nacl/ppapi_test_lib/test_interface.h

Issue 2637403002: Fix header guards in //chrome (Closed)
Patch Set: Created 3 years, 11 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
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 // 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 //
(...skipping 19 matching lines...) Expand all
30 // RegisterTest("TestPPBFoo", TestPPBFoo); 30 // RegisterTest("TestPPBFoo", TestPPBFoo);
31 // } 31 // }
32 // 32 //
33 // const PPP_Bar ppp_bar_interface = { ... }; 33 // const PPP_Bar ppp_bar_interface = { ... };
34 // 34 //
35 // void SetupPluginInterface() { 35 // void SetupPluginInterface() {
36 // RegisterPluginInterface(PPP_BAR_INTERFACE, &ppp_bar_interface); 36 // RegisterPluginInterface(PPP_BAR_INTERFACE, &ppp_bar_interface);
37 // } 37 // }
38 // 38 //
39 39
40 #ifndef NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_TEST_INTERFACE_H 40 #ifndef CHROME_TEST_DATA_NACL_PPAPI_TEST_LIB_TEST_INTERFACE_H_
41 #define NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_TEST_INTERFACE_H 41 #define CHROME_TEST_DATA_NACL_PPAPI_TEST_LIB_TEST_INTERFACE_H_
42 42
43 #include <stdint.h> 43 #include <stdint.h>
44 #include <stdio.h> 44 #include <stdio.h>
45 #include <limits> 45 #include <limits>
46 46
47 #include <sstream> 47 #include <sstream>
48 48
49 #include "native_client/src/include/nacl_string.h" 49 #include "native_client/src/include/nacl_string.h"
50 50
51 #include "ppapi/c/pp_completion_callback.h" 51 #include "ppapi/c/pp_completion_callback.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 // and |pixel_color|. 215 // and |pixel_color|.
216 PP_Resource CreateImageData(PP_Size size, ColorPremul pixel_color, void** bmp); 216 PP_Resource CreateImageData(PP_Size size, ColorPremul pixel_color, void** bmp);
217 217
218 218
219 // Checks if the image rect of |color| and |size| is on the screen at |origin|. 219 // Checks if the image rect of |color| and |size| is on the screen at |origin|.
220 bool IsImageRectOnScreen(PP_Resource graphics2d, 220 bool IsImageRectOnScreen(PP_Resource graphics2d,
221 PP_Point origin, 221 PP_Point origin,
222 PP_Size size, 222 PP_Size size,
223 ColorPremul color); 223 ColorPremul color);
224 224
225 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_TEST_INTERFACE_H 225 #endif // CHROME_TEST_DATA_NACL_PPAPI_TEST_LIB_TEST_INTERFACE_H_
OLDNEW
« no previous file with comments | « chrome/test/data/nacl/ppapi_test_lib/internal_utils.h ('k') | chrome/test/data/nacl/ppapi_test_lib/testable_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698