// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_PICTURE_IN_PICTURE_AUTO_PICTURE_IN_PICTURE_TAB_STRIP_OBSERVER_HELPER_H_ #define CHROME_BROWSER_PICTURE_IN_PICTURE_AUTO_PICTURE_IN_PICTURE_TAB_STRIP_OBSERVER_HELPER_H_ #include <memory> #include "base/functional/callback.h" #include "base/memory/raw_ptr.h" #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" namespace content { class WebContents; } // namespace content class BrowserTabStripTracker; // The AutoPictureInPictureTabStripObserverHelper is used by the // AutoPictureInPictureTabHelper to observe the current tabstrip of its // WebContents and notify the AutoPictureInPictureTabHelper whenever the // WebContents's tab changes from being the active tab on its tabstrip to not // and vice versa. class AutoPictureInPictureTabStripObserverHelper : public TabStripModelObserver { … }; #endif // CHROME_BROWSER_PICTURE_IN_PICTURE_AUTO_PICTURE_IN_PICTURE_TAB_STRIP_OBSERVER_HELPER_H_