#include "chrome/browser/ui/views/permissions/embedded_permission_prompt_policy_view.h"
#include "chrome/browser/ui/url_identity.h"
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/paint_vector_icon.h"
EmbeddedPermissionPromptPolicyView::EmbeddedPermissionPromptPolicyView(
Browser* browser,
base::WeakPtr<EmbeddedPermissionPromptViewDelegate> delegate,
bool is_permission_allowed)
: … { … }
EmbeddedPermissionPromptPolicyView::~EmbeddedPermissionPromptPolicyView() =
default;
std::u16string EmbeddedPermissionPromptPolicyView::GetAccessibleWindowTitle()
const { … }
std::u16string EmbeddedPermissionPromptPolicyView::GetWindowTitleAdminAllowed()
const { … }
std::u16string EmbeddedPermissionPromptPolicyView::GetWindowTitleAdminBlocked()
const { … }
std::u16string EmbeddedPermissionPromptPolicyView::GetWindowTitle() const { … }
const gfx::VectorIcon& EmbeddedPermissionPromptPolicyView::GetIcon() const { … }
void EmbeddedPermissionPromptPolicyView::RunButtonCallback(int button_id) { … }
std::vector<EmbeddedPermissionPromptPolicyView::RequestLineConfiguration>
EmbeddedPermissionPromptPolicyView::GetRequestLinesConfiguration() const { … }
std::vector<EmbeddedPermissionPromptPolicyView::ButtonConfiguration>
EmbeddedPermissionPromptPolicyView::GetButtonsConfiguration() const { … }
BEGIN_METADATA(…)