blob: d08f6e2fb4c23c8b9700f29116c52d2e27fb82c2 [file] [log] [blame]
// Copyright (c) 2014 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_ENABLE_DEBUGGING_SCREEN_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ENABLE_DEBUGGING_SCREEN_H_
#include <string>
#include "base/macros.h"
#include "chrome/browser/chromeos/login/screens/base_screen.h"
#include "chrome/browser/chromeos/login/screens/enable_debugging_screen_view.h"
namespace chromeos {
// Representation independent class that controls screen showing enable
// debugging screen to users.
class EnableDebuggingScreen : public BaseScreen,
public EnableDebuggingScreenView::Delegate {
public:
EnableDebuggingScreen(BaseScreenDelegate* delegate,
EnableDebuggingScreenView* view);
~EnableDebuggingScreen() override;
// BaseScreen implementation:
void Show() override;
void Hide() override;
// EnableDebuggingScreenActor::Delegate implementation:
void OnExit(bool success) override;
void OnViewDestroyed(EnableDebuggingScreenView* view) override;
private:
EnableDebuggingScreenView* view_;
DISALLOW_COPY_AND_ASSIGN(EnableDebuggingScreen);
};
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ENABLE_DEBUGGING_SCREEN_H_