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

Side by Side Diff: chrome/browser/ui/cocoa/download/background_theme.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
OLDNEW
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 #include "chrome/browser/ui/cocoa/download/background_theme.h" 5 #include "chrome/browser/ui/cocoa/download/background_theme.h"
6 6
7 #import "chrome/browser/themes/theme_properties.h" 7 #import "chrome/browser/themes/theme_properties.h"
8 8
9 BackgroundTheme::BackgroundTheme(const ui::ThemeProvider* provider) 9 BackgroundTheme::BackgroundTheme(const ui::ThemeProvider* provider)
10 : provider_(provider) { 10 : provider_(provider) {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 case ThemeProperties::GRADIENT_TOOLBAR_BUTTON: 89 case ThemeProperties::GRADIENT_TOOLBAR_BUTTON:
90 case ThemeProperties::GRADIENT_TOOLBAR_BUTTON_INACTIVE: 90 case ThemeProperties::GRADIENT_TOOLBAR_BUTTON_INACTIVE:
91 return buttonGradient_.get(); 91 return buttonGradient_.get();
92 case ThemeProperties::GRADIENT_TOOLBAR_BUTTON_PRESSED: 92 case ThemeProperties::GRADIENT_TOOLBAR_BUTTON_PRESSED:
93 case ThemeProperties::GRADIENT_TOOLBAR_BUTTON_PRESSED_INACTIVE: 93 case ThemeProperties::GRADIENT_TOOLBAR_BUTTON_PRESSED_INACTIVE:
94 return buttonPressedGradient_.get(); 94 return buttonPressedGradient_.get();
95 default: 95 default:
96 return provider_->GetNSGradient(id); 96 return provider_->GetNSGradient(id);
97 } 97 }
98 } 98 }
99
100 bool BackgroundTheme::ShouldIncreaseContrast() const {
101 return false;
102 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/download/background_theme.h ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698