| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_WRONG_HWID_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_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/login/screens/wrong_hwid_screen_actor.h" | 10 #include "chrome/browser/chromeos/login/screens/wrong_hwid_screen_view.h" |
| 11 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" | 11 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" |
| 12 #include "content/public/browser/web_ui.h" | 12 #include "content/public/browser/web_ui.h" |
| 13 | 13 |
| 14 namespace chromeos { | 14 namespace chromeos { |
| 15 | 15 |
| 16 // WebUI implementation of WrongHWIDScreenActor. | 16 // WebUI implementation of WrongHWIDScreenActor. |
| 17 class WrongHWIDScreenHandler : public WrongHWIDScreenActor, | 17 class WrongHWIDScreenHandler : public WrongHWIDScreenView, |
| 18 public BaseScreenHandler { | 18 public BaseScreenHandler { |
| 19 public: | 19 public: |
| 20 WrongHWIDScreenHandler(); | 20 WrongHWIDScreenHandler(); |
| 21 ~WrongHWIDScreenHandler() override; | 21 ~WrongHWIDScreenHandler() override; |
| 22 | 22 |
| 23 // WrongHWIDScreenActor implementation: | 23 // WrongHWIDScreenActor implementation: |
| 24 void Show() override; | 24 void Show() override; |
| 25 void Hide() override; | 25 void Hide() override; |
| 26 void SetDelegate(Delegate* delegate) override; | 26 void SetDelegate(Delegate* delegate) override; |
| 27 | 27 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 42 // Keeps whether screen should be shown right after initialization. | 42 // Keeps whether screen should be shown right after initialization. |
| 43 bool show_on_init_ = false; | 43 bool show_on_init_ = false; |
| 44 | 44 |
| 45 DISALLOW_COPY_AND_ASSIGN(WrongHWIDScreenHandler); | 45 DISALLOW_COPY_AND_ASSIGN(WrongHWIDScreenHandler); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace chromeos | 48 } // namespace chromeos |
| 49 | 49 |
| 50 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_ | 50 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_ |
| 51 | 51 |
| OLD | NEW |