Chromium Code Reviews| 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_supplier.h" | |
| 9 #include "ui/base/resource/resource_bundle.h" | |
| 10 | |
| 11 namespace gfx { | |
| 12 class Image; | |
| 13 } | |
| 14 | |
| 15 class ManagedUserTheme : public CustomThemeSupplier { | |
| 16 public: | |
| 17 ManagedUserTheme(); | |
| 18 | |
| 19 // Overridden from CustomThemeProvider: | |
| 20 virtual bool GetColor(int id, SkColor* color) const OVERRIDE; | |
| 21 virtual gfx::Image GetImageNamed(int id) OVERRIDE; | |
| 22 virtual bool HasCustomImage(int id) const OVERRIDE; | |
| 23 | |
| 24 private: | |
| 25 virtual ~ManagedUserTheme(); | |
| 26 | |
| 27 ui::ResourceBundle& rb_; | |
|
pkotwicz
2013/07/19 18:33:20
Request the ResourceBundle where needed
Adrian Kuegel
2013/07/22 12:58:08
Done.
| |
| 28 | |
| 29 DISALLOW_COPY_AND_ASSIGN(ManagedUserTheme); | |
| 30 }; | |
| 31 | |
| 32 #endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_THEME_H_ | |
| OLD | NEW |