| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "chrome/plugin/command_buffer_stub.h" | 5 #include "chrome/plugin/command_buffer_stub.h" |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/scoped_open_process.h" | 8 #include "base/scoped_open_process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "chrome/common/gpu_messages.h" | 10 #include "chrome/common/gpu_messages.h" |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 Send(new PluginHostMsg_AllocTransportDIB(plugin_host_route_id_, | 186 Send(new PluginHostMsg_AllocTransportDIB(plugin_host_route_id_, |
| 187 size, | 187 size, |
| 188 dib_handle)); | 188 dib_handle)); |
| 189 } | 189 } |
| 190 | 190 |
| 191 void CommandBufferStub::FreeTransportDIB(TransportDIB::Id dib_id) { | 191 void CommandBufferStub::FreeTransportDIB(TransportDIB::Id dib_id) { |
| 192 Send(new PluginHostMsg_FreeTransportDIB(plugin_host_route_id_, | 192 Send(new PluginHostMsg_FreeTransportDIB(plugin_host_route_id_, |
| 193 dib_id)); | 193 dib_id)); |
| 194 } | 194 } |
| 195 #endif | 195 #endif |
| OLD | NEW |