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

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

Issue 2404783002: [Mac] Avoid "adding unknown subview" warning. (Closed)
Patch Set: Merged with head Created 4 years, 2 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
Index: chrome/browser/ui/cocoa/tabs/tab_window_controller.h
diff --git a/chrome/browser/ui/cocoa/tabs/tab_window_controller.h b/chrome/browser/ui/cocoa/tabs/tab_window_controller.h
index 407c794978e0bbb6adc82e0487dfe08bab1f8b2d..e9904d90f11ff9d94b16f4da304e6fdefe0ea552 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_window_controller.h
+++ b/chrome/browser/ui/cocoa/tabs/tab_window_controller.h
@@ -18,6 +18,7 @@
@class FastResizeView;
@class FocusTracker;
+@class NSVisualEffectView;
@class TabStripView;
@class TabView;
@@ -27,6 +28,9 @@
base::scoped_nsobject<FastResizeView> tabContentArea_;
base::scoped_nsobject<NSView> tabStripBackgroundView_;
+ // Used to blur the titlebar. nil if window does not have titlebar.
+ base::scoped_nsobject<NSVisualEffectView> visualEffectView_;
+
// The tab strip overlaps the titlebar of the window.
base::scoped_nsobject<TabStripView> tabStripView_;

Powered by Google App Engine
This is Rietveld 408576698