#include "chrome/browser/plugins/reload_plugin_infobar_delegate.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/infobars/confirm_infobar_creator.h"
#include "chrome/grit/generated_resources.h"
#include "components/infobars/content/content_infobar_manager.h"
#include "components/infobars/core/infobar.h"
#include "content/public/browser/navigation_controller.h"
#include "ui/base/l10n/l10n_util.h"
void ReloadPluginInfoBarDelegate::Create(
infobars::ContentInfoBarManager* infobar_manager,
content::NavigationController* controller,
const std::u16string& message) { … }
ReloadPluginInfoBarDelegate::ReloadPluginInfoBarDelegate(
content::NavigationController* controller,
const std::u16string& message)
: … { … }
ReloadPluginInfoBarDelegate::~ReloadPluginInfoBarDelegate() { … }
infobars::InfoBarDelegate::InfoBarIdentifier
ReloadPluginInfoBarDelegate::GetIdentifier() const { … }
const gfx::VectorIcon& ReloadPluginInfoBarDelegate::GetVectorIcon() const { … }
std::u16string ReloadPluginInfoBarDelegate::GetMessageText() const { … }
int ReloadPluginInfoBarDelegate::GetButtons() const { … }
std::u16string ReloadPluginInfoBarDelegate::GetButtonLabel(
InfoBarButton button) const { … }
bool ReloadPluginInfoBarDelegate::Accept() { … }