// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_BROWSER_XR_RUNTIME_MANAGER_H_ #define CONTENT_PUBLIC_BROWSER_XR_RUNTIME_MANAGER_H_ #include "base/functional/callback_forward.h" #include "base/observer_list_types.h" #include "content/common/content_export.h" #include "device/vr/public/mojom/vr_service.mojom-forward.h" #include "device/vr/public/mojom/xr_device.mojom-forward.h" namespace content { class BrowserXRRuntime; // The XRRuntimeManager is a singleton responsible for managing access to the // active BrowserXRRuntime instances. An Observer interface is provided in case // runtimes need to interact with runtimes when they are added (e.g. to notify // them of any current state that they may need to know about). class CONTENT_EXPORT XRRuntimeManager { … }; } // namespace content #endif // CONTENT_PUBLIC_BROWSER_XR_RUNTIME_MANAGER_H_