#ifndef CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_VIEWS_H_
#define CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_VIEWS_H_
#include "ui/gfx/native_widget_types.h"
#include "ui/views/window/dialog_delegate.h"
class Profile;
namespace extensions {
class Extension;
}
namespace views {
class TabbedPane;
}
class AppInfoDialog : public views::DialogDelegateView {
public:
AppInfoDialog(gfx::NativeWindow parent_window,
Profile* profile,
const extensions::Extension* app,
const base::Closure& close_callback);
virtual ~AppInfoDialog();
private:
virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual bool Cancel() OVERRIDE;
virtual base::string16 GetDialogButtonLabel(ui::DialogButton button) const
OVERRIDE;
virtual int GetDialogButtons() const OVERRIDE;
virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
virtual ui::ModalType GetModalType() const OVERRIDE;
gfx::NativeWindow parent_window_;
Profile* profile_;
const extensions::Extension* app_;
base::Closure close_callback_;
DISALLOW_COPY_AND_ASSIGN(AppInfoDialog);
};
#endif