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

Unified Diff: chrome/browser/ui/views/status_bubble_views.h

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/views/status_bubble_views.h
diff --git a/chrome/browser/ui/views/status_bubble_views.h b/chrome/browser/ui/views/status_bubble_views.h
index a18136c4fe68da2035dac1da7ed1168aa6471a03..e72b1829afed5bf3681b5ccf2ad52d09ff6067ae 100644
--- a/chrome/browser/ui/views/status_bubble_views.h
+++ b/chrome/browser/ui/views/status_bubble_views.h
@@ -48,15 +48,13 @@ class StatusBubbleViews : public StatusBubble {
// the font and kTotalVerticalPadding.
gfx::Size GetPreferredSize();
- // Calculate and set new position for status bubble.
- void Reposition();
-
// Set bubble to new width.
void SetBubbleWidth(int width);
// Overridden from StatusBubble:
void SetStatus(const base::string16& status) override;
void SetURL(const GURL& url) override;
+ void Reposition() override;
void Hide() override;
void MouseMoved(const gfx::Point& location, bool left_content) override;
void UpdateDownloadShelfVisibility(bool visible) override;

Powered by Google App Engine
This is Rietveld 408576698