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

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

Issue 2175833002: AdjustBoundsToEnsureMinimumWindowVisibility may cause unwanted shift if window dimension is small (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 39519544c8df67a06252595604997d394b10d618..7678f31d0b6fe455451feb576f46d03e649f135e 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -888,6 +888,11 @@ void Browser::UpdateDownloadShelfVisibility(bool visible) {
GetStatusBubble()->UpdateDownloadShelfVisibility(visible);
}
+void Browser::UpdateStatusBubblePosition() {
+ if (GetStatusBubble())
+ GetStatusBubble()->Reposition();
+}
+
///////////////////////////////////////////////////////////////////////////////
void Browser::UpdateUIForNavigationInTab(WebContents* contents,

Powered by Google App Engine
This is Rietveld 408576698