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

Unified Diff: content/browser/android/browser_surface_texture_manager.h

Issue 2525483005: Remove SurfaceTextureManager (Closed)
Patch Set: Fix link error 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/android/browser_surface_texture_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/browser_surface_texture_manager.h
diff --git a/content/browser/android/browser_surface_texture_manager.h b/content/browser/android/browser_surface_texture_manager.h
deleted file mode 100644
index 9e3ac010f7383befef7876d671824e900ec1b50d..0000000000000000000000000000000000000000
--- a/content/browser/android/browser_surface_texture_manager.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 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 CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_
-#define CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_
-
-#include "base/macros.h"
-#include "base/memory/singleton.h"
-#include "content/common/content_export.h"
-#include "gpu/ipc/common/android/surface_texture_manager.h"
-
-namespace content {
-
-class CONTENT_EXPORT BrowserSurfaceTextureManager
- : public gpu::SurfaceTextureManager {
- public:
- static BrowserSurfaceTextureManager* GetInstance();
-
- // Overridden from SurfaceTextureManager:
- void RegisterSurfaceTexture(int surface_texture_id,
- int client_id,
- gl::SurfaceTexture* surface_texture) override;
- void UnregisterSurfaceTexture(int surface_texture_id, int client_id) override;
- gfx::AcceleratedWidget AcquireNativeWidgetForSurfaceTexture(
- int surface_texture_id) override;
-
- private:
- friend struct base::DefaultSingletonTraits<BrowserSurfaceTextureManager>;
-
- BrowserSurfaceTextureManager();
- ~BrowserSurfaceTextureManager() override;
-
- DISALLOW_COPY_AND_ASSIGN(BrowserSurfaceTextureManager);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_ANDROID_BROWSER_SURFACE_TEXTURE_MANAGER_H_
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/android/browser_surface_texture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698