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_ |