Commit 25b62769 authored by spqchan's avatar spqchan Committed by Commit Bot

[Mac] Invalidate the Touch Bar for Tab Changes

When the active tab changes, the page might not be get reloaded. As
such, we'll have to invalidate the touch bar when that happens.

Bug: 766969
Change-Id: I6cd9288966d7cd618a38709eb5e2dadcebb1a3c2
Reviewed-on: https://chromium-review.googlesource.com/677481Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
Commit-Queue: Sarah Chan <spqchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#503631}
parent f541145d
...@@ -1080,6 +1080,7 @@ bool IsTabDetachingInFullscreenEnabled() { ...@@ -1080,6 +1080,7 @@ bool IsTabDetachingInFullscreenEnabled() {
[[self fullscreenToolbarController] revealToolbarForWebContents:newContents [[self fullscreenToolbarController] revealToolbarForWebContents:newContents
inForeground:YES]; inForeground:YES];
} }
[self invalidateTouchBar];
} }
- (void)zoomChangedForActiveTab:(BOOL)canShowBubble { - (void)zoomChangedForActiveTab:(BOOL)canShowBubble {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment