blob: f2b101cf0a4edcb58dd010afe93ec99f2998c2e3 [file] [log] [blame]
// Copyright 2013 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_CHROMEOS_LOGIN_SCREENS_KIOSK_ENABLE_SCREEN_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_KIOSK_ENABLE_SCREEN_H_
#include <string>
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "chrome/browser/chromeos/login/screens/base_screen.h"
#include "chrome/browser/chromeos/login/screens/kiosk_enable_screen_view.h"
namespace chromeos {
// Representation independent class that controls screen for enabling
// consumer kiosk mode.
class KioskEnableScreen : public BaseScreen,
public KioskEnableScreenView::Delegate {
public:
KioskEnableScreen(BaseScreenDelegate* base_screen_delegate,
KioskEnableScreenView* view);
~KioskEnableScreen() override;
// BaseScreen implementation:
void Show() override;
void Hide() override {}
// KioskEnableScreenActor::Delegate implementation:
void OnExit() override;
void OnViewDestroyed(KioskEnableScreenView* view) override;
private:
KioskEnableScreenView* view_;
DISALLOW_COPY_AND_ASSIGN(KioskEnableScreen);
};
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_KIOSK_ENABLE_SCREEN_H_