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

Unified Diff: chrome/browser/managed_mode/managed_user_theme.h

Issue 19471005: Add custom default theme support and create a managed user default theme. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Define color constant for label background. Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
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..ec366056e148fd39c1034c2ba28328d6eb65755a
--- /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 {
Elliot Glaysher 2013/07/23 19:57:31 Add class comment. A description of what the Manag
Adrian Kuegel 2013/07/24 12:31:35 Done.
+ public:
+ ManagedUserTheme();
+
+ // Overridden from CustomThemeSupplier:
+ 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_
« no previous file with comments | « no previous file | chrome/browser/managed_mode/managed_user_theme.cc » ('j') | chrome/browser/themes/custom_theme_supplier.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698