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

Unified Diff: content/common/android/surface_texture_lookup.h

Issue 195583003: Add initial GpuMemoryBufferSurfaceTexture implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 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/android/surface_texture_lookup.h
diff --git a/content/common/android/surface_texture_lookup.h b/content/common/android/surface_texture_lookup.h
new file mode 100644
index 0000000000000000000000000000000000000000..a1ad0fb29e502519d195d13f8f8ef68ee28a0fdc
--- /dev/null
+++ b/content/common/android/surface_texture_lookup.h
@@ -0,0 +1,26 @@
+// Copyright 2014 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_ANDROID_SURFACE_TEXTURE_LOOKUP_H_
+#define CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_LOOKUP_H_
+
+#include "ui/gfx/native_widget_types.h"
+
+namespace content {
+
+class SurfaceTextureLookup {
+ public:
+ static SurfaceTextureLookup* GetInstance();
+ static void InitInstance(SurfaceTextureLookup* instance);
+
+ virtual gfx::AcceleratedWidget AcquireNativeWidget(int primary_id,
+ int secondary_id) = 0;
+
+ protected:
+ virtual ~SurfaceTextureLookup() {}
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_LOOKUP_H_
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/android/surface_texture_lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698