Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / chromeos / login / screens / user_image_view.h
blobe02fdfdf1673cac7388a39b2b97fbe9ac74176ed
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_
8 class SkBitmap;
10 namespace gfx {
11 class ImageSkia;
14 namespace chromeos {
16 class UserImageModel;
18 // Interface for dependency injection between UserImageScreen and its actual
19 // representation, either views based or WebUI.
20 class UserImageView {
21 public:
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_