| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENCRYPTION_MIGRATION_SCREEN_HANDL
ER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENCRYPTION_MIGRATION_SCREEN_HANDL
ER_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "chrome/browser/chromeos/login/screens/encryption_migration_screen_view
.h" |
| 10 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" |
| 11 |
| 12 namespace chromeos { |
| 13 |
| 14 // WebUI implementation of EncryptionMigrationScreenView |
| 15 class EncryptionMigrationScreenHandler : public EncryptionMigrationScreenView, |
| 16 public BaseScreenHandler { |
| 17 public: |
| 18 EncryptionMigrationScreenHandler(); |
| 19 ~EncryptionMigrationScreenHandler() override; |
| 20 |
| 21 // EncryptionMigrationScreenView: |
| 22 void Show() override; |
| 23 void Hide() override; |
| 24 void SetDelegate(Delegate* delegate) override; |
| 25 |
| 26 // BaseScreenHandler: |
| 27 void DeclareLocalizedValues( |
| 28 ::login::LocalizedValuesBuilder* builder) override; |
| 29 void Initialize() override; |
| 30 |
| 31 private: |
| 32 Delegate* delegate_ = nullptr; |
| 33 bool show_on_init_ = false; |
| 34 |
| 35 DISALLOW_COPY_AND_ASSIGN(EncryptionMigrationScreenHandler); |
| 36 }; |
| 37 |
| 38 } // namespace chromeos |
| 39 |
| 40 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENCRYPTION_MIGRATION_SCREEN_HA
NDLER_H_ |
| OLD | NEW |