The gvrDelegateProvider interface is basically a hack to implement device/vr/android/gvr in the browser layer. This isn't necessary and we should split vr_shell_delegate.cc into a separate browser layer and device layer class. We should handle focus tracking in device/vr instead of chrome/browser/android as well so that it can be shared across platforms.
The gvrDelegateProvider interface is implements parts of device/vr/android/gvr in the browser layer. Much of this isn't necessary and we should split vr_shell_delegate.cc into a separate browser layer and device layer class. We should handle focus tracking in device/vr instead of chrome/browser/android as well so that it can be shared across platforms.
device::GvrDelegateProvider should only have to handle presentRequests and listeningForActivate changing.
Comment 1 by mthiesse@chromium.org
, Aug 3 2017