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

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

Issue 2551983002: Suffix VrShell calls with which thread they're expected to be run on. (Closed)
Patch Set: Rebase 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 204b63076d607bace530155114e92ce24c3117d9..64d350221ae30f0c8add58393083ad82184f2b02 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 initializeNative(Tab currentTab, VrShellDelegate delegate, boolean forWebVR);
+ void initializeNativeOnUI(Tab currentTab, VrShellDelegate delegate, boolean forWebVR);
/**
* Pauses VrShell.
*/
- void pause();
+ void pauseOnUI();
/**
* Resumes VrShell.
*/
- void resume();
+ void resumeOnUI();
/**
* Destroys VrShell.
*/
- void teardown();
+ void teardownOnUI();
/**
* Sets whether we're presenting WebVR content or not.
*/
- void setWebVrModeEnabled(boolean enabled);
+ void setWebVrModeEnabledOnUI(boolean enabled);
/**
* Returns the GVRLayout as a FrameLayout.
*/
- FrameLayout getContainer();
+ FrameLayout getContainerOnUI();
/**
* Sets a callback to be run when the close button is tapped.
*/
- void setCloseButtonListener(Runnable runner);
+ void setCloseButtonListenerOnUI(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