OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 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. |
| 4 |
| 5 #ifndef UI_GL_ANDROID_SURFACE_FACTORY_ANDROID_H_ |
| 6 #define UI_GL_ANDROID_SURFACE_FACTORY_ANDROID_H_ |
| 7 |
| 8 #include "base/memory/ref_counted.h" |
| 9 |
| 10 namespace gfx { |
| 11 |
| 12 class GLSurface; |
| 13 |
| 14 class SurfaceFactoryAndroid { |
| 15 public: |
| 16 |
| 17 static SurfaceFactoryAndroid* GetInstance(); |
| 18 static void SetInstance(SurfaceFactoryAndroid* instance); |
| 19 |
| 20 virtual scoped_refptr<GLSurface> CreateNonOwnedViewSurface() = 0; |
| 21 |
| 22 protected: |
| 23 virtual ~SurfaceFactoryAndroid(); |
| 24 }; |
| 25 |
| 26 } // namespace gfx |
| 27 |
| 28 #endif // UI_GL_ANDROID_SURFACE_FACTORY_ANDROID_H_ |
OLD | NEW |