#include "chrome/browser/plugins/hung_plugin_infobar_delegate.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/infobars/confirm_infobar_creator.h"
#include "chrome/browser/ui/hung_plugin_tab_helper.h"
#include "chrome/grit/generated_resources.h"
#include "components/infobars/content/content_infobar_manager.h"
#include "components/infobars/core/infobar.h"
#include "ui/base/l10n/l10n_util.h"
infobars::InfoBar* HungPluginInfoBarDelegate::Create(
infobars::ContentInfoBarManager* infobar_manager,
HungPluginTabHelper* helper,
int plugin_child_id,
const std::u16string& plugin_name) { … }
HungPluginInfoBarDelegate::HungPluginInfoBarDelegate(
HungPluginTabHelper* helper,
int plugin_child_id,
const std::u16string& plugin_name)
: … { … }
HungPluginInfoBarDelegate::~HungPluginInfoBarDelegate() { … }
infobars::InfoBarDelegate::InfoBarIdentifier
HungPluginInfoBarDelegate::GetIdentifier() const { … }
const gfx::VectorIcon& HungPluginInfoBarDelegate::GetVectorIcon() const { … }
std::u16string HungPluginInfoBarDelegate::GetMessageText() const { … }
int HungPluginInfoBarDelegate::GetButtons() const { … }
std::u16string HungPluginInfoBarDelegate::GetButtonLabel(
InfoBarButton button) const { … }
bool HungPluginInfoBarDelegate::Accept() { … }