OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_MANAGED_MODE_MANAGED_USER_THEME_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_THEME_H_ |
6 #define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_THEME_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_THEME_H_ |
7 | 7 |
8 #include "chrome/browser/themes/custom_theme_supplier.h" | 8 #include "chrome/browser/themes/custom_theme_supplier.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
11 class Image; | 11 class Image; |
12 } | 12 } |
13 | 13 |
14 // This theme is used as a default theme for supervised users. It uses a light | 14 // This theme is used as a default theme for supervised users. It uses a light |
15 // blue as frame color, and defines color properties for the avatar label. | 15 // blue as frame color, and defines color properties for the avatar label. |
16 class ManagedUserTheme : public CustomThemeSupplier { | 16 class SupervisedUserTheme : public CustomThemeSupplier { |
17 public: | 17 public: |
18 ManagedUserTheme(); | 18 SupervisedUserTheme(); |
19 | 19 |
20 // Overridden from CustomThemeSupplier: | 20 // Overridden from CustomThemeSupplier: |
21 virtual bool GetColor(int id, SkColor* color) const OVERRIDE; | 21 virtual bool GetColor(int id, SkColor* color) const OVERRIDE; |
22 virtual gfx::Image GetImageNamed(int id) OVERRIDE; | 22 virtual gfx::Image GetImageNamed(int id) OVERRIDE; |
23 virtual bool HasCustomImage(int id) const OVERRIDE; | 23 virtual bool HasCustomImage(int id) const OVERRIDE; |
24 | 24 |
25 private: | 25 private: |
26 virtual ~ManagedUserTheme(); | 26 virtual ~SupervisedUserTheme(); |
27 | 27 |
28 DISALLOW_COPY_AND_ASSIGN(ManagedUserTheme); | 28 DISALLOW_COPY_AND_ASSIGN(SupervisedUserTheme); |
29 }; | 29 }; |
30 | 30 |
31 #endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_THEME_H_ | 31 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_THEME_H_ |
OLD | NEW |