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.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_VIEW_H_
14 // Interface between eula screen and its representation, either WebUI
15 // or Views one. Note, do not forget to call OnViewDestroyed in the
19 virtual ~EulaView() {}
21 virtual void PrepareToShow() = 0;
22 virtual void Show() = 0;
23 virtual void Hide() = 0;
24 virtual void Bind(EulaModel
& model
) = 0;
25 virtual void Unbind() = 0;
26 virtual void OnPasswordFetched(const std::string
& tpm_password
) = 0;
29 } // namespace chromeos
31 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_VIEW_H_