Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / chromeos / login / screens / eula_view.h
blob99cb94720e9a0a4bf85ce46721cd8a2dfdfc6441
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_
8 #include <string>
10 namespace chromeos {
12 class EulaModel;
14 // Interface between eula screen and its representation, either WebUI
15 // or Views one. Note, do not forget to call OnViewDestroyed in the
16 // dtor.
17 class EulaView {
18 public:
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_