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 #ifndef CHROME_PLUGIN_COMMAND_BUFFER_STUB_H_ | 5 #ifndef CHROME_PLUGIN_COMMAND_BUFFER_STUB_H_ |
6 #define CHROME_PLUGIN_COMMAND_BUFFER_STUB_H_ | 6 #define CHROME_PLUGIN_COMMAND_BUFFER_STUB_H_ |
7 | 7 |
8 #if defined(ENABLE_GPU) | 8 #if defined(ENABLE_GPU) |
9 | 9 |
10 #include "app/surface/transport_dib.h" | 10 #include "app/surface/transport_dib.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 void SwapBuffersCallback(); | 66 void SwapBuffersCallback(); |
67 void AllocTransportDIB(const size_t size, TransportDIB::Handle* dib_handle); | 67 void AllocTransportDIB(const size_t size, TransportDIB::Handle* dib_handle); |
68 void FreeTransportDIB(TransportDIB::Id dib_id); | 68 void FreeTransportDIB(TransportDIB::Id dib_id); |
69 #endif | 69 #endif |
70 | 70 |
71 scoped_refptr<PluginChannel> channel_; | 71 scoped_refptr<PluginChannel> channel_; |
72 int plugin_host_route_id_; | 72 int plugin_host_route_id_; |
73 gfx::PluginWindowHandle window_; | 73 gfx::PluginWindowHandle window_; |
74 int route_id_; | 74 int route_id_; |
75 scoped_ptr<gpu::CommandBufferService> command_buffer_; | 75 scoped_ptr<gpu::CommandBufferService> command_buffer_; |
76 scoped_refptr<gpu::GPUProcessor> processor_; | 76 scoped_ptr<gpu::GPUProcessor> processor_; |
77 }; | 77 }; |
78 | 78 |
79 #endif // ENABLE_GPU | 79 #endif // ENABLE_GPU |
80 | 80 |
81 #endif // CHROME_PLUGIN_COMMAND_BUFFER_STUB_H_ | 81 #endif // CHROME_PLUGIN_COMMAND_BUFFER_STUB_H_ |
OLD | NEW |