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

Unified Diff: chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_visibility_lock_controller.mm

Issue 2505653003: [Mac[ FullscreenToolbarController Refactor (Closed)
Patch Set: nits Created 4 years, 1 month 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/fullscreen/fullscreen_toolbar_visibility_lock_controller.mm
diff --git a/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_visibility_lock_controller.mm b/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_visibility_lock_controller.mm
index 3b04e622a4ec08a60b2a1c9297903962e3acb9ac..0f9ebf3bd73c05ed3309cbc0fc29a6c6cf89712d 100644
--- a/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_visibility_lock_controller.mm
+++ b/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_visibility_lock_controller.mm
@@ -7,7 +7,7 @@
#include "base/mac/scoped_nsobject.h"
#import "chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_animation_controller.h"
-#import "chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h"
+#import "chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller.h"
@interface FullscreenToolbarVisibilityLockController () {
// Stores the objects that are locking the toolbar visibility.
@@ -57,7 +57,7 @@ initWithFullscreenToolbarController:(FullscreenToolbarController*)owner
if (animate)
animationController_->AnimateToolbarIn();
else
- [owner_ updateToolbar];
+ [owner_ updateToolbarLayout];
}
- (void)releaseToolbarVisibilityForOwner:(id)owner withAnimation:(BOOL)animate {
@@ -69,7 +69,7 @@ initWithFullscreenToolbarController:(FullscreenToolbarController*)owner
if (animate)
animationController_->AnimateToolbarOutIfPossible();
else
- [owner_ updateToolbar];
+ [owner_ updateToolbarLayout];
}
@end

Powered by Google App Engine
This is Rietveld 408576698