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

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

Issue 925583004: Mac: Fix incorrect tab dragging window drawing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ThreePartImage
Patch Set: Created 5 years, 10 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/bookmarks/bookmark_button.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_view.mm
diff --git a/chrome/browser/ui/cocoa/tabs/tab_view.mm b/chrome/browser/ui/cocoa/tabs/tab_view.mm
index bd5b053e29234616eecb871ae3edf81d6198cd21..c8358328159a6197b31bdebd9e484dac9ccebc73 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_view.mm
+++ b/chrome/browser/ui/cocoa/tabs/tab_view.mm
@@ -433,6 +433,11 @@ ui::ThreePartImage* GetStrokeImage(bool active) {
[super viewDidMoveToWindow];
if ([self window]) {
[controller_ updateTitleColor];
+
+ // The new window may have different main window status.
+ // This happens when the view is moved into a TabWindowOverlayWindow for
+ // tab dragging.
+ [self windowDidChangeActive];
}
}
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698