1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_LOOKUP_H_
6 #define CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_LOOKUP_H_
8 #include "ui/gfx/native_widget_types.h"
12 class SurfaceTextureLookup
{
14 static SurfaceTextureLookup
* GetInstance();
15 static void InitInstance(SurfaceTextureLookup
* instance
);
17 virtual gfx::AcceleratedWidget
AcquireNativeWidget(int primary_id
,
18 int secondary_id
) = 0;
21 virtual ~SurfaceTextureLookup() {}
24 } // namespace content
26 #endif // CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_LOOKUP_H_