// Copyright 2012 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_CONFIRM_BUBBLE_MODEL_H_ #define CHROME_BROWSER_UI_CONFIRM_BUBBLE_MODEL_H_ #include <string> #include "ui/base/mojom/dialog_button.mojom.h" #include "ui/base/ui_base_types.h" #include "url/gurl.h" // An interface implemented by objects wishing to control an ConfirmBubbleView. // To use this class to implement a bubble menu, we need two steps: // 1. Implement a class derived from this class. // 2. Call chrome::ShowConfirmBubble() with the class implemented in 1. class ConfirmBubbleModel { … }; #endif // CHROME_BROWSER_UI_CONFIRM_BUBBLE_MODEL_H_