OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_THEME_H_ |
| 6 #define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_THEME_H_ |
| 7 |
| 8 #include "chrome/browser/themes/custom_theme_provider.h" |
| 9 #include "ui/base/resource/resource_bundle.h" |
| 10 |
| 11 class ManagedUserTheme : public CustomThemeProvider { |
| 12 public: |
| 13 ManagedUserTheme(); |
| 14 |
| 15 // Overridden from CustomThemeProvider: |
| 16 virtual bool GetColor(int id, SkColor* color) const OVERRIDE; |
| 17 virtual gfx::Image GetImageNamed(int id) OVERRIDE; |
| 18 virtual bool HasCustomImage(int id) const OVERRIDE; |
| 19 |
| 20 private: |
| 21 virtual ~ManagedUserTheme(); |
| 22 |
| 23 ui::ResourceBundle& rb_; |
| 24 |
| 25 DISALLOW_COPY_AND_ASSIGN(ManagedUserTheme); |
| 26 }; |
| 27 |
| 28 #endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_THEME_H_ |
OLD | NEW |