| Index: chrome/browser/chromeos/login/screens/kiosk_autolaunch_screen_view.h
|
| diff --git a/chrome/browser/chromeos/login/screens/kiosk_autolaunch_screen_actor.h b/chrome/browser/chromeos/login/screens/kiosk_autolaunch_screen_view.h
|
| similarity index 65%
|
| rename from chrome/browser/chromeos/login/screens/kiosk_autolaunch_screen_actor.h
|
| rename to chrome/browser/chromeos/login/screens/kiosk_autolaunch_screen_view.h
|
| index 7a70760885072e3de11b79ea11893b28513df880..c45487dfafeff747fd7a78a8862191f5e5c78c31 100644
|
| --- a/chrome/browser/chromeos/login/screens/kiosk_autolaunch_screen_actor.h
|
| +++ b/chrome/browser/chromeos/login/screens/kiosk_autolaunch_screen_view.h
|
| @@ -2,16 +2,16 @@
|
| // 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_AUTOLAUNCH_SCREEN_ACTOR_H_
|
| -#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_KIOSK_AUTOLAUNCH_SCREEN_ACTOR_H_
|
| +#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_KIOSK_AUTOLAUNCH_SCREEN_VIEW_H_
|
| +#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_KIOSK_AUTOLAUNCH_SCREEN_VIEW_H_
|
|
|
| #include <string>
|
|
|
| namespace chromeos {
|
|
|
| // Interface between reset screen and its representation.
|
| -// Note, do not forget to call OnActorDestroyed in the dtor.
|
| -class KioskAutolaunchScreenActor {
|
| +// Note, do not forget to call OnViewDestroyed in the dtor.
|
| +class KioskAutolaunchScreenView {
|
| public:
|
| // Allows us to get info from reset screen that we need.
|
| class Delegate {
|
| @@ -21,12 +21,12 @@ class KioskAutolaunchScreenActor {
|
| // Called when screen is exited.
|
| virtual void OnExit(bool confirmed) = 0;
|
|
|
| - // This method is called, when actor is being destroyed. Note, if Delegate
|
| - // is destroyed earlier then it has to call SetDelegate(NULL).
|
| - virtual void OnActorDestroyed(KioskAutolaunchScreenActor* actor) = 0;
|
| + // This method is called, when view is being destroyed. Note, if Delegate
|
| + // is destroyed earlier then it has to call SetDelegate(nullptr).
|
| + virtual void OnViewDestroyed(KioskAutolaunchScreenView* view) = 0;
|
| };
|
|
|
| - virtual ~KioskAutolaunchScreenActor() {}
|
| + virtual ~KioskAutolaunchScreenView() {}
|
|
|
| virtual void Show() = 0;
|
| virtual void SetDelegate(Delegate* delegate) = 0;
|
| @@ -34,4 +34,4 @@ class KioskAutolaunchScreenActor {
|
|
|
| } // namespace chromeos
|
|
|
| -#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_KIOSK_AUTOLAUNCH_SCREEN_ACTOR_H_
|
| +#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_KIOSK_AUTOLAUNCH_SCREEN_VIEW_H_
|
|
|