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_WEBVIEW_H_ | |
6 #define UI_GL_ANDROID_SURFACE_FACTORY_WEBVIEW_H_ | |
7 | |
8 #include "base/memory/ref_counted.h" | |
9 #include "ui/gl/gl_surface.h" | |
10 | |
11 namespace gfx { | |
12 | |
no sievers
2013/08/06 01:50:06
nit: fwd declare GLSurface
boliu
2013/08/06 02:14:26
That works?...wow, that works. Done.
| |
13 class SurfaceFactoryWebView { | |
14 public: | |
15 virtual ~SurfaceFactoryWebView(); | |
no sievers
2013/08/06 01:50:06
nit: protected destructor
boliu
2013/08/06 02:14:26
Done.
| |
16 | |
17 static SurfaceFactoryWebView* GetInstance(); | |
18 static void SetInstance(SurfaceFactoryWebView* instance); | |
19 | |
20 virtual scoped_refptr<GLSurface> CreateNonOwnedViewSurface() = 0; | |
21 }; | |
22 | |
23 } // namespace gfx | |
24 | |
25 #endif // UI_GL_ANDROID_SURFACE_FACTORY_WEBVIEW_H_ | |
OLD | NEW |