| 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_THEME_PROVIDER_H_ | 5 #ifndef UI_BASE_THEME_PROVIDER_H_ |
| 6 #define UI_BASE_THEME_PROVIDER_H_ | 6 #define UI_BASE_THEME_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "third_party/skia/include/core/SkColor.h" | 9 #include "third_party/skia/include/core/SkColor.h" |
| 10 #include "ui/base/layout.h" | 10 #include "ui/base/layout.h" |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 virtual NSColor* GetNSImageColorNamed(int id) const = 0; | 94 virtual NSColor* GetNSImageColorNamed(int id) const = 0; |
| 95 | 95 |
| 96 // Gets the NSColor with the specified |id|. | 96 // Gets the NSColor with the specified |id|. |
| 97 virtual NSColor* GetNSColor(int id) const = 0; | 97 virtual NSColor* GetNSColor(int id) const = 0; |
| 98 | 98 |
| 99 // Gets the NSColor for tinting with the specified |id|. | 99 // Gets the NSColor for tinting with the specified |id|. |
| 100 virtual NSColor* GetNSColorTint(int id) const = 0; | 100 virtual NSColor* GetNSColorTint(int id) const = 0; |
| 101 | 101 |
| 102 // Gets the NSGradient with the specified |id|. | 102 // Gets the NSGradient with the specified |id|. |
| 103 virtual NSGradient* GetNSGradient(int id) const = 0; | 103 virtual NSGradient* GetNSGradient(int id) const = 0; |
| 104 |
| 105 // Whether the "increase contrast" accessibility setting is enabled. |
| 106 virtual bool ShouldIncreaseContrast() const = 0; |
| 104 #endif | 107 #endif |
| 105 }; | 108 }; |
| 106 | 109 |
| 107 } // namespace ui | 110 } // namespace ui |
| 108 | 111 |
| 109 #endif // UI_BASE_THEME_PROVIDER_H_ | 112 #endif // UI_BASE_THEME_PROVIDER_H_ |
| OLD | NEW |