Index: android_webview/common/gpu_memory_buffer_factory_proxy.h |
diff --git a/android_webview/common/gpu_memory_buffer_factory_proxy.h b/android_webview/common/gpu_memory_buffer_factory_proxy.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8e24f187f7b0a0d546fc63966fb37111747f8856 |
--- /dev/null |
+++ b/android_webview/common/gpu_memory_buffer_factory_proxy.h |
@@ -0,0 +1,19 @@ |
+// Copyright 2013 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 ANDROID_WEBVIEW_COMMON_GPU_MEMORY_BUFFER_FACTORY_PROXY_H_ |
+#define ANDROID_WEBVIEW_COMMON_GPU_MEMORY_BUFFER_FACTORY_PROXY_H_ |
+ |
+#include "base/basictypes.h" |
+#include "ui/gl/gpu_memory_buffer.h" |
+ |
+namespace android_webview { |
+ |
+const gfx::GpuMemoryBuffer::Create& GetGpuMemoryBufferFactoryProxy(); |
+void SetGpuMemoryBufferFactoryProxy( |
+ const gfx::GpuMemoryBuffer::Create& factory); |
+ |
+} // namespace android_webview |
+ |
+#endif // ANDROID_WEBVIEW_COMMON_GPU_MEMORY_BUFFER_FACTORY_PROXY_H_ |