Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: chrome/browser/supervised_user/supervised_user_theme.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_SUPERVISED_USER_SUPERVISED_USER_THEME_H_ 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_THEME_H_
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_THEME_H_ 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_THEME_H_
7 7
8 #include "base/macros.h"
8 #include "chrome/browser/supervised_user/supervised_users.h" 9 #include "chrome/browser/supervised_user/supervised_users.h"
9 #include "chrome/browser/themes/custom_theme_supplier.h" 10 #include "chrome/browser/themes/custom_theme_supplier.h"
10 11
11 namespace gfx { 12 namespace gfx {
12 class Image; 13 class Image;
13 } 14 }
14 15
15 // This theme is used as a default theme for supervised users. It uses a light 16 // This theme is used as a default theme for supervised users. It uses a light
16 // blue as frame color, and defines color properties for the avatar label. 17 // blue as frame color, and defines color properties for the avatar label.
17 class SupervisedUserTheme : public CustomThemeSupplier { 18 class SupervisedUserTheme : public CustomThemeSupplier {
18 public: 19 public:
19 SupervisedUserTheme(); 20 SupervisedUserTheme();
20 21
21 // Overridden from CustomThemeSupplier: 22 // Overridden from CustomThemeSupplier:
22 bool GetColor(int id, SkColor* color) const override; 23 bool GetColor(int id, SkColor* color) const override;
23 gfx::Image GetImageNamed(int id) override; 24 gfx::Image GetImageNamed(int id) override;
24 bool HasCustomImage(int id) const override; 25 bool HasCustomImage(int id) const override;
25 26
26 private: 27 private:
27 ~SupervisedUserTheme() override; 28 ~SupervisedUserTheme() override;
28 29
29 DISALLOW_COPY_AND_ASSIGN(SupervisedUserTheme); 30 DISALLOW_COPY_AND_ASSIGN(SupervisedUserTheme);
30 }; 31 };
31 32
32 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_THEME_H_ 33 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_THEME_H_
OLDNEW
« no previous file with comments | « chrome/browser/supervised_user/supervised_user_site_list.cc ('k') | chrome/browser/supervised_user/supervised_user_theme.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698