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

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

Issue 355233002: Fix build when ENABLE_MANAGED_USERS is not defined (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include missing browsertest .js file in chrome_tests.gypi Created 6 years, 2 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
« no previous file with comments | « chrome/browser/search/search_unittest.cc ('k') | chrome/browser/themes/theme_properties.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/browser/supervised_user/supervised_users.h"
8 #include "chrome/browser/themes/custom_theme_supplier.h" 9 #include "chrome/browser/themes/custom_theme_supplier.h"
9 10
10 namespace gfx { 11 namespace gfx {
11 class Image; 12 class Image;
12 } 13 }
13 14
14 // This theme is used as a default theme for supervised users. It uses a light 15 // 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. 16 // blue as frame color, and defines color properties for the avatar label.
16 class SupervisedUserTheme : public CustomThemeSupplier { 17 class SupervisedUserTheme : public CustomThemeSupplier {
17 public: 18 public:
18 SupervisedUserTheme(); 19 SupervisedUserTheme();
19 20
20 // Overridden from CustomThemeSupplier: 21 // Overridden from CustomThemeSupplier:
21 virtual bool GetColor(int id, SkColor* color) const OVERRIDE; 22 virtual bool GetColor(int id, SkColor* color) const OVERRIDE;
22 virtual gfx::Image GetImageNamed(int id) OVERRIDE; 23 virtual gfx::Image GetImageNamed(int id) OVERRIDE;
23 virtual bool HasCustomImage(int id) const OVERRIDE; 24 virtual bool HasCustomImage(int id) const OVERRIDE;
24 25
25 private: 26 private:
26 virtual ~SupervisedUserTheme(); 27 virtual ~SupervisedUserTheme();
27 28
28 DISALLOW_COPY_AND_ASSIGN(SupervisedUserTheme); 29 DISALLOW_COPY_AND_ASSIGN(SupervisedUserTheme);
29 }; 30 };
30 31
31 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_THEME_H_ 32 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_THEME_H_
OLDNEW
« no previous file with comments | « chrome/browser/search/search_unittest.cc ('k') | chrome/browser/themes/theme_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698