// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_CONFIRM_INFOBAR_H_ #define CHROME_BROWSER_UI_VIEWS_INFOBARS_CONFIRM_INFOBAR_H_ #include "base/memory/raw_ptr.h" #include "chrome/browser/ui/views/infobars/infobar_view.h" #include "components/infobars/core/confirm_infobar_delegate.h" #include "ui/base/interaction/element_identifier.h" namespace views { class Label; class MdTextButton; } // An infobar that shows a message, up to two optional buttons, and an optional, // right-aligned link. This is commonly used to do things like: // "Would you like to do X? [Yes] [No] _Learn More_ [x]" class ConfirmInfoBar : public InfoBarView { … }; #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_CONFIRM_INFOBAR_H_