Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(949)

Side by Side Diff: ui/gl/android/surface_factory_webview.h

Issue 22277004: Add gfx::SurfaceFactoryWebview (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: implementation Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698