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

Side by Side Diff: chrome/browser/themes/theme_service.h

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, 6 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 | « no previous file | chrome/browser/themes/theme_service_mac.mm » ('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) 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_THEMES_THEME_SERVICE_H_ 5 #ifndef CHROME_BROWSER_THEMES_THEME_SERVICE_H_
6 #define CHROME_BROWSER_THEMES_THEME_SERVICE_H_ 6 #define CHROME_BROWSER_THEMES_THEME_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 const override; 197 const override;
198 #if defined(OS_MACOSX) 198 #if defined(OS_MACOSX)
199 bool UsingSystemTheme() const override; 199 bool UsingSystemTheme() const override;
200 bool InIncognitoMode() const override; 200 bool InIncognitoMode() const override;
201 bool HasCustomColor(int id) const override; 201 bool HasCustomColor(int id) const override;
202 NSImage* GetNSImageNamed(int id) const override; 202 NSImage* GetNSImageNamed(int id) const override;
203 NSColor* GetNSImageColorNamed(int id) const override; 203 NSColor* GetNSImageColorNamed(int id) const override;
204 NSColor* GetNSColor(int id) const override; 204 NSColor* GetNSColor(int id) const override;
205 NSColor* GetNSColorTint(int id) const override; 205 NSColor* GetNSColorTint(int id) const override;
206 NSGradient* GetNSGradient(int id) const override; 206 NSGradient* GetNSGradient(int id) const override;
207 bool ShouldIncreaseContrast() const override;
207 #endif 208 #endif
208 209
209 private: 210 private:
210 const ThemeService& theme_service_; 211 const ThemeService& theme_service_;
211 bool incognito_; 212 bool incognito_;
212 213
213 DISALLOW_COPY_AND_ASSIGN(BrowserThemeProvider); 214 DISALLOW_COPY_AND_ASSIGN(BrowserThemeProvider);
214 }; 215 };
215 friend class BrowserThemeProvider; 216 friend class BrowserThemeProvider;
216 friend class theme_service_internal::ThemeServiceTest; 217 friend class theme_service_internal::ThemeServiceTest;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 325
325 BrowserThemeProvider original_theme_provider_; 326 BrowserThemeProvider original_theme_provider_;
326 BrowserThemeProvider incognito_theme_provider_; 327 BrowserThemeProvider incognito_theme_provider_;
327 328
328 base::WeakPtrFactory<ThemeService> weak_ptr_factory_; 329 base::WeakPtrFactory<ThemeService> weak_ptr_factory_;
329 330
330 DISALLOW_COPY_AND_ASSIGN(ThemeService); 331 DISALLOW_COPY_AND_ASSIGN(ThemeService);
331 }; 332 };
332 333
333 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_ 334 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/themes/theme_service_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698