| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_RENDERER_PEPPER_V8OBJECT_VAR_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_V8OBJECT_VAR_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_V8OBJECT_VAR_H_ | 6 #define CONTENT_RENDERER_PEPPER_V8OBJECT_VAR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 11 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 12 #include "ppapi/c/pp_instance.h" | 13 #include "ppapi/c/pp_instance.h" |
| 13 #include "ppapi/shared_impl/var.h" | 14 #include "ppapi/shared_impl/var.h" |
| 14 #include "v8/include/v8.h" | 15 #include "v8/include/v8.h" |
| 15 | 16 |
| 16 namespace content { | 17 namespace content { |
| 17 class PepperPluginInstanceImpl; | 18 class PepperPluginInstanceImpl; |
| 18 } // namespace content | 19 } // namespace content |
| 19 | 20 |
| 20 namespace ppapi { | 21 namespace ppapi { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 content::PepperPluginInstanceImpl* instance_; | 58 content::PepperPluginInstanceImpl* instance_; |
| 58 | 59 |
| 59 v8::Persistent<v8::Object> v8_object_; | 60 v8::Persistent<v8::Object> v8_object_; |
| 60 | 61 |
| 61 DISALLOW_COPY_AND_ASSIGN(V8ObjectVar); | 62 DISALLOW_COPY_AND_ASSIGN(V8ObjectVar); |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 } // ppapi | 65 } // ppapi |
| 65 | 66 |
| 66 #endif // CONTENT_RENDERER_PEPPER_V8OBJECT_VAR_H_ | 67 #endif // CONTENT_RENDERER_PEPPER_V8OBJECT_VAR_H_ |
| OLD | NEW |