| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_SCRIPTABLE_OBJECT_DEPRECATED_H_ | 5 #ifndef PPAPI_CPP_SCRIPTABLE_OBJECT_DEPRECATED_H_ |
| 6 #define PPAPI_CPP_SCRIPTABLE_OBJECT_DEPRECATED_H_ | 6 #define PPAPI_CPP_SCRIPTABLE_OBJECT_DEPRECATED_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 struct PPP_Class_Deprecated; | 10 struct PPP_Class_Deprecated; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 // The default implementation sets an exception that the method does not | 73 // The default implementation sets an exception that the method does not |
| 74 // exist. | 74 // exist. |
| 75 virtual Var Construct(const std::vector<Var>& args, | 75 virtual Var Construct(const std::vector<Var>& args, |
| 76 Var* exception); | 76 Var* exception); |
| 77 | 77 |
| 78 private: | 78 private: |
| 79 friend class ::pp::Var; | 79 friend class ::pp::Var; |
| 80 friend class ::pp::VarPrivate; | 80 friend class ::pp::VarPrivate; |
| 81 static const PPP_Class_Deprecated* GetClass(); | 81 static const PPP_Class_Deprecated* GetClass(); |
| 82 | 82 |
| 83 // Unimplemented, copy and assigmnent is not allowed. | 83 // Unimplemented, copy and assignment is not allowed. |
| 84 ScriptableObject(const ScriptableObject& other); | 84 ScriptableObject(const ScriptableObject& other); |
| 85 ScriptableObject& operator=(const ScriptableObject& other); | 85 ScriptableObject& operator=(const ScriptableObject& other); |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace deprecated | 88 } // namespace deprecated |
| 89 | 89 |
| 90 } // namespace pp | 90 } // namespace pp |
| 91 | 91 |
| 92 #endif // PPAPI_CPP_SCRIPTABLE_OBJECT_DEPRECATED_H_ | 92 #endif // PPAPI_CPP_SCRIPTABLE_OBJECT_DEPRECATED_H_ |
| 93 | 93 |
| OLD | NEW |