OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_VIEW_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_VIEW_H_ | |
7 | |
8 namespace chromeos { | |
9 | |
10 class ResetModel; | |
11 | |
12 // Interface for dependency injection between ResetScreen and its actual | |
13 // representation, either views based or WebUI. | |
14 class ResetView { | |
15 public: | |
16 virtual ~ResetView() {} | |
17 | |
18 virtual void Bind(ResetModel& model) = 0; | |
19 virtual void Unbind() = 0; | |
20 virtual void PrepareToShow() = 0; | |
21 virtual void Show() = 0; | |
22 virtual void Hide() = 0; | |
23 }; | |
24 | |
25 } // namespace chromeos | |
26 | |
27 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_VIEW_H_ | |
OLD | NEW |