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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm

Issue 2430493002: [Mac] Fix rough-looking profile picker text, especially with a dark theme. (Closed)
Patch Set: Scopify! Created 3 years, 11 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 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" 5 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h"
6 6
7 #import <QuartzCore/QuartzCore.h> 7 #import <QuartzCore/QuartzCore.h>
8 8
9 #include <cmath> 9 #include <cmath>
10 #include <limits> 10 #include <limits>
(...skipping 2392 matching lines...) Expand 10 before | Expand all | Expand 10 after
2403 return chrome::GetTabAlertStateForContents(contents); 2403 return chrome::GetTabAlertStateForContents(contents);
2404 } 2404 }
2405 2405
2406 - (void)themeDidChangeNotification:(NSNotification*)notification { 2406 - (void)themeDidChangeNotification:(NSNotification*)notification {
2407 [newTabButton_ setImages]; 2407 [newTabButton_ setImages];
2408 for (int i = 0; i < tabStripModel_->count(); i++) { 2408 for (int i = 0; i < tabStripModel_->count(); i++) {
2409 [self updateIconsForContents:tabStripModel_->GetWebContentsAt(i) atIndex:i]; 2409 [self updateIconsForContents:tabStripModel_->GetWebContentsAt(i) atIndex:i];
2410 } 2410 }
2411 } 2411 }
2412 2412
2413 - (void)setVisualEffectsDisabledForFullscreen:(BOOL)fullscreen {
2414 [tabStripView_ setVisualEffectsDisabledForFullscreen:fullscreen];
2415 }
2416
2417 @end 2413 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_strip_controller.h ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698