| Index: android_webview/browser/gl_surface_factory.h
|
| diff --git a/android_webview/browser/gl_surface_factory.h b/android_webview/browser/gl_surface_factory.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ac7d6811c27bbc4759cd0e28667c7dc6c3b920eb
|
| --- /dev/null
|
| +++ b/android_webview/browser/gl_surface_factory.h
|
| @@ -0,0 +1,28 @@
|
| +// 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 ANDROID_WEBVIEW_BROWSER_GL_SURFACE_FACTORY_H_
|
| +#define ANDROID_WEBVIEW_BROWSER_GL_SURFACE_FACTORY_H_
|
| +
|
| +#include "ui/gl/android/surface_factory_webview.h"
|
| +
|
| +namespace android_webview {
|
| +
|
| +class GLSurfaceFactory : public gfx::SurfaceFactoryWebView {
|
| + public:
|
| + static void Install();
|
| + static void SetCurrentFBO(unsigned int fbo);
|
| +
|
| + GLSurfaceFactory();
|
| + virtual ~GLSurfaceFactory();
|
| +
|
| + virtual scoped_refptr<gfx::GLSurface> CreateNonOwnedViewSurface() OVERRIDE;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(GLSurfaceFactory);
|
| +};
|
| +
|
| +} // namespace android_webview
|
| +
|
| +#endif // ANDROID_WEBVIEW_BROWSER_GL_SURFACE_FACTORY_H_
|
|
|