blob: bf02898c29e14ddf7e8a1c21093c5eeb2d195462 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_CHOOSER_DIALOG_H_
#define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_CHOOSER_DIALOG_H_
#include "base/macros.h"
class ChooserController;
namespace content {
class WebContents;
}
class ChromeExtensionChooserDialog {
public:
explicit ChromeExtensionChooserDialog(content::WebContents* web_contents)
: web_contents_(web_contents) {}
~ChromeExtensionChooserDialog() {}
void ShowDialog(std::unique_ptr<ChooserController> chooser_controller) const;
private:
void ShowDialogImpl(
std::unique_ptr<ChooserController> chooser_controller) const;
content::WebContents* web_contents_;
DISALLOW_COPY_AND_ASSIGN(ChromeExtensionChooserDialog);
};
#endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_CHOOSER_DIALOG_H_