[SyncFS] Build indexes from FileTracker entries on disk.
[chromium-blink-merge.git] / content / common / android / surface_texture_lookup.h
bloba1ad0fb29e502519d195d13f8f8ef68ee28a0fdc
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"
10 namespace content {
12 class SurfaceTextureLookup {
13 public:
14 static SurfaceTextureLookup* GetInstance();
15 static void InitInstance(SurfaceTextureLookup* instance);
17 virtual gfx::AcceleratedWidget AcquireNativeWidget(int primary_id,
18 int secondary_id) = 0;
20 protected:
21 virtual ~SurfaceTextureLookup() {}
24 } // namespace content
26 #endif // CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_LOOKUP_H_