OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_VIEW_H_ |
7 | 7 |
8 class SkBitmap; | |
9 | |
10 namespace gfx { | |
11 class ImageSkia; | |
12 } | |
13 | |
14 namespace chromeos { | 8 namespace chromeos { |
15 | 9 |
16 class UserImageModel; | 10 class UserImageModel; |
17 | 11 |
18 // Interface for dependency injection between UserImageScreen and its actual | 12 // Interface for dependency injection between UserImageScreen and its actual |
19 // representation, either views based or WebUI. | 13 // representation, either views based or WebUI. |
20 class UserImageView { | 14 class UserImageView { |
21 public: | 15 public: |
22 virtual ~UserImageView() {} | 16 virtual ~UserImageView() {} |
23 | 17 |
(...skipping 10 matching lines...) Expand all Loading... |
34 // Hides the contents of the screen. | 28 // Hides the contents of the screen. |
35 virtual void Hide() = 0; | 29 virtual void Hide() = 0; |
36 | 30 |
37 // Hides curtain with spinner. | 31 // Hides curtain with spinner. |
38 virtual void HideCurtain() = 0; | 32 virtual void HideCurtain() = 0; |
39 }; | 33 }; |
40 | 34 |
41 } // namespace chromeos | 35 } // namespace chromeos |
42 | 36 |
43 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_VIEW_H_ | 37 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_IMAGE_VIEW_H_ |
OLD | NEW |