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_CHROMEOS_LOGIN_SCREENS_WAIT_FOR_CONTAINER_READY_SCREEN_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_WAIT_FOR_CONTAINER_READY_SCREEN_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/macros.h" | |
11 #include "chrome/browser/chromeos/login/screens/base_screen.h" | |
12 | |
13 namespace chromeos { | |
14 | |
15 class WaitForContainerReadyScreenView; | |
16 class BaseScreenDelegate; | |
17 | |
18 class WaitForContainerReadyScreen : public BaseScreen { | |
19 public: | |
20 WaitForContainerReadyScreen(BaseScreenDelegate* base_screen_delegate, | |
21 WaitForContainerReadyScreenView* view); | |
22 ~WaitForContainerReadyScreen() override; | |
23 | |
24 // Called when view is destroyed so there's no dead reference to it. | |
25 void OnViewDestroyed(WaitForContainerReadyScreenView* view_); | |
26 | |
27 // BaseScreen: | |
28 void Show() override; | |
29 void Hide() override; | |
30 void OnContainerReady(); | |
xiyuan
2017/06/19 16:36:01
nit: Insert an emtpy line before since this is par
yueli
2017/06/19 18:49:18
Done.
| |
31 | |
32 private: | |
33 WaitForContainerReadyScreenView* view_; | |
34 | |
35 DISALLOW_COPY_AND_ASSIGN(WaitForContainerReadyScreen); | |
36 }; | |
37 | |
38 } // namespace chromeos | |
39 | |
40 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_WAIT_FOR_CONTAINER_READY_SCREEN _H_ | |
OLD | NEW |