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

Unified Diff: content/common/android/surface_texture_peer.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/android/surface_texture_manager.cc ('k') | content/common/android/surface_texture_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/android/surface_texture_peer.h
diff --git a/content/common/android/surface_texture_peer.h b/content/common/android/surface_texture_peer.h
deleted file mode 100644
index 0afe3efcf53107d757b2ba2c75f86949ffffa51e..0000000000000000000000000000000000000000
--- a/content/common/android/surface_texture_peer.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2012 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_COMMON_ANDROID_SURFACE_TEXTURE_PEER_H_
-#define CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_PEER_H_
-
-#include "base/macros.h"
-#include "base/process/process.h"
-#include "ui/gl/android/surface_texture.h"
-
-namespace content {
-
-class SurfaceTexturePeer {
- public:
- static SurfaceTexturePeer* GetInstance();
-
- static void InitInstance(SurfaceTexturePeer* instance);
-
- // Establish the producer end for the given surface texture in another
- // process.
- virtual void EstablishSurfaceTexturePeer(
- base::ProcessHandle pid,
- scoped_refptr<gfx::SurfaceTexture> surface_texture,
- int primary_id,
- int secondary_id) = 0;
-
- protected:
- SurfaceTexturePeer();
- virtual ~SurfaceTexturePeer();
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SurfaceTexturePeer);
-};
-
-} // namespace content
-
-#endif // CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_PEER_H_
« no previous file with comments | « content/common/android/surface_texture_manager.cc ('k') | content/common/android/surface_texture_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698