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_PRIVATE_VAR_PRIVATE_H_ | 5 #ifndef PPAPI_CPP_PRIVATE_VAR_PRIVATE_H_ |
6 #define PPAPI_CPP_PRIVATE_VAR_PRIVATE_H_ | 6 #define PPAPI_CPP_PRIVATE_VAR_PRIVATE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/cpp/var.h" | 10 #include "ppapi/cpp/var.h" |
9 | 11 |
10 namespace pp { | 12 namespace pp { |
11 | 13 |
12 class InstanceHandle; | 14 class InstanceHandle; |
13 | 15 |
14 namespace deprecated { | 16 namespace deprecated { |
15 class ScriptableObject; | 17 class ScriptableObject; |
16 } | 18 } |
17 | 19 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 private: | 117 private: |
116 // Prevent an arbitrary pointer argument from being implicitly converted to | 118 // Prevent an arbitrary pointer argument from being implicitly converted to |
117 // a bool at Var construction. If somebody makes such a mistake, (s)he will | 119 // a bool at Var construction. If somebody makes such a mistake, (s)he will |
118 // get a compilation error. | 120 // get a compilation error. |
119 VarPrivate(void* non_scriptable_object_pointer); | 121 VarPrivate(void* non_scriptable_object_pointer); |
120 }; | 122 }; |
121 | 123 |
122 } // namespace pp | 124 } // namespace pp |
123 | 125 |
124 #endif // PPAPI_CPP_PRIVATE_VAR_PRIVATE_H_ | 126 #endif // PPAPI_CPP_PRIVATE_VAR_PRIVATE_H_ |
OLD | NEW |