| 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 #ifndef PPAPI_CPP_INSTANCE_H_ | 5 #ifndef PPAPI_CPP_INSTANCE_H_ |
| 6 #define PPAPI_CPP_INSTANCE_H_ | 6 #define PPAPI_CPP_INSTANCE_H_ |
| 7 | 7 |
| 8 /// @file | 8 /// @file |
| 9 /// Defines the C++ wrapper for an instance. | 9 /// This file defines the C++ wrapper for an instance. |
| 10 | 10 |
| 11 #include <map> | 11 #include <map> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "ppapi/c/pp_instance.h" | 14 #include "ppapi/c/pp_instance.h" |
| 15 #include "ppapi/c/pp_resource.h" | 15 #include "ppapi/c/pp_resource.h" |
| 16 #include "ppapi/c/pp_stdint.h" | 16 #include "ppapi/c/pp_stdint.h" |
| 17 | 17 |
| 18 struct PP_InputEvent; | 18 struct PP_InputEvent; |
| 19 | 19 |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 private: | 511 private: |
| 512 PP_Instance pp_instance_; | 512 PP_Instance pp_instance_; |
| 513 | 513 |
| 514 typedef std::map<std::string, void*> InterfaceNameToObjectMap; | 514 typedef std::map<std::string, void*> InterfaceNameToObjectMap; |
| 515 InterfaceNameToObjectMap interface_name_to_objects_; | 515 InterfaceNameToObjectMap interface_name_to_objects_; |
| 516 }; | 516 }; |
| 517 | 517 |
| 518 } // namespace pp | 518 } // namespace pp |
| 519 | 519 |
| 520 #endif // PPAPI_CPP_INSTANCE_H_ | 520 #endif // PPAPI_CPP_INSTANCE_H_ |
| OLD | NEW |