#ifndef CHROME_BROWSER_UI_VIEWS_USER_MANAGER_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_USER_MANAGER_VIEW_H_
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_window.h"
#include "ui/views/window/dialog_delegate.h"
class AutoKeepAlive;
namespace views {
class WebView;
}
class UserManagerView : public views::DialogDelegateView {
public:
static void Show(const base::FilePath& profile_path_to_focus,
profiles::UserManagerTutorialMode tutorial_mode);
static void Hide();
static bool IsShowing();
private:
explicit UserManagerView(Profile* profile);
virtual ~UserManagerView();
static void OnGuestProfileCreated(Profile* guest_profile,
const std::string& url);
virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual bool CanResize() const OVERRIDE;
virtual bool CanMaximize() const OVERRIDE;
virtual base::string16 GetWindowTitle() const OVERRIDE;
virtual int GetDialogButtons() const OVERRIDE;
virtual void WindowClosing() OVERRIDE;
virtual bool UseNewStyleForThisDialog() const OVERRIDE;
views::WebView* web_view_;
scoped_ptr<AutoKeepAlive> keep_alive_;
static UserManagerView* instance_;
DISALLOW_COPY_AND_ASSIGN(UserManagerView);
};
#endif