OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_HOST_RESOURCE_VAR_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_HOST_RESOURCE_VAR_H_ |
6 #define CONTENT_RENDERER_PEPPER_HOST_RESOURCE_VAR_H_ | 6 #define CONTENT_RENDERER_PEPPER_HOST_RESOURCE_VAR_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "ipc/ipc_message.h" | 10 #include "ipc/ipc_message.h" |
10 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
11 #include "ppapi/shared_impl/resource_var.h" | 12 #include "ppapi/shared_impl/resource_var.h" |
12 #include "ppapi/shared_impl/var.h" | 13 #include "ppapi/shared_impl/var.h" |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 | 16 |
16 // Represents a resource var, usable on the host side. Can either have a | 17 // Represents a resource var, usable on the host side. Can either have a |
17 // plugin-side resource or a pending resource host. | 18 // plugin-side resource or a pending resource host. |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // If the plugin-side resource has not yet been created, carries a message to | 58 // If the plugin-side resource has not yet been created, carries a message to |
58 // create a resource of the specific type on the plugin side. Otherwise, NULL. | 59 // create a resource of the specific type on the plugin side. Otherwise, NULL. |
59 scoped_ptr<IPC::Message> creation_message_; | 60 scoped_ptr<IPC::Message> creation_message_; |
60 | 61 |
61 DISALLOW_COPY_AND_ASSIGN(HostResourceVar); | 62 DISALLOW_COPY_AND_ASSIGN(HostResourceVar); |
62 }; | 63 }; |
63 | 64 |
64 } // namespace content | 65 } // namespace content |
65 | 66 |
66 #endif // CONTENT_RENDERER_PEPPER_HOST_RESOURCE_VAR_H_ | 67 #endif // CONTENT_RENDERER_PEPPER_HOST_RESOURCE_VAR_H_ |
OLD | NEW |