Chromium Code Reviews| Index: chrome/browser/managed_mode/managed_user_theme.h |
| diff --git a/chrome/browser/managed_mode/managed_user_theme.h b/chrome/browser/managed_mode/managed_user_theme.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..25e97df24796357cea135b8df4a8b93621dc6b85 |
| --- /dev/null |
| +++ b/chrome/browser/managed_mode/managed_user_theme.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_THEME_H_ |
| +#define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_THEME_H_ |
| + |
| +#include "chrome/browser/themes/custom_theme_supplier.h" |
| + |
| +namespace gfx { |
| +class Image; |
| +} |
| + |
| +class ManagedUserTheme : public CustomThemeSupplier { |
| + public: |
| + ManagedUserTheme(); |
| + |
| + // Overridden from CustomThemeProvider: |
|
pkotwicz
2013/07/22 20:17:28
Nit: CustomThemeSupplier
Adrian Kuegel
2013/07/23 08:13:29
Thanks for finding this, I forgot to change that.
|
| + virtual bool GetColor(int id, SkColor* color) const OVERRIDE; |
| + virtual gfx::Image GetImageNamed(int id) OVERRIDE; |
| + virtual bool HasCustomImage(int id) const OVERRIDE; |
| + |
| + private: |
| + virtual ~ManagedUserTheme(); |
| + |
| + DISALLOW_COPY_AND_ASSIGN(ManagedUserTheme); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_THEME_H_ |