#include "content/browser/picture_in_picture/picture_in_picture_service_impl.h"
#include <memory>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/test/bind.h"
#include "build/build_config.h"
#include "content/browser/picture_in_picture/video_picture_in_picture_window_controller_impl.h"
#include "content/public/browser/overlay_window.h"
#include "content/public/browser/web_contents_delegate.h"
#include "content/public/common/content_client.h"
#include "content/test/test_content_browser_client.h"
#include "content/test/test_render_frame_host.h"
#include "content/test/test_render_view_host.h"
#include "content/test/test_web_contents.h"
#include "media/mojo/mojom/media_player.mojom.h"
#include "mojo/public/cpp/bindings/associated_receiver.h"
#include "mojo/public/cpp/bindings/pending_associated_remote.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "testing/gmock/include/gmock/gmock.h"
_;
namespace content {
class DummyPictureInPictureSessionObserver final
: public blink::mojom::PictureInPictureSessionObserver { … };
class PictureInPictureDelegate : public WebContentsDelegate { … };
class TestOverlayWindow : public VideoOverlayWindow { … };
class PictureInPictureTestBrowserClient : public TestContentBrowserClient { … };
class PictureInPictureMediaPlayerReceiver : public media::mojom::MediaPlayer { … };
class PictureInPictureServiceImplTest : public RenderViewHostImplTestHarness { … };
#if BUILDFLAG(IS_ANDROID)
#define MAYBE_EnterPictureInPicture …
#else
#define MAYBE_EnterPictureInPicture …
#endif
TEST_F(PictureInPictureServiceImplTest, MAYBE_EnterPictureInPicture) { … }
TEST_F(PictureInPictureServiceImplTest, EnterPictureInPicture_NotSupported) { … }
}