OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_AUTOLAUNCH_SCREEN_HANDLER_H
_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_AUTOLAUNCH_SCREEN_HANDLER_H
_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_AUTOLAUNCH_SCREEN_HANDLER_H
_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_AUTOLAUNCH_SCREEN_HANDLER_H
_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager_observer.h" | 10 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager_observer.h" |
11 #include "chrome/browser/chromeos/login/screens/kiosk_autolaunch_screen_actor.h" | 11 #include "chrome/browser/chromeos/login/screens/kiosk_autolaunch_screen_view.h" |
12 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" | 12 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" |
13 #include "content/public/browser/web_ui.h" | 13 #include "content/public/browser/web_ui.h" |
14 | 14 |
15 namespace chromeos { | 15 namespace chromeos { |
16 | 16 |
17 // WebUI implementation of KioskAutolaunchScreenActor. | 17 // WebUI implementation of KioskAutolaunchScreenActor. |
18 class KioskAutolaunchScreenHandler : public KioskAutolaunchScreenActor, | 18 class KioskAutolaunchScreenHandler : public KioskAutolaunchScreenView, |
19 public KioskAppManagerObserver, | 19 public KioskAppManagerObserver, |
20 public BaseScreenHandler { | 20 public BaseScreenHandler { |
21 public: | 21 public: |
22 KioskAutolaunchScreenHandler(); | 22 KioskAutolaunchScreenHandler(); |
23 ~KioskAutolaunchScreenHandler() override; | 23 ~KioskAutolaunchScreenHandler() override; |
24 | 24 |
25 // KioskAutolaunchScreenActor implementation: | 25 // KioskAutolaunchScreenActor implementation: |
26 void Show() override; | 26 void Show() override; |
27 void SetDelegate(Delegate* delegate) override; | 27 void SetDelegate(Delegate* delegate) override; |
28 | 28 |
(...skipping 23 matching lines...) Expand all Loading... |
52 // Keeps whether screen should be shown right after initialization. | 52 // Keeps whether screen should be shown right after initialization. |
53 bool show_on_init_ = false; | 53 bool show_on_init_ = false; |
54 bool is_visible_ = false; | 54 bool is_visible_ = false; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(KioskAutolaunchScreenHandler); | 56 DISALLOW_COPY_AND_ASSIGN(KioskAutolaunchScreenHandler); |
57 }; | 57 }; |
58 | 58 |
59 } // namespace chromeos | 59 } // namespace chromeos |
60 | 60 |
61 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_AUTOLAUNCH_SCREEN_HANDLE
R_H_ | 61 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_AUTOLAUNCH_SCREEN_HANDLE
R_H_ |
OLD | NEW |