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

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

Issue 2562733002: Implement our own GLThread for VR Shell. (Closed)
Patch Set: sigh 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 | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java
index 64d350221ae30f0c8add58393083ad82184f2b02..204b63076d607bace530155114e92ce24c3117d9 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java
@@ -16,35 +16,35 @@ public interface VrShell {
/**
* Performs native VrShell initialization.
*/
- void initializeNativeOnUI(Tab currentTab, VrShellDelegate delegate, boolean forWebVR);
+ void initializeNative(Tab currentTab, VrShellDelegate delegate, boolean forWebVR);
/**
* Pauses VrShell.
*/
- void pauseOnUI();
+ void pause();
/**
* Resumes VrShell.
*/
- void resumeOnUI();
+ void resume();
/**
* Destroys VrShell.
*/
- void teardownOnUI();
+ void teardown();
/**
* Sets whether we're presenting WebVR content or not.
*/
- void setWebVrModeEnabledOnUI(boolean enabled);
+ void setWebVrModeEnabled(boolean enabled);
/**
* Returns the GVRLayout as a FrameLayout.
*/
- FrameLayout getContainerOnUI();
+ FrameLayout getContainer();
/**
* Sets a callback to be run when the close button is tapped.
*/
- void setCloseButtonListenerOnUI(Runnable runner);
+ void setCloseButtonListener(Runnable runner);
}
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698