// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_LIVE_CAPTION_CAPTION_BUBBLE_CONTEXT_H_ #define COMPONENTS_LIVE_CAPTION_CAPTION_BUBBLE_CONTEXT_H_ #include <memory> #include <string> #include "base/functional/callback.h" #include "components/live_caption/caption_bubble_session_observer.h" #include "ui/gfx/geometry/rect.h" namespace content { class WebContents; } namespace captions { OpenCaptionSettingsCallback; /////////////////////////////////////////////////////////////////////////////// // Caption Bubble Context // // The context for an audio stream used by the caption bubble. The context is // used for two things: for positioning the caption bubble within the context // widget (on Chrome browser, the browser window; on ash, the entire screen), // and for activating the window or tab when the Back To Tab button is clicked. // class CaptionBubbleContext { … }; } // namespace captions #endif // COMPONENTS_LIVE_CAPTION_CAPTION_BUBBLE_CONTEXT_H_