| 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" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 private: | 41 private: |
| 42 // Updates auto-start UI assets on JS side. | 42 // Updates auto-start UI assets on JS side. |
| 43 void UpdateKioskApp(); | 43 void UpdateKioskApp(); |
| 44 | 44 |
| 45 // JS messages handlers. | 45 // JS messages handlers. |
| 46 void HandleOnCancel(); | 46 void HandleOnCancel(); |
| 47 void HandleOnConfirm(); | 47 void HandleOnConfirm(); |
| 48 void HandleOnVisible(); | 48 void HandleOnVisible(); |
| 49 | 49 |
| 50 Delegate* delegate_; | 50 Delegate* delegate_ = nullptr; |
| 51 | 51 |
| 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_; | 53 bool show_on_init_ = false; |
| 54 bool is_visible_; | 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 |