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

Unified Diff: content/common/gpu/gpu_surface_lookup.h

Issue 1567193002: Add GpuSurfaceLookup::AcquireJavaSurface for AVDA on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compiler warning; remove std::move Created 4 years, 11 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/app/android/child_process_service.cc ('k') | content/common/gpu/gpu_surface_lookup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_surface_lookup.h
diff --git a/content/common/gpu/gpu_surface_lookup.h b/content/common/gpu/gpu_surface_lookup.h
index 3f3a1e59c1d8bb2af11def258bfa72f8a8ae4656..c47e7e379018a0b98b68a2736c3a07b17f86bd3d 100644
--- a/content/common/gpu/gpu_surface_lookup.h
+++ b/content/common/gpu/gpu_surface_lookup.h
@@ -9,6 +9,10 @@
#include "content/common/content_export.h"
#include "ui/gfx/native_widget_types.h"
+#if defined(OS_ANDROID)
+#include "ui/gl/android/scoped_java_surface.h"
+#endif
+
namespace content {
// This class provides an interface to look up window surface handles
@@ -23,6 +27,10 @@ class CONTENT_EXPORT GpuSurfaceLookup {
virtual gfx::AcceleratedWidget AcquireNativeWidget(int surface_id) = 0;
+#if defined(OS_ANDROID)
+ virtual gfx::ScopedJavaSurface AcquireJavaSurface(int surface_id);
+#endif
+
private:
DISALLOW_COPY_AND_ASSIGN(GpuSurfaceLookup);
};
« no previous file with comments | « content/app/android/child_process_service.cc ('k') | content/common/gpu/gpu_surface_lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698