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

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

Issue 2360343003: cocoa browser: remove non-material tabstrip support (Closed)
Patch Set: restyle fn Created 4 years, 3 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 | « chrome/browser/ui/cocoa/tabs/tab_view.mm ('k') | 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_window_controller.mm
diff --git a/chrome/browser/ui/cocoa/tabs/tab_window_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_window_controller.mm
index e8465ef4a9b2b78128128a98cc057b19917586c3..0d1927f1bee471859e4aacc843fa6e9f524893ab 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_window_controller.mm
+++ b/chrome/browser/ui/cocoa/tabs/tab_window_controller.mm
@@ -359,8 +359,7 @@ - (void)insertTabStripBackgroundViewIntoWindow:(NSWindow*)window
// In Material Design on 10.10 and higher, the top portion of the window is
// blurred using an NSVisualEffectView.
Class nsVisualEffectViewClass = NSClassFromString(@"NSVisualEffectView");
- if (!ui::MaterialDesignController::IsModeMaterial() ||
- !nsVisualEffectViewClass) {
+ if (!nsVisualEffectViewClass) {
[rootView addSubview:tabStripBackgroundView_
positioned:NSWindowBelow
relativeTo:nil];
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_view.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698