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

Unified Diff: device/vr/android/gvr/gvr_device_provider.h

Issue 2510993002: Notify VRDeviceProviders when there are pages listening for vrdisplayactivate (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
Index: device/vr/android/gvr/gvr_device_provider.h
diff --git a/device/vr/android/gvr/gvr_device_provider.h b/device/vr/android/gvr/gvr_device_provider.h
index 1eaa9872261c89b93a9219a91e9b51add32f6957..cf074561ce0a9da82e264b5a4a06035c20812b59 100644
--- a/device/vr/android/gvr/gvr_device_provider.h
+++ b/device/vr/android/gvr/gvr_device_provider.h
@@ -29,6 +29,8 @@ class DEVICE_VR_EXPORT GvrDeviceProvider : public VRDeviceProvider {
void GetDevices(std::vector<VRDevice*>* devices) override;
void Initialize() override;
+ void SetListeningForActivate(bool listening) override;
+
// Called from GvrDevice.
bool RequestPresent();
void ExitPresent();

Powered by Google App Engine
This is Rietveld 408576698