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