| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_AURAX11_H_ | 5 #ifndef CHROME_BROWSER_THEMES_THEME_SERVICE_AURAX11_H_ |
| 6 #define CHROME_BROWSER_THEMES_THEME_SERVICE_AURAX11_H_ | 6 #define CHROME_BROWSER_THEMES_THEME_SERVICE_AURAX11_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "chrome/browser/themes/theme_service.h" | 9 #include "chrome/browser/themes/theme_service.h" |
| 9 | 10 |
| 10 // A subclass of ThemeService that manages the CustomThemeSupplier which | 11 // A subclass of ThemeService that manages the CustomThemeSupplier which |
| 11 // provides the native X11 theme. | 12 // provides the native X11 theme. |
| 12 class ThemeServiceAuraX11 : public ThemeService { | 13 class ThemeServiceAuraX11 : public ThemeService { |
| 13 public: | 14 public: |
| 14 ThemeServiceAuraX11(); | 15 ThemeServiceAuraX11(); |
| 15 ~ThemeServiceAuraX11() override; | 16 ~ThemeServiceAuraX11() override; |
| 16 | 17 |
| 17 // Overridden from ThemeService: | 18 // Overridden from ThemeService: |
| 18 bool ShouldInitWithSystemTheme() const override; | 19 bool ShouldInitWithSystemTheme() const override; |
| 19 void UseSystemTheme() override; | 20 void UseSystemTheme() override; |
| 20 bool IsSystemThemeDistinctFromDefaultTheme() const override; | 21 bool IsSystemThemeDistinctFromDefaultTheme() const override; |
| 21 bool UsingDefaultTheme() const override; | 22 bool UsingDefaultTheme() const override; |
| 22 bool UsingSystemTheme() const override; | 23 bool UsingSystemTheme() const override; |
| 23 | 24 |
| 24 private: | 25 private: |
| 25 DISALLOW_COPY_AND_ASSIGN(ThemeServiceAuraX11); | 26 DISALLOW_COPY_AND_ASSIGN(ThemeServiceAuraX11); |
| 26 }; | 27 }; |
| 27 | 28 |
| 28 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_AURAX11_H_ | 29 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_AURAX11_H_ |
| OLD | NEW |