// 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_BROWSER_XR_RUNTIME_H_ #define CONTENT_PUBLIC_BROWSER_BROWSER_XR_RUNTIME_H_ #include "base/observer_list_types.h" #include "content/common/content_export.h" #include "device/vr/public/mojom/vr_service.mojom.h" namespace content { class WebContents; // This interface allows observing the state of the XR service for a particular // runtime. In particular, observers may currently know when the browser // considers a WebContents presenting to an immersive headset. Implementers of // this interface will be called on the main browser thread. Currently this is // used on Windows to drive overlays. class CONTENT_EXPORT BrowserXRRuntime { … }; } // namespace content #endif // CONTENT_PUBLIC_BROWSER_BROWSER_XR_RUNTIME_H_