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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller_private.mm

Issue 2816743006: [Mac] Fullscreen Touch Bar Support (Closed)
Patch Set: Moved ScopedFeatureList Created 3 years, 8 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/app/generated_resources.grd ('k') | chrome/browser/ui/cocoa/browser_window_touch_bar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_controller_private.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_controller_private.mm b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
index 4936bae19d9419395420a7237dccca59b4383d14..ce0e0446c3d3561feebd38a67b99b96643b5d09e 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller_private.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
@@ -669,6 +669,8 @@ willPositionSheet:(NSWindow*)sheet
[[tabStripController_ activeTabContentsController]
updateFullscreenWidgetFrame];
+ [self invalidateTouchBar];
+
[self showFullscreenExitBubbleIfNecessary];
browser_->WindowFullscreenStateChanged();
@@ -727,6 +729,8 @@ willPositionSheet:(NSWindow*)sheet
[self resetCustomAppKitFullscreenVariables];
+ [self invalidateTouchBar];
+
// Ensures that the permission bubble shows up properly at the front.
PermissionRequestManager* manager = [self permissionRequestManager];
if (manager && manager->IsBubbleVisible()) {
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/cocoa/browser_window_touch_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698