| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BROWSER_THEME_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_THEME_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_BROWSER_THEME_PROVIDER_H_ | 6 #define CHROME_BROWSER_BROWSER_THEME_PROVIDER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "app/theme_provider.h" | 13 #include "app/theme_provider.h" |
| 14 #include "base/non_thread_safe.h" | 14 #include "base/non_thread_safe.h" |
| 15 #include "base/ref_counted.h" | 15 #include "base/ref_counted.h" |
| 16 | 16 |
| 17 namespace color_utils { | 17 namespace color_utils { |
| 18 struct HSL; | 18 struct HSL; |
| 19 } | 19 } |
| 20 | 20 |
| 21 class BrowserThemePack; | 21 class BrowserThemePack; |
| 22 class BrowserThemeProviderTest; | 22 class BrowserThemeProviderTest; |
| 23 class DictionaryValue; | |
| 24 class Extension; | 23 class Extension; |
| 25 class FilePath; | 24 class FilePath; |
| 26 class PrefService; | |
| 27 class Profile; | 25 class Profile; |
| 28 class ResourceBundle; | 26 class ResourceBundle; |
| 29 | 27 |
| 30 #ifdef __OBJC__ | 28 #ifdef __OBJC__ |
| 31 @class NSString; | 29 @class NSString; |
| 32 // Sent whenever the browser theme changes. Object => NSValue wrapping the | 30 // Sent whenever the browser theme changes. Object => NSValue wrapping the |
| 33 // BrowserThemeProvider that changed. | 31 // BrowserThemeProvider that changed. |
| 34 extern "C" NSString* const kBrowserThemeDidChangeNotification; | 32 extern "C" NSString* const kBrowserThemeDidChangeNotification; |
| 35 #endif // __OBJC__ | 33 #endif // __OBJC__ |
| 36 | 34 |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 | 265 |
| 268 scoped_refptr<BrowserThemePack> theme_pack_; | 266 scoped_refptr<BrowserThemePack> theme_pack_; |
| 269 | 267 |
| 270 // The number of infobars currently displayed. | 268 // The number of infobars currently displayed. |
| 271 int number_of_infobars_; | 269 int number_of_infobars_; |
| 272 | 270 |
| 273 DISALLOW_COPY_AND_ASSIGN(BrowserThemeProvider); | 271 DISALLOW_COPY_AND_ASSIGN(BrowserThemeProvider); |
| 274 }; | 272 }; |
| 275 | 273 |
| 276 #endif // CHROME_BROWSER_BROWSER_THEME_PROVIDER_H_ | 274 #endif // CHROME_BROWSER_BROWSER_THEME_PROVIDER_H_ |
| OLD | NEW |