Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1527)

Unified Diff: content/common/child_process_host_impl.h

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no ozone Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/child_process_host_impl.h
diff --git a/content/common/child_process_host_impl.h b/content/common/child_process_host_impl.h
index 1daa5d540763bab9d08b8fe91e2e6052f2162b7f..ab7a0250541053d8702db324ce30b0da6a7554d6 100644
--- a/content/common/child_process_host_impl.h
+++ b/content/common/child_process_host_impl.h
@@ -17,15 +17,12 @@
#include "base/strings/string16.h"
#include "content/public/common/child_process_host.h"
#include "ipc/ipc_listener.h"
+#include "ui/gfx/gpu_memory_buffer.h"
namespace base {
class FilePath;
}
-namespace gfx {
-struct GpuMemoryBufferHandle;
-}
-
namespace IPC {
class MessageFilter;
}
@@ -84,6 +81,7 @@ class CONTENT_EXPORT ChildProcessHostImpl : public ChildProcessHost,
void OnAllocateGpuMemoryBuffer(uint32 width,
uint32 height,
uint32 internalformat,
+ gfx::GpuMemoryBuffer::Usage usage,
gfx::GpuMemoryBufferHandle* handle);
ChildProcessHostDelegate* delegate_;

Powered by Google App Engine
This is Rietveld 408576698