chromium/chrome/browser/devtools/global_confirm_info_bar.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/devtools/global_confirm_info_bar.h"

#include <utility>

#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "base/task/sequenced_task_runner.h"
#include "chrome/browser/infobars/confirm_infobar_creator.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "components/infobars/core/infobar.h"
#include "ui/gfx/image/image.h"

class GlobalConfirmInfoBar::DelegateProxy : public ConfirmInfoBarDelegate {};

GlobalConfirmInfoBar::DelegateProxy::DelegateProxy(
    base::WeakPtr<GlobalConfirmInfoBar> global_info_bar)
    :{}

GlobalConfirmInfoBar::DelegateProxy::~DelegateProxy() = default;

infobars::InfoBarDelegate::InfoBarIdentifier
GlobalConfirmInfoBar::DelegateProxy::GetIdentifier() const {}

std::u16string GlobalConfirmInfoBar::DelegateProxy::GetLinkText() const {}

GURL GlobalConfirmInfoBar::DelegateProxy::GetLinkURL() const {}

bool GlobalConfirmInfoBar::DelegateProxy::IsCloseable() const {}

bool GlobalConfirmInfoBar::DelegateProxy::ShouldAnimate() const {}

void GlobalConfirmInfoBar::DelegateProxy::InfoBarDismissed() {}

std::u16string GlobalConfirmInfoBar::DelegateProxy::GetMessageText() const {}

gfx::ElideBehavior
GlobalConfirmInfoBar::DelegateProxy::GetMessageElideBehavior() const {}

int GlobalConfirmInfoBar::DelegateProxy::GetButtons() const {}

std::u16string GlobalConfirmInfoBar::DelegateProxy::GetButtonLabel(
    InfoBarButton button) const {}

bool GlobalConfirmInfoBar::DelegateProxy::Accept() {}

bool GlobalConfirmInfoBar::DelegateProxy::Cancel() {}

void GlobalConfirmInfoBar::DelegateProxy::Detach() {}

// static
GlobalConfirmInfoBar* GlobalConfirmInfoBar::Show(
    std::unique_ptr<ConfirmInfoBarDelegate> delegate) {}

GlobalConfirmInfoBar::GlobalConfirmInfoBar(
    std::unique_ptr<ConfirmInfoBarDelegate> delegate)
    :{}

GlobalConfirmInfoBar::~GlobalConfirmInfoBar() {}

void GlobalConfirmInfoBar::OnTabStripModelChanged(
    TabStripModel* tab_strip_model,
    const TabStripModelChange& change,
    const TabStripSelectionChange& selection) {}

void GlobalConfirmInfoBar::TabChangedAt(content::WebContents* web_contents,
                                        int index,
                                        TabChangeType change_type) {}

void GlobalConfirmInfoBar::OnInfoBarRemoved(infobars::InfoBar* info_bar,
                                            bool animate) {}

void GlobalConfirmInfoBar::OnManagerShuttingDown(
    infobars::InfoBarManager* manager) {}

void GlobalConfirmInfoBar::Close() {}

void GlobalConfirmInfoBar::MaybeAddInfoBar(content::WebContents* web_contents) {}