| 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_UI_COCOA_DOWNLOAD_BACKGROUND_THEME_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_DOWNLOAD_BACKGROUND_THEME_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_DOWNLOAD_BACKGROUND_THEME_H_ | 6 #define CHROME_BROWSER_UI_COCOA_DOWNLOAD_BACKGROUND_THEME_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 bool HasCustomImage(int id) const override; | 24 bool HasCustomImage(int id) const override; |
| 25 base::RefCountedMemory* GetRawData(int id, ui::ScaleFactor scale_factor) | 25 base::RefCountedMemory* GetRawData(int id, ui::ScaleFactor scale_factor) |
| 26 const override; | 26 const override; |
| 27 bool InIncognitoMode() const override; | 27 bool InIncognitoMode() const override; |
| 28 bool HasCustomColor(int id) const override; | 28 bool HasCustomColor(int id) const override; |
| 29 NSImage* GetNSImageNamed(int id) const override; | 29 NSImage* GetNSImageNamed(int id) const override; |
| 30 NSColor* GetNSImageColorNamed(int id) const override; | 30 NSColor* GetNSImageColorNamed(int id) const override; |
| 31 NSColor* GetNSColor(int id) const override; | 31 NSColor* GetNSColor(int id) const override; |
| 32 NSColor* GetNSColorTint(int id) const override; | 32 NSColor* GetNSColorTint(int id) const override; |
| 33 NSGradient* GetNSGradient(int id) const override; | 33 NSGradient* GetNSGradient(int id) const override; |
| 34 bool ShouldIncreaseContrast() const override; |
| 34 | 35 |
| 35 private: | 36 private: |
| 36 const ui::ThemeProvider* provider_; | 37 const ui::ThemeProvider* provider_; |
| 37 base::scoped_nsobject<NSGradient> buttonGradient_; | 38 base::scoped_nsobject<NSGradient> buttonGradient_; |
| 38 base::scoped_nsobject<NSGradient> buttonPressedGradient_; | 39 base::scoped_nsobject<NSGradient> buttonPressedGradient_; |
| 39 base::scoped_nsobject<NSColor> borderColor_; | 40 base::scoped_nsobject<NSColor> borderColor_; |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_BACKGROUND_THEME_H_ | 43 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_BACKGROUND_THEME_H_ |
| OLD | NEW |