| OLD | NEW |
| 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 #include <stdint.h> |
| 6 |
| 5 #include "ppapi/c/pp_errors.h" | 7 #include "ppapi/c/pp_errors.h" |
| 6 #include "ppapi/c/pp_input_event.h" | 8 #include "ppapi/c/pp_input_event.h" |
| 7 #include "ppapi/c/ppb_var.h" | 9 #include "ppapi/c/ppb_var.h" |
| 8 #include "ppapi/c/trusted/ppb_instance_trusted.h" | 10 #include "ppapi/c/trusted/ppb_instance_trusted.h" |
| 9 #include "ppapi/cpp/completion_callback.h" | 11 #include "ppapi/cpp/completion_callback.h" |
| 10 #include "ppapi/cpp/instance.h" | 12 #include "ppapi/cpp/instance.h" |
| 11 #include "ppapi/cpp/module.h" | 13 #include "ppapi/cpp/module.h" |
| 12 #include "ppapi/cpp/private/var_private.h" | 14 #include "ppapi/cpp/private/var_private.h" |
| 13 | 15 |
| 14 class MyInstance : public pp::Instance { | 16 class MyInstance : public pp::Instance { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 }; | 69 }; |
| 68 | 70 |
| 69 namespace pp { | 71 namespace pp { |
| 70 | 72 |
| 71 // Factory function for your specialization of the Module object. | 73 // Factory function for your specialization of the Module object. |
| 72 Module* CreateModule() { | 74 Module* CreateModule() { |
| 73 return new MyModule(); | 75 return new MyModule(); |
| 74 } | 76 } |
| 75 | 77 |
| 76 } // namespace pp | 78 } // namespace pp |
| OLD | NEW |