#include "components/permissions/test/mock_permission_prompt.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "build/build_config.h"
#include "components/permissions/features.h"
#include "components/permissions/permission_uma_util.h"
#include "components/permissions/request_type.h"
#include "components/permissions/test/mock_permission_prompt_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
#if !BUILDFLAG(IS_ANDROID)
#include "ui/gfx/vector_icon_types.h"
#endif
namespace permissions {
MockPermissionPrompt::~MockPermissionPrompt() { … }
bool MockPermissionPrompt::UpdateAnchor() { … }
PermissionPrompt::TabSwitchingBehavior
MockPermissionPrompt::GetTabSwitchingBehavior() { … }
PermissionPromptDisposition MockPermissionPrompt::GetPromptDisposition() const { … }
std::optional<gfx::Rect> MockPermissionPrompt::GetViewBoundsInScreen() const { … }
bool MockPermissionPrompt::ShouldFinalizeRequestAfterDecided() const { … }
std::vector<permissions::ElementAnchoredBubbleVariant>
MockPermissionPrompt::GetPromptVariants() const { … }
std::optional<feature_params::PermissionElementPromptPosition>
MockPermissionPrompt::GetPromptPosition() const { … }
bool MockPermissionPrompt::IsAskPrompt() const { … }
MockPermissionPrompt::MockPermissionPrompt(MockPermissionPromptFactory* factory,
Delegate* delegate)
: … { … }
}