#include "chrome/browser/ui/views/infobars/confirm_infobar.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "build/build_config.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/ui_base_features.h"
#include "ui/base/window_open_disposition.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/button/md_text_button.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/link.h"
#include "ui/views/style/platform_style.h"
#include "ui/views/view_class_properties.h"
DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(ConfirmInfoBar, kOkButtonElementId);
DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(ConfirmInfoBar, kCancelButtonElementId);
ConfirmInfoBar::ConfirmInfoBar(std::unique_ptr<ConfirmInfoBarDelegate> delegate)
: … { … }
ConfirmInfoBar::~ConfirmInfoBar() = default;
void ConfirmInfoBar::Layout(PassKey) { … }
void ConfirmInfoBar::OkButtonPressed() { … }
void ConfirmInfoBar::CancelButtonPressed() { … }
ConfirmInfoBarDelegate* ConfirmInfoBar::GetDelegate() { … }
int ConfirmInfoBar::GetContentMinimumWidth() const { … }
int ConfirmInfoBar::NonLabelWidth() const { … }
BEGIN_METADATA(…)