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

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

Issue 2309523003: Plumbing through more WebVR presentation code (Closed)
Patch Set: Addressed Michael's feedack Created 4 years, 3 months 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 | « device/vr/BUILD.gn ('k') | device/vr/android/gvr/gvr_api_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/android/gvr/gvr_api_manager.h
diff --git a/device/vr/android/gvr/gvr_api_manager.h b/device/vr/android/gvr/gvr_api_manager.h
deleted file mode 100644
index 216b78e8d5fbba7844fb4924197c482027f703c0..0000000000000000000000000000000000000000
--- a/device/vr/android/gvr/gvr_api_manager.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef DEVICE_VR_ANDROID_GVR_API_MANAGER_H
-#define DEVICE_VR_ANDROID_GVR_API_MANAGER_H
-
-#include "device/vr/vr_export.h"
-
-#include "third_party/gvr-android-sdk/src/ndk-beta/include/vr/gvr/capi/include/gvr.h"
-
-namespace device {
-
-class DEVICE_VR_EXPORT GvrApiManagerClient {
- public:
- virtual void OnGvrApiInitialized(gvr::GvrApi* gvr_api) = 0;
- virtual void OnGvrApiShutdown() = 0;
-};
-
-class DEVICE_VR_EXPORT GvrApiManager {
- public:
- static GvrApiManager* GetInstance();
-
- void AddClient(GvrApiManagerClient* client);
- void RemoveClient(GvrApiManagerClient* client);
-
- void Initialize(gvr_context* context);
- void Shutdown();
-
- gvr::GvrApi* gvr_api();
-
- private:
- GvrApiManager();
- ~GvrApiManager();
-
- std::unique_ptr<gvr::GvrApi> gvr_api_;
-
- using ClientList = std::vector<GvrApiManagerClient*>;
- ClientList clients_;
-};
-
-} // namespace device
-
-#endif // DEVICE_VR_ANDROID_GVR_API_MANAGER_H
« no previous file with comments | « device/vr/BUILD.gn ('k') | device/vr/android/gvr/gvr_api_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698