#ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSIONS_DIALOGS_UTILS_H_
#define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSIONS_DIALOGS_UTILS_H_
#include "content/public/browser/web_contents.h"
#include "extensions/common/extension_id.h"
#include "ui/views/bubble/bubble_dialog_model_host.h"
namespace content {
class WebContents;
}
class Browser;
class ToolbarActionViewController;
class ExtensionsToolbarContainer;
ExtensionsToolbarContainer* GetExtensionsToolbarContainer(Browser* browser);
ExtensionsToolbarContainer* GetExtensionsToolbarContainer(
gfx::NativeWindow parent);
ui::ImageModel GetIcon(ToolbarActionViewController* action,
content::WebContents* web_contents);
std::u16string GetCurrentHost(content::WebContents* web_contents);
void ShowDialog(gfx::NativeWindow parent,
const extensions::ExtensionId& extension_id,
std::unique_ptr<ui::DialogModel> dialog_model);
void ShowDialog(ExtensionsToolbarContainer* container,
const std::vector<extensions::ExtensionId>& extension_ids,
std::unique_ptr<ui::DialogModel> dialog_model);
void ShowDialog(Browser* browser,
std::unique_ptr<ui::DialogModel> dialog_model);
#endif