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

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm

Issue 2103073003: [Mac][Material Design] Use white tab spinner for dark themes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
index 511ad7e3402526b67da908d231718503fd3aab53..3f27d14469dc5872ac4d4d9e20d6252bdd88968a 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
@@ -1564,7 +1564,7 @@ private:
} else if (contents->IsWaitingForResponse()) {
newState = kTabWaiting;
if (ui::MaterialDesignController::IsModeMaterial() &&
- [[[tabController view] window] inIncognitoMode]) {
+ [[[tabController view] window] hasDarkTheme]) {
throbberImage = throbberWaitingIncognitoImage;
} else {
throbberImage = throbberWaitingImage;
@@ -1572,7 +1572,7 @@ private:
} else if (contents->IsLoadingToDifferentDocument()) {
newState = kTabLoading;
if (ui::MaterialDesignController::IsModeMaterial() &&
- [[[tabController view] window] inIncognitoMode]) {
+ [[[tabController view] window] hasDarkTheme]) {
throbberImage = throbberLoadingIncognitoImage;
} else {
throbberImage = throbberLoadingImage;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698