BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / supervised_user / supervised_user_theme.h
blob85832fa17ac9c47c4d1097598675bcc849834ab5
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_SUPERVISED_USER_SUPERVISED_USER_THEME_H_
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_THEME_H_
8 #include "chrome/browser/supervised_user/supervised_users.h"
9 #include "chrome/browser/themes/custom_theme_supplier.h"
11 namespace gfx {
12 class Image;
15 // 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 class SupervisedUserTheme : public CustomThemeSupplier {
18 public:
19 SupervisedUserTheme();
21 // Overridden from CustomThemeSupplier:
22 bool GetColor(int id, SkColor* color) const override;
23 gfx::Image GetImageNamed(int id) override;
24 bool HasCustomImage(int id) const override;
26 private:
27 ~SupervisedUserTheme() override;
29 DISALLOW_COPY_AND_ASSIGN(SupervisedUserTheme);
32 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_THEME_H_