Index: content/common/gpu/create_gpu_memory_buffer_params.h |
diff --git a/content/common/gpu/create_gpu_memory_buffer_params.h b/content/common/gpu/create_gpu_memory_buffer_params.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2cfa1faa58a4651d3a597a2508a41a02b33829d0 |
--- /dev/null |
+++ b/content/common/gpu/create_gpu_memory_buffer_params.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_COMMON_GPU_CREATE_GPU_MEMORY_BUFFER_PARAMS_H_ |
+#define CONTENT_COMMON_GPU_CREATE_GPU_MEMORY_BUFFER_PARAMS_H_ |
+ |
+#include "ui/gfx/gpu_memory_buffer.h" |
+#include "ui/gfx/native_widget_types.h" |
+ |
+namespace content { |
+ |
+struct CreateGpuMemoryBufferParams { |
+ CreateGpuMemoryBufferParams(); |
+ ~CreateGpuMemoryBufferParams(); |
+ |
+ gfx::GpuMemoryBufferId id; |
+ gfx::Size size; |
+ gfx::BufferFormat format; |
+ gfx::BufferUsage usage; |
+ int32_t client_id; |
+ gfx::PluginWindowHandle surface_handle; |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_COMMON_GPU_CREATE_GPU_MEMORY_BUFFER_PARAMS_H_ |