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_USER_IMAGE_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_VIEW_H_
18 // Interface for dependency injection between UserImageScreen and its actual
19 // representation, either views based or WebUI.
22 virtual ~UserImageView() {}
24 virtual void Bind(UserImageModel
& model
) = 0;
26 virtual void Unbind() = 0;
28 // Prepare the contents to showing.
29 virtual void PrepareToShow() = 0;
31 // Shows the contents of the screen.
32 virtual void Show() = 0;
34 // Hides the contents of the screen.
35 virtual void Hide() = 0;
37 // Hides curtain with spinner.
38 virtual void HideCurtain() = 0;
41 } // namespace chromeos
43 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_VIEW_H_