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

Unified Diff: chrome/browser/ui/gtk/gtk_theme_service.h

Issue 22677002: Notify ThemeService via callback when supervised user is ready. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add unit test. Created 7 years, 4 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/ui/gtk/gtk_theme_service.h
diff --git a/chrome/browser/ui/gtk/gtk_theme_service.h b/chrome/browser/ui/gtk/gtk_theme_service.h
index 18a840eab41c9794f8887eda50471e59874f5835..41d4140dd0648d99ff7ce7ffbb50971f5d169523 100644
--- a/chrome/browser/ui/gtk/gtk_theme_service.h
+++ b/chrome/browser/ui/gtk/gtk_theme_service.h
@@ -18,6 +18,7 @@
#include "ui/base/gtk/owned_widget_gtk.h"
#include "ui/gfx/color_utils.h"
+class CustomThemeSupplier;
class Profile;
namespace content {
@@ -75,6 +76,8 @@ class GtkThemeService : public ThemeService {
virtual SkColor GetColor(int id) const OVERRIDE;
virtual bool HasCustomImage(int id) const OVERRIDE;
virtual void SetTheme(const extensions::Extension* extension) OVERRIDE;
+ virtual void SetCustomDefaultTheme(
+ scoped_refptr<CustomThemeSupplier> theme_supplier) OVERRIDE;
pkotwicz 2013/08/09 16:49:37 Nit: Order SetCustomDefaultTheme() to match order
Adrian Kuegel 2013/08/09 21:21:59 Done.
virtual void UseDefaultTheme() OVERRIDE;
virtual void SetNativeTheme() OVERRIDE;
virtual bool UsingDefaultTheme() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698