OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include <stdio.h> | 5 #include <stdio.h> |
6 #include <stdlib.h> | 6 #include <stdlib.h> |
7 #include <string.h> | 7 #include <string.h> |
| 8 #include <sys/mount.h> |
8 | 9 |
9 #include <algorithm> | 10 #include <algorithm> |
10 #include <sstream> | 11 #include <sstream> |
11 #include <string> | 12 #include <string> |
12 #include <vector> | 13 #include <vector> |
13 | 14 |
14 #include "nacl_io/nacl_io.h" | |
15 | |
16 #include "ppapi/c/pp_rect.h" | 15 #include "ppapi/c/pp_rect.h" |
17 #include "ppapi/c/pp_size.h" | 16 #include "ppapi/c/pp_size.h" |
18 | 17 |
19 #include "ppapi_simple/ps_context_2d.h" | 18 #include "ppapi_simple/ps_context_2d.h" |
20 #include "ppapi_simple/ps_main.h" | 19 #include "ppapi_simple/ps_main.h" |
21 | 20 |
22 #include "goose.h" | 21 #include "goose.h" |
23 #include "sprite.h" | 22 #include "sprite.h" |
24 #include "vector2.h" | 23 #include "vector2.h" |
25 | 24 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 } | 140 } |
142 | 141 |
143 return 0; | 142 return 0; |
144 } | 143 } |
145 | 144 |
146 /* | 145 /* |
147 * Register the function to call once the Instance Object is initialized. | 146 * Register the function to call once the Instance Object is initialized. |
148 * see: pappi_simple/ps_main.h | 147 * see: pappi_simple/ps_main.h |
149 */ | 148 */ |
150 PPAPI_SIMPLE_REGISTER_MAIN(example_main); | 149 PPAPI_SIMPLE_REGISTER_MAIN(example_main); |
OLD | NEW |