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