| 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 UI_BASE_DEFAULT_THEME_PROVIDER_H_ | 5 #ifndef UI_BASE_DEFAULT_THEME_PROVIDER_H_ |
| 6 #define UI_BASE_DEFAULT_THEME_PROVIDER_H_ | 6 #define UI_BASE_DEFAULT_THEME_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 #if defined(OS_MACOSX) | 36 #if defined(OS_MACOSX) |
| 37 bool UsingSystemTheme() const override; | 37 bool UsingSystemTheme() const override; |
| 38 bool InIncognitoMode() const override; | 38 bool InIncognitoMode() const override; |
| 39 bool HasCustomColor(int id) const override; | 39 bool HasCustomColor(int id) const override; |
| 40 NSImage* GetNSImageNamed(int id) const override; | 40 NSImage* GetNSImageNamed(int id) const override; |
| 41 NSColor* GetNSImageColorNamed(int id) const override; | 41 NSColor* GetNSImageColorNamed(int id) const override; |
| 42 NSColor* GetNSColor(int id) const override; | 42 NSColor* GetNSColor(int id) const override; |
| 43 NSColor* GetNSColorTint(int id) const override; | 43 NSColor* GetNSColorTint(int id) const override; |
| 44 NSGradient* GetNSGradient(int id) const override; | 44 NSGradient* GetNSGradient(int id) const override; |
| 45 bool ShouldIncreaseContrast() const override; |
| 45 #endif | 46 #endif |
| 46 | 47 |
| 47 private: | 48 private: |
| 48 DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider); | 49 DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider); |
| 49 }; | 50 }; |
| 50 | 51 |
| 51 } // namespace ui | 52 } // namespace ui |
| 52 | 53 |
| 53 #endif // UI_BASE_DEFAULT_THEME_PROVIDER_H_ | 54 #endif // UI_BASE_DEFAULT_THEME_PROVIDER_H_ |
| OLD | NEW |