| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_HID_DETECTION_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_HID_DETECTION_SCREEN_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_HID_DETECTION_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_HID_DETECTION_SCREEN_HANDLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 // WebUI implementation of HIDDetectionScreenView. | 22 // WebUI implementation of HIDDetectionScreenView. |
| 23 class HIDDetectionScreenHandler | 23 class HIDDetectionScreenHandler |
| 24 : public HIDDetectionView, | 24 : public HIDDetectionView, |
| 25 public BaseScreenHandler { | 25 public BaseScreenHandler { |
| 26 public: | 26 public: |
| 27 | 27 |
| 28 explicit HIDDetectionScreenHandler(CoreOobeActor* core_oobe_actor); | 28 explicit HIDDetectionScreenHandler(CoreOobeActor* core_oobe_actor); |
| 29 ~HIDDetectionScreenHandler() override; | 29 ~HIDDetectionScreenHandler() override; |
| 30 | 30 |
| 31 // HIDDetectionView implementation: | 31 // HIDDetectionView implementation: |
| 32 void PrepareToShow() override; | |
| 33 void Show() override; | 32 void Show() override; |
| 34 void Hide() override; | 33 void Hide() override; |
| 35 void Bind(HIDDetectionModel& model) override; | 34 void Bind(HIDDetectionModel& model) override; |
| 36 void Unbind() override; | 35 void Unbind() override; |
| 37 void CheckIsScreenRequired( | 36 void CheckIsScreenRequired( |
| 38 const base::Callback<void(bool)>& on_check_done) override; | 37 const base::Callback<void(bool)>& on_check_done) override; |
| 39 | 38 |
| 40 // BaseScreenHandler implementation: | 39 // BaseScreenHandler implementation: |
| 41 void DeclareLocalizedValues( | 40 void DeclareLocalizedValues( |
| 42 ::login::LocalizedValuesBuilder* builder) override; | 41 ::login::LocalizedValuesBuilder* builder) override; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 57 // Keeps whether screen should be shown right after initialization. | 56 // Keeps whether screen should be shown right after initialization. |
| 58 bool show_on_init_; | 57 bool show_on_init_; |
| 59 | 58 |
| 60 DISALLOW_COPY_AND_ASSIGN(HIDDetectionScreenHandler); | 59 DISALLOW_COPY_AND_ASSIGN(HIDDetectionScreenHandler); |
| 61 }; | 60 }; |
| 62 | 61 |
| 63 } // namespace chromeos | 62 } // namespace chromeos |
| 64 | 63 |
| 65 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_HID_DETECTION_SCREEN_HANDLER_H
_ | 64 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_HID_DETECTION_SCREEN_HANDLER_H
_ |
| 66 | 65 |
| OLD | NEW |