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

Unified Diff: content/public/browser/android/compositor.h

Issue 12390077: Android: Support GPU process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments and rebase Created 7 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
Index: content/public/browser/android/compositor.h
diff --git a/content/public/browser/android/compositor.h b/content/public/browser/android/compositor.h
index 7d3d3b9eb7d208afc7e739abee44619285df17f3..4554074f802a18e91be2b134e537e360b0984877 100644
--- a/content/public/browser/android/compositor.h
+++ b/content/public/browser/android/compositor.h
@@ -72,8 +72,12 @@ class CONTENT_EXPORT Compositor {
virtual void SetVisible(bool visible) = 0;
// Set the output surface handle which the compositor renders into.
+ // DEPRECATED: Use SetSurface() which takes a Java Surface object.
virtual void SetWindowSurface(ANativeWindow* window) = 0;
+ // Set the output surface which the compositor renders into.
+ virtual void SetSurface(jobject surface) = 0;
+
// Tells the view tree to assume a transparent background when rendering.
virtual void SetHasTransparentBackground(bool flag) = 0;
« no previous file with comments | « content/public/android/java/src/org/chromium/content/common/ISandboxedProcessCallback.aidl ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698