| Index: ui/gl/android/gl_factory_android.h
|
| diff --git a/ui/gl/android/gl_factory_android.h b/ui/gl/android/gl_factory_android.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..855278e8334bdfa66864a2ab1b1e0e590f087844
|
| --- /dev/null
|
| +++ b/ui/gl/android/gl_factory_android.h
|
| @@ -0,0 +1,27 @@
|
| +// Copyright (c) 2013 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 UI_GL_ANDROID_GL_FACTORY_ANDROID_H_
|
| +#define UI_GL_ANDROID_GL_FACTORY_ANDROID_H_
|
| +
|
| +#include "base/memory/ref_counted.h"
|
| +
|
| +namespace gfx {
|
| +
|
| +class GLSurface;
|
| +
|
| +class GLFactoryAndroid {
|
| + public:
|
| + static GLFactoryAndroid* GetCurrent();
|
| + static void SetCurrent(GLFactoryAndroid* instance);
|
| +
|
| + virtual scoped_refptr<GLSurface> CreateNonOwnedViewSurface() = 0;
|
| +
|
| + protected:
|
| + virtual ~GLFactoryAndroid();
|
| +};
|
| +
|
| +} // namespace gfx
|
| +
|
| +#endif // UI_GL_ANDROID_GL_FACTORY_ANDROID_H_
|
|
|