#include "chrome/browser/ui/views/permissions/embedded_permission_prompt_previously_denied_view.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/ui/url_identity.h"
#include "components/permissions/features.h"
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/l10n/l10n_util.h"
DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(
EmbeddedPermissionPromptPreviouslyDeniedView,
kAllowThisTimeId);
EmbeddedPermissionPromptPreviouslyDeniedView::
EmbeddedPermissionPromptPreviouslyDeniedView(
Browser* browser,
base::WeakPtr<EmbeddedPermissionPromptViewDelegate> delegate)
: … { … }
EmbeddedPermissionPromptPreviouslyDeniedView::
~EmbeddedPermissionPromptPreviouslyDeniedView() = default;
std::u16string
EmbeddedPermissionPromptPreviouslyDeniedView::GetAccessibleWindowTitle() const { … }
std::u16string EmbeddedPermissionPromptPreviouslyDeniedView::GetWindowTitle()
const { … }
void EmbeddedPermissionPromptPreviouslyDeniedView::RunButtonCallback(
int button_id) { … }
std::vector<
EmbeddedPermissionPromptPreviouslyDeniedView::RequestLineConfiguration>
EmbeddedPermissionPromptPreviouslyDeniedView::GetRequestLinesConfiguration()
const { … }
std::vector<EmbeddedPermissionPromptPreviouslyDeniedView::ButtonConfiguration>
EmbeddedPermissionPromptPreviouslyDeniedView::GetButtonsConfiguration() const { … }