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

Side by Side Diff: content/browser/android/browser_surface_texture_manager.h

Issue 1770073002: SurfaceTexture* => gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restored BUILD.gn bits Created 4 years, 9 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_
6 #define CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_ 6 #define CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_
7 7
8 #include "content/common/android/surface_texture_manager.h" 8 #include "gpu/ipc/common/android/surface_texture_manager.h"
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "content/common/android/surface_texture_peer.h"
13 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "gpu/ipc/common/android/surface_texture_peer.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 class CONTENT_EXPORT BrowserSurfaceTextureManager 17 class CONTENT_EXPORT BrowserSurfaceTextureManager
18 : public SurfaceTextureManager, 18 : public gpu::SurfaceTextureManager,
19 public SurfaceTexturePeer { 19 public gpu::SurfaceTexturePeer {
20 public: 20 public:
21 static BrowserSurfaceTextureManager* GetInstance(); 21 static BrowserSurfaceTextureManager* GetInstance();
22 22
23 // Overridden from SurfaceTextureManager: 23 // Overridden from SurfaceTextureManager:
24 void RegisterSurfaceTexture(int surface_texture_id, 24 void RegisterSurfaceTexture(int surface_texture_id,
25 int client_id, 25 int client_id,
26 gfx::SurfaceTexture* surface_texture) override; 26 gfx::SurfaceTexture* surface_texture) override;
27 void UnregisterSurfaceTexture(int surface_texture_id, int client_id) override; 27 void UnregisterSurfaceTexture(int surface_texture_id, int client_id) override;
28 gfx::AcceleratedWidget AcquireNativeWidgetForSurfaceTexture( 28 gfx::AcceleratedWidget AcquireNativeWidgetForSurfaceTexture(
29 int surface_texture_id) override; 29 int surface_texture_id) override;
(...skipping 10 matching lines...) Expand all
40 40
41 BrowserSurfaceTextureManager(); 41 BrowserSurfaceTextureManager();
42 ~BrowserSurfaceTextureManager() override; 42 ~BrowserSurfaceTextureManager() override;
43 43
44 DISALLOW_COPY_AND_ASSIGN(BrowserSurfaceTextureManager); 44 DISALLOW_COPY_AND_ASSIGN(BrowserSurfaceTextureManager);
45 }; 45 };
46 46
47 } // namespace content 47 } // namespace content
48 48
49 #endif // CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_ 49 #endif // CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_
OLDNEW
« no previous file with comments | « content/app/android/child_process_service.cc ('k') | content/browser/android/in_process_surface_texture_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698