| 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..d0a5d56435d3bfdea7a561177feb39372f95f005
|
| --- /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 surface_texture_id) = 0;
|
| +
|
| + protected:
|
| + virtual ~SurfaceTextureLookup() {}
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_LOOKUP_H_
|
|
|