| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #endif // __OBJC__ | 45 #endif // __OBJC__ |
| 46 | 46 |
| 47 class ThemeService : public base::NonThreadSafe, | 47 class ThemeService : public base::NonThreadSafe, |
| 48 public content::NotificationObserver, | 48 public content::NotificationObserver, |
| 49 public ProfileKeyedService, | 49 public ProfileKeyedService, |
| 50 public ui::ThemeProvider { | 50 public ui::ThemeProvider { |
| 51 public: | 51 public: |
| 52 // Public constants used in ThemeService and its subclasses: | 52 // Public constants used in ThemeService and its subclasses: |
| 53 | 53 |
| 54 // Strings used in alignment properties. | 54 // Strings used in alignment properties. |
| 55 static const char* kAlignmentCenter; |
| 55 static const char* kAlignmentTop; | 56 static const char* kAlignmentTop; |
| 56 static const char* kAlignmentBottom; | 57 static const char* kAlignmentBottom; |
| 57 static const char* kAlignmentLeft; | 58 static const char* kAlignmentLeft; |
| 58 static const char* kAlignmentRight; | 59 static const char* kAlignmentRight; |
| 59 | 60 |
| 60 // Strings used in tiling properties. | 61 // Strings used in tiling properties. |
| 61 static const char* kTilingNoRepeat; | 62 static const char* kTilingNoRepeat; |
| 62 static const char* kTilingRepeatX; | 63 static const char* kTilingRepeatX; |
| 63 static const char* kTilingRepeatY; | 64 static const char* kTilingRepeatY; |
| 64 static const char* kTilingRepeat; | 65 static const char* kTilingRepeat; |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 | 313 |
| 313 // The number of infobars currently displayed. | 314 // The number of infobars currently displayed. |
| 314 int number_of_infobars_; | 315 int number_of_infobars_; |
| 315 | 316 |
| 316 content::NotificationRegistrar registrar_; | 317 content::NotificationRegistrar registrar_; |
| 317 | 318 |
| 318 DISALLOW_COPY_AND_ASSIGN(ThemeService); | 319 DISALLOW_COPY_AND_ASSIGN(ThemeService); |
| 319 }; | 320 }; |
| 320 | 321 |
| 321 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_ | 322 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_ |
| OLD | NEW |