#include "chrome/browser/ui/views/permissions/permission_prompt_base_view.h"
#include "base/containers/contains.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/picture_in_picture/picture_in_picture_occlusion_tracker.h"
#include "chrome/browser/picture_in_picture/picture_in_picture_window_manager.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/permission_bubble/permission_bubble_test_util.h"
#include "chrome/test/base/test_browser_window.h"
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "components/permissions/test/mock_permission_request.h"
#include "media/base/media_switches.h"
#include "ui/events/test/test_event.h"
namespace {
class TestPermissionPromptBaseView : public PermissionPromptBaseView { … };
BEGIN_METADATA(…)
class PermissionPromptBaseViewTest : public ChromeViewsTestBase { … };
TEST_F(PermissionPromptBaseViewTest,
DisablesButtonsWhenOccludedByPictureInPictureWindows) { … }
TEST_F(PermissionPromptBaseViewTest, IncludedInTrackedPictureInPictureWidgets) { … }
}