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

Unified Diff: chrome/browser/ui/chrome_bubble_manager.cc

Issue 1488653002: Fix scroll restoration when exiting fullscreen mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Accidentally made will_cause_resize always false in previous cleanup. Fixed Created 4 years, 11 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/chrome_bubble_manager.cc
diff --git a/chrome/browser/ui/chrome_bubble_manager.cc b/chrome/browser/ui/chrome_bubble_manager.cc
index 56b686e10ca1619044bdd2c77c79b9b5bf4a104c..40d08e667490f1a6b4fcc6399def3f07a6bbb9d5 100644
--- a/chrome/browser/ui/chrome_bubble_manager.cc
+++ b/chrome/browser/ui/chrome_bubble_manager.cc
@@ -140,7 +140,7 @@ void ChromeBubbleManager::ActiveTabChanged(content::WebContents* old_contents,
}
void ChromeBubbleManager::DidToggleFullscreenModeForTab(
- bool entered_fullscreen) {
+ bool entered_fullscreen, bool will_cause_resize) {
CloseAllBubbles(BUBBLE_CLOSE_FULLSCREEN_TOGGLED);
// Any bubble that didn't close should update its anchor position.
UpdateAllBubbleAnchors();
« no previous file with comments | « chrome/browser/ui/chrome_bubble_manager.h ('k') | chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698