Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Side by Side Diff: ui/base/default_theme_provider_mac.mm

Issue 2087893002: [cocoa] increase tab strip contrast in "Increase Contrast" mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 10.9 detection & themeless windows Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/base/default_theme_provider.h ('k') | ui/base/theme_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #include "ui/base/default_theme_provider.h" 5 #include "ui/base/default_theme_provider.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "ui/base/resource/resource_bundle.h" 9 #include "ui/base/resource/resource_bundle.h"
10 10
(...skipping 26 matching lines...) Expand all
37 } 37 }
38 38
39 NSColor* DefaultThemeProvider::GetNSColorTint(int id) const { 39 NSColor* DefaultThemeProvider::GetNSColorTint(int id) const {
40 return [NSColor redColor]; 40 return [NSColor redColor];
41 } 41 }
42 42
43 NSGradient* DefaultThemeProvider::GetNSGradient(int id) const { 43 NSGradient* DefaultThemeProvider::GetNSGradient(int id) const {
44 return nil; 44 return nil;
45 } 45 }
46 46
47 bool DefaultThemeProvider::ShouldIncreaseContrast() const {
48 return false;
49 }
50
47 } // namespace ui 51 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/default_theme_provider.h ('k') | ui/base/theme_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698