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

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

Issue 2530923002: Use VrClassesBuilder to reduce reflection usage (Closed)
Patch Set: rebase Created 4 years, 1 month 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/VrClassesBuilder.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/NonPresentingGvrContextImpl.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextImpl.java
index 876d3e1591c6a4cabcd693ede6919d2122bbc95f..b09e067ada393dab828ea061a50679dc212f41ab 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextImpl.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextImpl.java
@@ -10,17 +10,14 @@ import android.os.StrictMode;
import com.google.vr.ndk.base.GvrLayout;
import org.chromium.base.Log;
-import org.chromium.base.annotations.UsedByReflection;
/**
* Creates an active GvrContext from a detached GvrLayout. This is used by magic window mode.
*/
-@UsedByReflection("VrShellDelegate.java")
public class NonPresentingGvrContextImpl implements NonPresentingGvrContext {
private static final String TAG = "NPGvrContextImpl";
private GvrLayout mGvrLayout;
- @UsedByReflection("VrShellDelegate.java")
public NonPresentingGvrContextImpl(Activity activity) {
mGvrLayout = new GvrLayout(activity);
}
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrClassesBuilder.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698