#include "chrome/browser/ui/views/permissions/embedded_permission_prompt_show_system_prompt_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"
EmbeddedPermissionPromptShowSystemPromptView::
EmbeddedPermissionPromptShowSystemPromptView(
Browser* browser,
base::WeakPtr<EmbeddedPermissionPromptViewDelegate> delegate)
: … { … }
EmbeddedPermissionPromptShowSystemPromptView::
~EmbeddedPermissionPromptShowSystemPromptView() = default;
std::u16string
EmbeddedPermissionPromptShowSystemPromptView::GetAccessibleWindowTitle() const { … }
std::u16string EmbeddedPermissionPromptShowSystemPromptView::GetWindowTitle()
const { … }
void EmbeddedPermissionPromptShowSystemPromptView::RunButtonCallback(
int button_id) { … }
std::vector<
EmbeddedPermissionPromptShowSystemPromptView::RequestLineConfiguration>
EmbeddedPermissionPromptShowSystemPromptView::GetRequestLinesConfiguration()
const { … }
std::vector<EmbeddedPermissionPromptShowSystemPromptView::ButtonConfiguration>
EmbeddedPermissionPromptShowSystemPromptView::GetButtonsConfiguration() const { … }
bool EmbeddedPermissionPromptShowSystemPromptView::ShowLoadingIcon() const { … }