Bug 1812348 [wpt PR 38171] - wake lock: Move tests in web_tests/wake-lock to either...
[gecko.git] / widget / android / GeckoVRManager.h
blobde28c402cd42c18c940e40847bcb3a88c3ab18c0
1 /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef mozilla_GeckoVRManager_h_
7 #define mozilla_GeckoVRManager_h_
9 #include "mozilla/java/GeckoVRManagerWrappers.h"
10 #include "mozilla/jni/Utils.h"
12 namespace mozilla {
14 class GeckoVRManager {
15 public:
16 static void* GetExternalContext() {
17 return reinterpret_cast<void*>(
18 mozilla::java::GeckoVRManager::GetExternalContext());
22 } // namespace mozilla
24 #endif // mozilla_GeckoVRManager_h_