#include "base/path_service.h"
#include "chrome/browser/ui/test/test_browser_ui.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.h"
#include "chrome/browser/ui/views/permissions/permission_prompt_chip.h"
#include "chrome/common/chrome_features.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/test/base/save_desktop_snapshot.h"
#include "chrome/test/base/ui_test_utils.h"
#include "chrome/test/permissions/permission_request_manager_test_api.h"
#include "components/permissions/test/permission_request_observer.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "media/base/media_switches.h"
#include "net/dns/mock_host_resolver.h"
#include "third_party/blink/public/common/features.h"
#include "ui/views/widget/any_widget_observer.h"
namespace {
const int kFixedPort = …;
const char kTestHtmlPage[] = …;
const base::FilePath::CharType kReferenceVideosDirName[] = …);
const base::FilePath::CharType kReferenceVideoNameYellowImage[] = …);
const base::FilePath::CharType kY4mFileExtension[] = …);
constexpr char kRequestCamera[] = …;
class PermissionPromptPreviewBrowserTest : public UiBrowserTest { … };
}
IN_PROC_BROWSER_TEST_F(PermissionPromptPreviewBrowserTest, InvokeUi_camera) { … }