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

Side by Side Diff: android_webview/browser/surfaces_instance.h

Issue 2540163002: WebView: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_
6 #define ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ 6 #define ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 11 matching lines...) Expand all
22 } 22 }
23 23
24 namespace gfx { 24 namespace gfx {
25 class Rect; 25 class Rect;
26 class Size; 26 class Size;
27 class Transform; 27 class Transform;
28 } 28 }
29 29
30 namespace android_webview { 30 namespace android_webview {
31 31
32 class AwGLSurface;
33 class ParentOutputSurface; 32 class ParentOutputSurface;
34 class ScopedAppGLStateRestore;
35 33
36 class SurfacesInstance : public base::RefCounted<SurfacesInstance>, 34 class SurfacesInstance : public base::RefCounted<SurfacesInstance>,
37 public cc::DisplayClient, 35 public cc::DisplayClient,
38 public cc::SurfaceFactoryClient { 36 public cc::SurfaceFactoryClient {
39 public: 37 public:
40 static scoped_refptr<SurfacesInstance> GetOrCreateInstance(); 38 static scoped_refptr<SurfacesInstance> GetOrCreateInstance();
41 39
42 cc::FrameSinkId AllocateFrameSinkId(); 40 cc::FrameSinkId AllocateFrameSinkId();
43 cc::SurfaceManager* GetSurfaceManager(); 41 cc::SurfaceManager* GetSurfaceManager();
44 42
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 82
85 // This is owned by |display_|. 83 // This is owned by |display_|.
86 ParentOutputSurface* output_surface_; 84 ParentOutputSurface* output_surface_;
87 85
88 DISALLOW_COPY_AND_ASSIGN(SurfacesInstance); 86 DISALLOW_COPY_AND_ASSIGN(SurfacesInstance);
89 }; 87 };
90 88
91 } // namespace android_webview 89 } // namespace android_webview
92 90
93 #endif // ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ 91 #endif // ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_
OLDNEW
« no previous file with comments | « android_webview/browser/scoped_app_gl_state_restore.h ('k') | android_webview/browser/test/rendering_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698