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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellInterface.java

Issue 2319863005: Implement new compositor and ContentViewCore reparenting for VR Shell. (Closed)
Patch Set: Rebase onto ToT Created 4 years, 3 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: chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellInterface.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellInterface.java b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellInterface.java
index 83c9fe37c9ab375a8c20b8d62f38cebec31f0dae..1c6123c7081eaa91840ea9fb922e52bf271ce921 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellInterface.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellInterface.java
@@ -6,6 +6,8 @@ package org.chromium.chrome.browser.vr_shell;
import android.widget.FrameLayout;
+import org.chromium.chrome.browser.tab.Tab;
+
/**
* Abstracts away the VrShell class, which may or may not be present at runtime depending on
* compile flags.
@@ -14,7 +16,7 @@ public interface VrShellInterface {
/**
* Performs native VrShell initialization.
*/
- void onNativeLibraryReady();
+ void onNativeLibraryReady(Tab currentTab);
/**
* Pauses VrShell.

Powered by Google App Engine
This is Rietveld 408576698