#include "chrome/browser/ui/views/permissions/embedded_permission_prompt_ask_view.h"
#include "chrome/browser/ui/url_identity.h"
#include "chrome/grit/generated_resources.h"
#include "components/permissions/features.h"
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/interaction/element_identifier.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(EmbeddedPermissionPromptAskView,
kAllowId);
DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(EmbeddedPermissionPromptAskView,
kAllowThisTimeId);
EmbeddedPermissionPromptAskView::EmbeddedPermissionPromptAskView(
Browser* browser,
base::WeakPtr<EmbeddedPermissionPromptViewDelegate> delegate)
: … { … }
EmbeddedPermissionPromptAskView::~EmbeddedPermissionPromptAskView() = default;
std::u16string EmbeddedPermissionPromptAskView::GetAccessibleWindowTitle()
const { … }
std::u16string EmbeddedPermissionPromptAskView::GetWindowTitle() const { … }
void EmbeddedPermissionPromptAskView::RunButtonCallback(int button_id) { … }
std::vector<EmbeddedPermissionPromptAskView::RequestLineConfiguration>
EmbeddedPermissionPromptAskView::GetRequestLinesConfiguration() const { … }
std::vector<EmbeddedPermissionPromptAskView::ButtonConfiguration>
EmbeddedPermissionPromptAskView::GetButtonsConfiguration() const { … }
std::u16string EmbeddedPermissionPromptAskView::GetMessageText() const { … }
BEGIN_METADATA(…)