| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_THEMES_THEME_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_THEMES_THEME_SERVICE_H_ |
| 6 #define CHROME_BROWSER_THEMES_THEME_SERVICE_H_ | 6 #define CHROME_BROWSER_THEMES_THEME_SERVICE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <utility> | 11 #include <utility> |
| 12 | 12 |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/memory/weak_ptr.h" |
| 16 #include "base/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
| 17 #include "components/browser_context_keyed_service/browser_context_keyed_service
.h" | 18 #include "components/browser_context_keyed_service/browser_context_keyed_service
.h" |
| 18 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
| 19 #include "content/public/browser/notification_registrar.h" | 20 #include "content/public/browser/notification_registrar.h" |
| 20 #include "ui/base/theme_provider.h" | 21 #include "ui/base/theme_provider.h" |
| 21 | 22 |
| 22 class CustomThemeSupplier; | 23 class CustomThemeSupplier; |
| 23 class BrowserThemePack; | 24 class BrowserThemePack; |
| 24 class ThemeSyncableService; | 25 class ThemeSyncableService; |
| 25 class Profile; | 26 class Profile; |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 | 241 |
| 241 scoped_refptr<CustomThemeSupplier> theme_supplier_; | 242 scoped_refptr<CustomThemeSupplier> theme_supplier_; |
| 242 | 243 |
| 243 // The number of infobars currently displayed. | 244 // The number of infobars currently displayed. |
| 244 int number_of_infobars_; | 245 int number_of_infobars_; |
| 245 | 246 |
| 246 content::NotificationRegistrar registrar_; | 247 content::NotificationRegistrar registrar_; |
| 247 | 248 |
| 248 scoped_ptr<ThemeSyncableService> theme_syncable_service_; | 249 scoped_ptr<ThemeSyncableService> theme_syncable_service_; |
| 249 | 250 |
| 251 base::WeakPtrFactory<ThemeService> weak_ptr_factory_; |
| 252 |
| 250 DISALLOW_COPY_AND_ASSIGN(ThemeService); | 253 DISALLOW_COPY_AND_ASSIGN(ThemeService); |
| 251 }; | 254 }; |
| 252 | 255 |
| 253 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_ | 256 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_ |
| OLD | NEW |